Skip to main content
← All vulnerabilities
CVE-2026-10143PYSEC-2026-2191GHSA-2JCM-HQ8R-84WX

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.3.2
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • Dana Powers kafka-python

    fixed in 2.3.2

  • kafka-pythonPyPI

    fixed in 2.3.2

References 4

GitHub · dpkp/kafka-python

vulncheck.com