7.5High

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

Dana Powers kafka-python; Red Hat Red Hat Quay 3.10; Red Hat Red Hat Quay 3.12; Red Hat Red Hat Quay 3.15 Published: (5 months ago)

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.

Weakness (CWE): CWE-400CWE-606

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
Dana Powers kafka-python —
dpkp kafka-python < 2.3.2
quay 3.10 —
quay 3.12 —
quay 3.15 —
quay 3.16 —
quay 3.9 —
Red Hat Red Hat Quay 3.10 all versions
Red Hat Red Hat Quay 3.12 all versions
Red Hat Red Hat Quay 3.15 all versions
Red Hat Red Hat Quay 3.16 all versions
Red Hat Red Hat Quay 3.9 all versions

References and patches

CPE matches (NVD) (1)

  • cpe:2.3:a:dpkp:kafka-python:*:*:*:*:*:python:*:* < 2.3.2