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 before version 2.3.2 arises from improper validation of the SCRAM iteration count in the process_server_first_message() function. The broker-controlled iteration count is passed directly to the hashlib.pbkdf2_hmac() function without limits, enabling an attacker controlling the broker or positioned as a man-in-the-middle to cause uncontrolled resource consumption. This results in denial-of-service by freezing the client event loop and disrupting Kafka client operations such as producing, consuming, and maintaining group membership.
Potential Impact
This vulnerability can cause denial-of-service conditions for kafka-python clients by freezing the event loop. This disruption affects producer sends, consumer polls, administrative operations, and heartbeat messages. Consequences include consumer group eviction and repeated reconnect failures, which degrade Kafka client availability and reliability. There is no impact on confidentiality or integrity reported.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, users should consider mitigating exposure by avoiding untrusted brokers or man-in-the-middle scenarios in SCRAM authentication. Monitoring for unusual delays or failures in Kafka client operations may help detect exploitation attempts.
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.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in kafka-python before version 2.3.2 arises from improper validation of the SCRAM iteration count in the process_server_first_message() function. The broker-controlled iteration count is passed directly to the hashlib.pbkdf2_hmac() function without limits, enabling an attacker controlling the broker or positioned as a man-in-the-middle to cause uncontrolled resource consumption. This results in denial-of-service by freezing the client event loop and disrupting Kafka client operations such as producing, consuming, and maintaining group membership.
Potential Impact
This vulnerability can cause denial-of-service conditions for kafka-python clients by freezing the event loop. This disruption affects producer sends, consumer polls, administrative operations, and heartbeat messages. Consequences include consumer group eviction and repeated reconnect failures, which degrade Kafka client availability and reliability. There is no impact on confidentiality or integrity reported.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, users should consider mitigating exposure by avoiding untrusted brokers or man-in-the-middle scenarios in SCRAM authentication. Monitoring for unusual delays or failures in Kafka client operations may help detect exploitation attempts.
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
Threat ID: 6a29d0220e53e738839869aa
Added to database: 6/10/2026, 8:59:14 PM
Last enriched: 6/10/2026, 9:15:46 PM
Last updated: 6/10/2026, 11:46:40 PM
Views: 5
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.