{"id":"DEBIAN-CVE-2026-10142","details":"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.","modified":"2026-09-23T04:00:06.669922529Z","published":"2026-06-10T22:16:55.350Z","upstream":["CVE-2026-10142"],"references":[{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2026-10142"}],"affected":[{"package":{"name":"python-kafka","ecosystem":"Debian:12","purl":"pkg:deb/debian/python-kafka?arch=source&distro=bookworm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.0.2-10","2.0.2-11","2.0.2-12","2.0.2-13","2.0.2-3","2.0.2-4","2.0.2-5","2.0.2-6","2.0.2-7","2.0.2-8","2.0.2-9"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-10142.json"}},{"package":{"name":"python-kafka","ecosystem":"Debian:13","purl":"pkg:deb/debian/python-kafka?arch=source&distro=trixie"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.0.2-10","2.0.2-11","2.0.2-12","2.0.2-13","2.0.2-9"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-10142.json"}},{"package":{"name":"python-kafka","ecosystem":"Debian:14","purl":"pkg:deb/debian/python-kafka?arch=source&distro=forky"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.2-13"}]}],"versions":["2.0.2-10","2.0.2-11","2.0.2-12","2.0.2-9"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-10142.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X"}]}