Back

HIGH

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

Published Jun 10, 2026

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 products

Remediation

Red Hat mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

References (19)

Change history (0)

No recorded changes yet.

Sources
CVE.org / MITRE
Status PUBLISHED
Assigner VulnCheck
Published Jun 10, 2026
Updated Sep 10, 2026
Reserved May 29, 2026
CISA Vulnrichment
Updated Jun 11, 2026
NVD
Status Modified
Modified Sep 10, 2026
Red Hat
Severity Important
Public date Jun 10, 2026
ENISA EUVD
Assigner VulnCheck
Published Jun 10, 2026
Updated Sep 10, 2026
Exploited since n/a
EUVD-2026-36128 GHSA-2JCM-HQ8R-84WX