Dpkp Kafka-Python
CVE-2026-10143
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.
What this means for your business
- It affects Dpkp Kafka-Python. It matters if your company, or a supplier that handles your data, runs it.
- An attacker can use it remotely, over a network, without a login, and without anyone at your company clicking anything.
- FIRST's prediction model gives it a 0.5% chance of attack attempts being seen in the next 30 days, ranking above 42% of all known flaws.
What to do
- 1Check whether your company or your suppliers run Dpkp Kafka-Python, and which version. The affected versions are listed further down this page.
- 2If you do, apply the vendor's fix. A patch or vendor advisory has been published.
Not sure if your company is exposed?
Fastnexa’s certified penetration testers can check whether attackers could use this flaw, or others like it, against your websites, apps and network. The full test is free for our first 10 founding clients until 31 December 2026.
Scoring
- CVSS
- 7.5 (v3.1)
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H- CVSS v4
- 8.7
- Weakness
- CWE-400
- Assigned by
- disclosure@vulncheck.com
Dates
- Published
- 2026-06-10
- Last modified
- 2026-09-10
- Sources
- NVD
Affected products
- Dpkp Kafka-Python- 2.3.2
As listed in the NVD configuration data. Not a statement about your estate.
References
- 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://www.vulncheck.com/advisories/kafka-python-prior-to-dos-via-scram-iteration-count-in-scram-py
- 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
- https://bugzilla.redhat.com/show_bug.cgi?id=2487722
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-10143.json