CVE-2026-10143

NameCVE-2026-10143
Descriptionkafka-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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs1139822

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
python-kafka (PTS)bullseye2.0.1-2vulnerable
bookworm2.0.2-3vulnerable
trixie2.0.2-9vulnerable
forky, sid2.0.2-12fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
python-kafkasource(unstable)2.0.2-121139822

Notes

[trixie] - python-kafka <no-dsa> (Minor issue)
https://bugzilla.redhat.com/show_bug.cgi?id=2487722
https://github.com/dpkp/kafka-python/pull/3019
https://github.com/dpkp/kafka-python/pull/3026
Fixed by: https://github.com/dpkp/kafka-python/commit/6e4831444f972d169cdd11f5c8d50333cea3f19b (3.0.0)

Search for package or bug name: Reporting problems