{"document":{"category":"csaf_vex","csaf_version":"2.0","title":"CVE-2026-10142: kafka-python prior to 2.3.2 Denial of Service via Protocol Parser Frame Length","publisher":{"category":"vendor","name":"HarborGuard Database","namespace":"https://database.harborguard.co"},"tracking":{"id":"CVE-2026-10142","status":"final","version":"1","initial_release_date":"2026-06-10T20:13:11.286Z","current_release_date":"2026-06-11T14:13:01.933Z","revision_history":[{"date":"2026-06-10T20:13:11.286Z","number":"1","summary":"Initial machine-readable export from HarborGuard."}]},"distribution":{"tlp":{"label":"WHITE"},"text":"Public CVE data; freely redistributable."},"notes":[{"category":"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.","title":"CVE description"}],"references":[{"category":"self","summary":"CVE-2026-10142 on HarborGuard Database","url":"https://database.harborguard.co/cve/CVE-2026-10142"},{"category":"external","summary":"CVE Record","url":"https://www.cve.org/CVERecord?id=CVE-2026-10142"},{"category":"external","summary":"vulncheck.com","url":"https://www.vulncheck.com/advisories/kafka-python-prior-to-denial-of-service-via-protocol-parser-frame-length"},{"category":"external","summary":"github.com","url":"https://github.com/dpkp/kafka-python/pull/3019"},{"category":"external","summary":"github.com","url":"https://github.com/dpkp/kafka-python/pull/3026"},{"category":"external","summary":"github.com","url":"https://github.com/dpkp/kafka-python/commit/6e4831444f972d169cdd11f5c8d50333cea3f19b"}]},"product_tree":{"branches":[{"category":"vendor","name":"Dana Powers","branches":[{"category":"product_name","name":"kafka-python","branches":[{"category":"product_version_range","name":"<2.3.2","product":{"name":"Dana Powers kafka-python <2.3.2","product_id":"CSAFPID-1","product_identification_helper":{"cpe":"cpe:2.3:a:dana_powers:kafka-python:*:*:*:*:*:*:*:*"}}}]}]}]},"vulnerabilities":[{"cve":"CVE-2026-10142","title":"kafka-python prior to 2.3.2 Denial of Service via Protocol Parser Frame Length","notes":[{"category":"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.","title":"CVE description"}],"product_status":{"known_affected":["CSAFPID-1"]},"scores":[{"cvss_v4":{"version":"4.0","vectorString":"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","baseScore":8.7,"baseSeverity":"HIGH"},"products":["CSAFPID-1"]}],"remediations":[{"category":"vendor_fix","details":"Update to a fixed version: 2.3.2.","product_ids":["CSAFPID-1"],"url":"https://github.com/dpkp/kafka-python/commit/6e4831444f972d169cdd11f5c8d50333cea3f19b"}]}]}