{"id":"CVE-2026-10142","published":"2026-06-10T20:13:11Z","modified":"2026-11-08T14:00:41Z","title":"kafka-python prior to 2.3.2 Denial of Service via Protocol Parser Frame Length","vendor":"Dana Powers","product":"kafka-python","tier":"tail","description":{"text":"kafka-python prior to 2.3.2 contains a denial-of-service vulnerability in the protocol parser that allows a malicious broker or machine-in-the-middle attacker to exhaust memory or hang connections by sending a crafted 4-byte frame length value without bounds validation. Attackers can send a specially crafted frame length through the receive_bytes() function to trigger either a multi-gigabyte memory allocation or an uncaught ValueError that leaves the connection in a broken state, causing requests to hang and consumers to stop heartbeating until restart.","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.00348,"percentile":0.291,"provenance":"source"},"cwes":[{"id":"CWE-789","name":"Memory Allocation with Excessive Size Value"}],"references":[{"url":"https://www.vulncheck.com/advisories/kafka-python-prior-to-denial-of-service-via-protocol-parser-frame-length","tags":["technical-description","third-party-advisory"]},{"url":"https://github.com/dpkp/kafka-python/pull/3019","tags":["issue-tracking","patch"]},{"url":"https://github.com/dpkp/kafka-python/pull/3026","tags":["issue-tracking","patch"]},{"url":"https://github.com/dpkp/kafka-python/commit/6e4831444f972d169cdd11f5c8d50333cea3f19b","tags":["patch"]}],"priority":{"score":11.1,"factors":[{"name":"EPSS percentile","points":5.82},{"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-11T14:12:48.592271Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"kafka-python","vulnerableRanges":["<2.3.2"],"patched":["2.3.2"],"from":["GHSA-m3px-q5gj-j9x7","PYSEC-2026-2190"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-36123","exploited":false,"provenance":"source"}}