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
CVE-2026-10143 is a denial-of-service vulnerability in kafka-python before version 2.3.2 related to SCRAM authentication handling. The vulnerability arises because the ScramClient.process_server_first_message() method passes the broker-controlled SCRAM iteration count directly to the hashlib.pbkdf2_hmac() function without validating its size. An attacker controlling or intercepting the broker can supply an excessively large iteration count, causing the client to spend excessive time computing the hash, effectively freezing the event loop. This impacts multiple client operations including producing, consuming, admin tasks, and heartbeats, which can result in consumer group eviction and repeated reconnect attempts.
Potential Impact
The vulnerability causes a denial-of-service condition by freezing the kafka-python client event loop. This disrupts normal client operations such as sending messages, polling for messages, performing administrative operations, and maintaining heartbeats. The disruption can lead to consumer group eviction and repeated reconnect failures, impacting availability of Kafka clients using affected versions.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. The affected versions are kafka-python prior to 2.3.2. Users should upgrade to version 2.3.2 or later once available. Until a patch is confirmed, avoid connecting to untrusted brokers or networks where a man-in-the-middle could manipulate SCRAM iteration counts.
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
CVE-2026-10143 is a denial-of-service vulnerability in kafka-python before version 2.3.2 related to SCRAM authentication handling. The vulnerability arises because the ScramClient.process_server_first_message() method passes the broker-controlled SCRAM iteration count directly to the hashlib.pbkdf2_hmac() function without validating its size. An attacker controlling or intercepting the broker can supply an excessively large iteration count, causing the client to spend excessive time computing the hash, effectively freezing the event loop. This impacts multiple client operations including producing, consuming, admin tasks, and heartbeats, which can result in consumer group eviction and repeated reconnect attempts.
Potential Impact
The vulnerability causes a denial-of-service condition by freezing the kafka-python client event loop. This disrupts normal client operations such as sending messages, polling for messages, performing administrative operations, and maintaining heartbeats. The disruption can lead to consumer group eviction and repeated reconnect failures, impacting availability of Kafka clients using affected versions.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. The affected versions are kafka-python prior to 2.3.2. Users should upgrade to version 2.3.2 or later once available. Until a patch is confirmed, avoid connecting to untrusted brokers or networks where a man-in-the-middle could manipulate SCRAM iteration counts.
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: 07/15/2026, 08:26:00 UTC
Last updated: 07/19/2026, 19:43:04 UTC
Views: 37
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.