CVE Catalog

CVE-2026-10143

HighCVSS 7.5
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.52%

42th percentile - higher than 42% of all known CVEs

Summary

The kafka-python library before version 2.3.2 contains a denial-of-service vulnerability in SCRAM authentication handling. A malicious broker can supply an excessively large iteration count, freezing the client event loop and preventing message sending, receiving, admin operations, and heartbeats.

Risk Assessment

A malicious broker can cause the Kafka client to hang, leading to consumer group eviction and repeated connection failures, disrupting application functionality.

Recommendation

Update kafka-python to version 2.3.2 or later. In the meantime, use only trusted Kafka brokers and monitor SCRAM iteration values.

Other vulnerabilities in kafka-python

Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS