{"affected":[{"defaultStatus":"unknown","ecosystem":"pypi","packageName":"kafka-python","product":"kafka-python","source":"CNA: VulnCheck","vendor":"Dana Powers","versions":[{"lessThan":"2.3.2","status":"affected","version":"0","versionType":"git"}]}],"cveId":"CVE-2026-10142","cwes":["CWE-789"],"description":"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.","epss":{"date":"2026-11-08","percentile":0.28548,"score":0.00348},"exploits":[],"kev":null,"metrics":[{"score":7.5,"severity":"high","source":"CNA: VulnCheck","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},{"score":8.7,"severity":"high","source":"CNA: VulnCheck","vector":"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","version":"4.0"}],"modifiedAt":1794146441132,"publishedAt":1781122391286,"references":[{"source":"CNA: VulnCheck","tags":["technical-description","third-party-advisory"],"url":"https://www.vulncheck.com/advisories/kafka-python-prior-to-denial-of-service-via-protocol-parser-frame-length"},{"source":"CNA: VulnCheck","tags":["issue-tracking","patch"],"url":"https://github.com/dpkp/kafka-python/pull/3019"},{"source":"CNA: VulnCheck","tags":["issue-tracking","patch"],"url":"https://github.com/dpkp/kafka-python/pull/3026"},{"source":"CNA: VulnCheck","tags":["patch"],"url":"https://github.com/dpkp/kafka-python/commit/6e4831444f972d169cdd11f5c8d50333cea3f19b"}],"remediation":[{"kind":"fix","source":"CNA: VulnCheck","text":"The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches.","url":"https://github.com/dpkp/kafka-python/pull/3019"},{"kind":"fix","source":"CNA: VulnCheck","text":"The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches.","url":"https://github.com/dpkp/kafka-python/pull/3026"},{"kind":"fix","source":"CNA: VulnCheck","text":"The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches.","url":"https://github.com/dpkp/kafka-python/commit/6e4831444f972d169cdd11f5c8d50333cea3f19b"}],"revision":"1d7ac9002465e90b3ec920d148e63435fbe7bd44346048dce8d3b915ee6d372f","sources":[{"modifiedAt":1794146441132,"name":"CNA: VulnCheck","retrievedAt":1794147001794,"url":"https://www.cve.org/CVERecord?id=CVE-2026-10142"},{"modifiedAt":null,"name":"FIRST EPSS","retrievedAt":1794150618354,"url":"https://api.first.org/data/v1/epss?cve=CVE-2026-10142"}],"ssvc":{"assessedAt":1781187168592,"automatable":"yes","exploitation":"none","source":"ADP: CISA-ADP","technicalImpact":"partial"},"status":"published","title":"kafka-python prior to 2.3.2 Denial of Service via Protocol Parser Frame Length","updatedAt":1794150618354}