CVE-2026-10143
kafka-python prior to 2.3.2 DoS via SCRAM Iteration Count in scram.py
- State
- Published
- Severity
- 8.7 High
- Published
- Jun 10, 2026
- Updated
- Oct 8, 2026
- Reserved
- May 29, 2026
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 8.7 High | 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 | VulnCheck |
| 3.1 | 7.5 High | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | VulnCheck |
| 3.1 | 7.5 High | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | redhat-SADP |
Weaknesses
Affected Products
| Product | Versions |
|---|---|
kafka-pythonDana Powers |
|
References
- https://github.com/dpkp/kafka-python/pull/3019issue-tracking
- https://github.com/dpkp/kafka-python/commit/6e4831444f972d169cdd11f5c8d50333cea3f19bpatch
- https://github.com/dpkp/kafka-python/pull/3026issue-tracking
- https://www.vulncheck.com/advisories/kafka-python-prior-to-dos-via-scram-iteration-count-in-scram-pythird-party-advisory
- https://access.redhat.com/security/cve/CVE-2026-10143vdb-entry
- RHBZ#2487722issue-tracking
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-10143.json
- https://access.redhat.com/errata/RHSA-2026:33683vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:30076vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:42796vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:41066vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:28571vendor-advisory
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.