{"id":"CVE-2026-10143","published":"2026-06-10T20:22:39Z","modified":"2026-11-08T14:00:41Z","title":"kafka-python prior to 2.3.2 DoS via SCRAM Iteration Count in scram.py","vendor":"Dana Powers","product":"kafka-python","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00517,"percentile":0.44892,"provenance":"source"},"cwes":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption"},{"id":"CWE-606","name":"Unchecked Input for Loop Condition"}],"references":[{"url":"https://github.com/dpkp/kafka-python/pull/3019","tags":["issue-tracking","patch"]},{"url":"https://github.com/dpkp/kafka-python/commit/6e4831444f972d169cdd11f5c8d50333cea3f19b","tags":["patch"]},{"url":"https://github.com/dpkp/kafka-python/pull/3026","tags":["issue-tracking","patch"]},{"url":"https://www.vulncheck.com/advisories/kafka-python-prior-to-dos-via-scram-iteration-count-in-scram-py","tags":["third-party-advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-10143","tags":["vdb-entry","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2487722","tags":["issue-tracking","x_refsource_REDHAT"]},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-10143.json","tags":["x_sadp-csaf-vex"]},{"url":"https://access.redhat.com/errata/RHSA-2026:33683","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:30076","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:42796","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:41066","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:28571","tags":["vendor-advisory","x_refsource_REDHAT"]}],"priority":{"score":14.2,"factors":[{"name":"EPSS percentile","points":8.98},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"dana-powers","affectedVersions":[{"vendor":"Dana Powers","product":"kafka-python","versions":["< 2.3.2"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-06-11T13:10:04.299411Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"kafka-python","vulnerableRanges":["<2.3.2"],"patched":["2.3.2"],"from":["GHSA-2jcm-hq8r-84wx","PYSEC-2026-2191"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-36128","exploited":false,"provenance":"source"}}