NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · PyPI

CVE-2026-10143: kafka-python vulnerable to denial of service through an unbounded SCRAM iteration count

highCVSS 4.0 8.7 · 3.1 7.5GHSA-2jcm-hq8r-84wx

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.

Published Jun 11, 2026 · Updated Sep 1, 2026

Affected packages

kafka-python

Ecosystem
PyPI
Affected
< 2.3.2
Fixed in
2.3.2
Check
pip show kafka-python

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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.

Credited to hahwul.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More PyPI vulnerabilities

All PyPI entries