Vulnerability · Published Jun 10, 2026 · Assigned by VulnCheck

CVE-2026-10143kafka-python prior to 2.3.2 DoS via SCRAM Iteration Count in scram.py

High 7.5

In plain English

A high-severity uncontrolled resource consumption in kafka-python from Dana Powers. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 44% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.5High
Exploit odds (30 days)0.5%top 55.8% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12python-kafkano fix listedDEBIAN-CVE-2026-10143
Debian:13python-kafkano fix listedDEBIAN-CVE-2026-10143
Debian:14python-kafka2.0.2-12DEBIAN-CVE-2026-10143
PyPIkafka-python2.3.2GHSA-2jcm-hq8r-84wx
PyPIkafka-python2.3.2PYSEC-2026-2191
Ubuntu:22.04:LTSpython-kafkano fix listedUBUNTU-CVE-2026-10143
Ubuntu:24.04:LTSpython-kafkano fix listedUBUNTU-CVE-2026-10143
Ubuntu:25.10python-kafkano fix listedUBUNTU-CVE-2026-10143
Ubuntu:26.04:LTSpython-kafkano fix listedUBUNTU-CVE-2026-10143
Ubuntu:26.10python-kafkano fix listedUBUNTU-CVE-2026-10143

Affected products (as reported)

VendorProductVersions
Dana Powers kafka-python 0 – before 2.3.2

Weakness: CWE-400, CWE-606 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

References