{
  "id": "CVE-2026-10142",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-10142",
  "published_at": "2026-06-10T20:13:11.286Z",
  "title": "kafka-python prior to 2.3.2 Denial of Service via Protocol Parser Frame Length",
  "vendor": "Dana Powers",
  "product": "kafka-python",
  "cvss": {
    "score": 8.7,
    "source": "cna",
    "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"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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.",
  "cwe": "CWE-789",
  "cpes": [
    "cpe:2.3:a:dpkp:kafka-python:*:*:*:*:*:python:*:*"
  ],
  "cvss_by_source": {
    "cna": 8.7
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Dana Powers",
        "product": "kafka-python",
        "ranges": [
          "\u003c 2.3.2"
        ],
        "fixed_in": [
          "2.3.2"
        ]
      }
    ],
    "upgrade": [
      "Upgrade kafka-python to 2.3.2 or later."
    ],
    "references": [
      {
        "kind": "Patch",
        "url": "https://github.com/dpkp/kafka-python/pull/3019"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/dpkp/kafka-python/pull/3026"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/dpkp/kafka-python/commit/6e4831444f972d169cdd11f5c8d50333cea3f19b"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
