CVE-2026-10143
published high CVSS 4.0 · 8.7kafka-python prior to 2.3.2 DoS via SCRAM Iteration Count in scram.py
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Dana Powers | — | kafka-python0 to < 2.3.2 · Other versions: unknown | Affected | Not stated | VulnCheck |
| Red Hat | — | quay/quay-rhel8Red Hat Quay 3.10 · 1782487717 and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
| Red Hat | — | quay/quay-rhel8Red Hat Quay 3.12 · 1781937357 and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
| Red Hat | — | quay/quay-rhel8Red Hat Quay 3.15 · 1784351966 and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
| Red Hat | — | quay/quay-rhel9Red Hat Quay 3.16 · 1783955846 and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
| Red Hat | — | quay/quay-rhel8Red Hat Quay 3.9 · 1781878070 and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
Description
kafka-python prior to 2.3.2 contains a denial-of-service vulnerability in SCRAM authentication handling that allows a malicious or machine-in-the-middle broker to freeze the client event loop by supplying an excessively large iteration count. In scram.py, ScramClient.process_server_first_message() passes the broker-controlled SCRAM iteration count directly to hashlib.pbkdf2_hmac() without validation, blocking producer sends, consumer polls, admin operations, and heartbeats, which can cause consumer group eviction and repeated reconnect failures.
A flaw was found in kafka-python. A malicious or machine-in-the-middle broker could exploit a denial-of-service vulnerability during SCRAM authentication. By providing an excessively large iteration count, the broker can cause the client's event loop to freeze. This prevents critical operations such as sending messages, polling for new messages, and maintaining heartbeats, ultimately leading to consumer group eviction and persistent connection failures.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.7 / 10
- Severity
- high
- Provider
- VulnCheck · cna
- Vector string
- CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
- Scenarios
- en: GENERAL
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 7.5 | high | VulnCheck · cna | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | en: GENERAL |
| 3.1 | 7.5 | high | redhat-SADP · adp | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Dana Powers | kafka-python | 0 to < 2.3.2 (affected · git)Default: unknown | VulnCheck · cna |
| Red Hat | Red Hat Quay 3.10 | 1782487717 and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat Quay 3.12 | 1781937357 and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat Quay 3.15 | 1784351966 and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat Quay 3.16 | 1783955846 and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat Quay 3.9 | 1781878070 and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
Weaknesses
2- CWE-400 CWE-400 Uncontrolled Resource Consumption
- CWE-606 Unchecked Input for Loop Condition
References
12- https://access.redhat.com/errata/RHSA-2026:28571
- https://access.redhat.com/errata/RHSA-2026:30076
- https://access.redhat.com/errata/RHSA-2026:33683
- https://access.redhat.com/errata/RHSA-2026:41066
- https://access.redhat.com/errata/RHSA-2026:42796
- https://access.redhat.com/security/cve/CVE-2026-10143
- RHBZ#2487722 https://bugzilla.redhat.com/show_bug.cgi?id=2487722
- https://github.com/dpkp/kafka-python/commit/6e4831444f972d169cdd11f5c8d50333cea3f19b
- https://github.com/dpkp/kafka-python/pull/3019
- https://github.com/dpkp/kafka-python/pull/3026
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-10143.json
- https://www.vulncheck.com/advisories/kafka-python-prior-to-dos-via-scram-iteration-count-in-scram-py
Provider assertions
3VulnCheck · cna
kafka-python prior to 2.3.2 DoS via SCRAM Iteration Count in scram.py
redhat-SADP · adp
kafka-python: kafka-python: Denial of Service via excessive SCRAM authentication iteration count
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- ad70c994650d33659bfb9ffae01d7e723764cd508cf58c30ab2d94c131a27e82
- Ingested
- 08 Nov 2026, 14:03:33 UTC
- Source record
- Official CVE record