Read the docs
TI-2026-08886 Aliases CVE-2026-10142GHSA-m3px-q5gj-j9x7

kafka-python prior to 2.3.2 Denial of Service via Protocol Parser Frame Length

Priority MEDIUM 44CWE-789Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Attack requirements
None
Impact type
Denial of service
Confidentiality · integrity · availability
None · None · High
Fix status
Partial Red Hat: 1 without a fix

Attack profile from CVSS 4.0 · CNA. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-789.

Summary

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00348 28th percentileScored 2026-11-07
Fix Partial kafka-python (PyPI): 2.3.2Red Hat: 1 without a fix

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
Yes
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
—kafka-python (PyPI)before 2.3.22.3.2Patch availableGHSA-m3px-q5gj-j9x7
  • kafka-python (PyPI) Vendor— Affected before 2.3.2 Fixed in 2.3.2 Patch available GHSA-m3px-q5gj-j9x7

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:dpkp:kafka-python:*:*:*:*:*:python:*:*before 2.3.2VulnerableDpkp
  • cpe:2.3:a:dpkp:kafka-python:*:*:*:*:*:python:*:* Versions before 2.3.2 Vulnerable ·Dpkp

Remediation

  • Fix · GHSA-m3px-q5gj-j9x7 kafka-python (PyPI) Fixed in 2.3.2 Advisory →

Fixed in the same release

Records fixed by the same vendor advisory or release, as the CNA lists them.

  • Release ·

    Dana Powers kafka-python 2.3.2

    2 records Highest priority Priority MEDIUM 2 MEDIUM

    Other records, highest priority first

    • TI-2026-08887 kafka-python prior to 2.3.2 DoS via SCRAM Iteration Count in scram.pyPriority MEDIUM 44

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Quay 3AffectedNo fix yet: Fix deferred

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-10142
  2. 2026-10-03 Alias added: GHSA-m3px-q5gj-j9x7

References

  • TI-2026-08887 kafka-python prior to 2.3.2 DoS via SCRAM Iteration Count in scram.py CVSS 4.0HIGH 8.7

Sources