CVE-2026-10143: CWE-400 Uncontrolled Resource Consumption in Dana Powers kafka-python
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.
AI Analysis
Technical Summary
The vulnerability in kafka-python (CVE-2026-10143) arises from the lack of validation of the SCRAM iteration count supplied by the broker during authentication. Specifically, the iteration count is passed unchecked to the hashlib.pbkdf2_hmac() function in scram.py, allowing a malicious or man-in-the-middle broker to specify an excessively large iteration count. This causes the client's event loop to freeze, resulting in denial of service by blocking producer sends, consumer polls, admin operations, and heartbeats. The issue affects kafka-python versions prior to 2.3.2. Red Hat's advisory confirms the vulnerability and notes that no effective mitigation or fix meeting their criteria is currently available.
Potential Impact
The vulnerability causes a denial-of-service condition by freezing the kafka-python client's event loop during SCRAM authentication. This prevents normal client operations such as message sending, polling for messages, administrative tasks, and heartbeat maintenance. The resulting disruption can lead to consumer group eviction and persistent connection failures, impacting availability of Kafka clients using affected versions.
Mitigation Recommendations
According to the Red Hat advisory, no mitigation or fix meeting their criteria for ease of use, deployment, applicability, or stability is currently available. Users are advised to upgrade to kafka-python version 2.3.2 or later where the issue is fixed. Until then, no effective mitigation is provided by the vendor or Red Hat.
CVE-2026-10143: CWE-400 Uncontrolled Resource Consumption in Dana Powers kafka-python
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.
CVSS v3.1
Score 7.5high
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in kafka-python (CVE-2026-10143) arises from the lack of validation of the SCRAM iteration count supplied by the broker during authentication. Specifically, the iteration count is passed unchecked to the hashlib.pbkdf2_hmac() function in scram.py, allowing a malicious or man-in-the-middle broker to specify an excessively large iteration count. This causes the client's event loop to freeze, resulting in denial of service by blocking producer sends, consumer polls, admin operations, and heartbeats. The issue affects kafka-python versions prior to 2.3.2. Red Hat's advisory confirms the vulnerability and notes that no effective mitigation or fix meeting their criteria is currently available.
Potential Impact
The vulnerability causes a denial-of-service condition by freezing the kafka-python client's event loop during SCRAM authentication. This prevents normal client operations such as message sending, polling for messages, administrative tasks, and heartbeat maintenance. The resulting disruption can lead to consumer group eviction and persistent connection failures, impacting availability of Kafka clients using affected versions.
Mitigation Recommendations
According to the Red Hat advisory, no mitigation or fix meeting their criteria for ease of use, deployment, applicability, or stability is currently available. Users are advised to upgrade to kafka-python version 2.3.2 or later where the issue is fixed. Until then, no effective mitigation is provided by the vendor or Red Hat.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-05-29T21:38:34.147Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
- Vendor Advisory Urls
- [{"url":"https://access.redhat.com/security/cve/CVE-2026-10143","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:30076","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:28571","vendor":"Red Hat"}]
Threat ID: 6a29d0220e53e738839869aa
Added to database: 06/10/2026, 20:59:14 UTC
Last enriched: 08/11/2026, 17:01:53 UTC
Last updated: 09/06/2026, 22:52:08 UTC
Views: 78
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.