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 improper validation of the SCRAM iteration count in the SCRAM authentication process. Specifically, the ScramClient.process_server_first_message() method passes the broker-controlled iteration count directly to the hashlib.pbkdf2_hmac() function without validation. An attacker controlling or intercepting the broker can supply an excessively large iteration count, causing uncontrolled resource consumption that freezes the client event loop. This denial-of-service condition affects multiple client operations including producing, consuming, admin tasks, and heartbeat signals, which can disrupt consumer group stability and cause repeated reconnection attempts.
Potential Impact
This vulnerability results in a denial-of-service condition for kafka-python clients using SCRAM authentication. The client event loop can be frozen, blocking critical operations such as sending messages, polling consumers, performing admin operations, and sending heartbeats. This can cause consumer group eviction and repeated reconnect failures, impacting availability of Kafka clients relying on vulnerable versions.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. The Red Hat advisories linked do not explicitly confirm a fix for kafka-python itself but provide related errata for Red Hat products. Users should monitor the official kafka-python project and vendor advisories for an official fix or update to version 2.3.2 or later. Until a fix is applied, avoid connecting to untrusted brokers or networks where a malicious broker could exploit this vulnerability.
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 improper validation of the SCRAM iteration count in the SCRAM authentication process. Specifically, the ScramClient.process_server_first_message() method passes the broker-controlled iteration count directly to the hashlib.pbkdf2_hmac() function without validation. An attacker controlling or intercepting the broker can supply an excessively large iteration count, causing uncontrolled resource consumption that freezes the client event loop. This denial-of-service condition affects multiple client operations including producing, consuming, admin tasks, and heartbeat signals, which can disrupt consumer group stability and cause repeated reconnection attempts.
Potential Impact
This vulnerability results in a denial-of-service condition for kafka-python clients using SCRAM authentication. The client event loop can be frozen, blocking critical operations such as sending messages, polling consumers, performing admin operations, and sending heartbeats. This can cause consumer group eviction and repeated reconnect failures, impacting availability of Kafka clients relying on vulnerable versions.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. The Red Hat advisories linked do not explicitly confirm a fix for kafka-python itself but provide related errata for Red Hat products. Users should monitor the official kafka-python project and vendor advisories for an official fix or update to version 2.3.2 or later. Until a fix is applied, avoid connecting to untrusted brokers or networks where a malicious broker could exploit this vulnerability.
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/22/2026, 21:52:50 UTC
Last updated: 07/24/2026, 08:52:02 UTC
Views: 39
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.