Your RSA-2048 keys break in 2030. Find every one of them before attackers do.
🐍 PyPI
Not in CISA KEV

CVE-2026-10143 — kafka-python

Fix: dpkp/kafka-python@6e48314

CVE-2026-10143 is a Uncontrolled Resource Consumption vulnerability in kafka-python. A fix is available for kafka-python — see the affected versions and patch details below.

kafka-python prior to 2.3.2 DoS via SCRAM Iteration Count in scram.py

Also known asGHSA-2jcm-hq8r-84wxPYSEC-2026-2191
Published
Updated
Affected
1 pkg
Patched
1 / 1
Exploits
None indexed
Exploitation data as of Oct 16, 2026 · OSV.dev, NVD, FIRST.org (EPSS)

Exploitation Status

No confirmed exploitation observed yet

  • CISA assesses this as automatable — exploitation doesn’t require manual, per-target effort, which raises the odds of mass scanning and opportunistic attacks.
  • CISA’s own triage has not observed active exploitation or public proof-of-concept code for this CVE as of its last assessment.

Exploitation and automatability from CISA’s SSVC triage for CVE-2026-10143.

EPSS Exploitation Probability

via FIRST.org ↗
0.5%probability of exploitation in next 30 days
Lower Risk0.00%
Lower risk than most CVEs43th percentile — riskier than 43% of all scored CVEsHighest risk
0.00%0.34%0.68%1.02%0.5%0.5%0.5%0.5%0.5%Jul 26Sep 26Oct 26

Probability of exploitation in the next 30 days, from FIRST.org EPSS.

Real-World Exposure

1 pkg affected
🐍kafka-python

Real-time download stats are indexed for npm and PyPI packages. This vulnerability affects PyPI packages — download data is not available via public APIs for these ecosystems.

Description

kafka-python prior to 2.3.2 contains a denial-of-service vulnerability in SCRAM authentication handling that allows a malicious or machine-in-the-middle broker to freeze the client event loop by supplying an excessively large iteration count. In scram.py, ScramClient.process_server_first_message() passes the broker-controlled SCRAM iteration count directly to hashlib.pbkdf2_hmac() without validation, blocking producer sends, consumer polls, admin operations, and heartbeats, which can cause consumer group eviction and repeated reconnect failures.

Affected Packages

1 total 1 fixed
EcosystemPackageVulnerable rangeFix
🐍PyPIkafka-pythonall versions2.3.2pip install --upgrade 'kafka-python==2.3.2'

Affected Products

1 product · 1 configurations
Application
kafka-pythondpkp
< 2.3.2
range

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for kafka-python, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.

  2. Fix

    Update kafka-python to 2.3.2 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2026-10143 is resolved across your whole dependency graph.

  3. Workarounds

    Cap what an attacker can consume: apply request size, rate and timeout limits in front of the affected component, and run it with memory and CPU limits so exhaustion degrades one worker rather than the whole service.

Fixing This On Your OS

If you run this on a Linux distribution, patch through your package manager against the distro's own security advisory below — it tracks the exact backported fix for your release, which can ship on a different timeline (and sometimes a different severity) than the upstream project.

Red HatImportant
Workaround published by Red Hat
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
Source: Red Hat security advisory for CVE-2026-10143 (CC BY 4.0)
ProductFixed inAdvisory
Red Hat Quay 3.10quay/quay-rhel8:1782487717RHSA-2026:33683
Red Hat Quay 3.12quay/quay-rhel8:1781937357RHSA-2026:30076
Red Hat Quay 3.14quay/quay-rhel8:1788593843RHSA-2026:70267
Red Hat Quay 3.15quay/quay-rhel8:1784351966RHSA-2026:42796
Red Hat Quay 3.16quay/quay-rhel9:1783955846RHSA-2026:41066
Red Hat Quay 3.17quay/quay-rhel9:1786181981RHSA-2026:54395
Red Hat Quay 3.9quay/quay-rhel8:1781878070RHSA-2026:28571

Frequently Asked Questions

kafka-python prior to 2.3.2 contains a denial-of-service vulnerability in SCRAM authentication handling that allows a malicious or machine-in-the-middle broker to freeze the client event loop by supplying an excessively large iteration count. In scram.py, ScramClient.process_server_first_message() passes the broker-controlled SCRAM iteration count directly to hashlib.pbkdf2_hmac() without validation, blocking producer sends, consumer polls, admin operations, and heartbeats, which can cause consumer group eviction and repeated reconnect failures.
O3 Security · Impact-Aware SCA

Is CVE-2026-10143 in your dependencies?

Find it across PyPI, including transitive dependencies.

CVE-2026-10143: kafka-python — Fixed in 2.3.2