CVE-2026-35554
Apache Kafka Clients: Kafka Producer Message Corruption and Misrouting via Buffer Pool Race Condition
Also known as GHSA-5qcv-4rpc-jp93
Mitigation
- Upgrade org.apache.kafka:kafka-clients to one of 3.9.2, 4.0.2, 4.1.2 (or later in the same release line).
Who should check
- Projects that depend on Maven package org.apache.kafka:kafka-clients (>= 2.8.0, < 3.9.2)
- Anyone running Apache Software Foundation Apache Kafka Clients >= 2.8.0, <= 3.9.1; >= 4.0.0, <= 4.0.1; >= 4.1.0, <= 4.1.1
Vulnerability facts
- Affected
- org.apache.kafka:kafka-clients >= 2.8.0, < 3.9.2
- Fixed in
- 3.9.2, 4.0.2, 4.1.2
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 8.7 (v3.1, CNA)CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: High
- Privileges required: None
- User interaction: None
- Scope: Changed (impact reaches other components)
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: None
- EPSS
- 0.67% chance of exploitation in 30 days (percentile 47, 2026-11-26)
- CWE
- CWE-416, CWE-362
- Modified
Description
A race condition in the Apache Kafka Java producer client’s buffer pool management can cause messages to be silently delivered to incorrect topics. When a produce batch expires due to delivery.timeout.ms while a network request containing that batch is still in flight, the batch’s ByteBuffer is prematurely deallocated and returned to the buffer pool. If a subsequent producer batch—potentially destined for a different topic—reuses this freed buffer before the original network request completes, the buffer contents may become corrupted. This can result in messages being delivered to unintended topics without any error being reported to the producer. Data Confidentiality: Messages intended for one topic may be delivered to a different topic, potentially exposing sensitive data to consumers who have access to the destination topic but not the intended source topic. Data Integrity: Consumers on the receiving topic may encounter unexpected or incompatible messages, leading to deserialization failures, processing errors, and corrupted downstream data. This issue affects Apache Kafka versions ≤ 3.9.1, ≤ 4.0.1, and ≤ 4.1.1. Kafka users are advised to upgrade to 3.9.2, 4.0.2, 4.1.2, 4.2.0, or later to address this vulnerability.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Maven org.apache.kafka:kafka-clients | >= 2.8.0, < 3.9.2 | 3.9.2, 4.0.2, 4.1.2 | osv |
| Apache Software Foundation Apache Kafka Clients | >= 2.8.0, <= 3.9.1; >= 4.0.0, <= 4.0.1; >= 4.1.0, <= 4.1.1 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-35554. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-35554.md Affected: org.apache.kafka:kafka-clients >= 2.8.0, < 3.9.2 Fixed in: 3.9.2, 4.0.2, 4.1.2 Steps: 1. Search this machine and project for org.apache.kafka:kafka-clients (Maven), Apache Software Foundation Apache Kafka Clients: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
Patches
FAQ
Is CVE-2026-35554 being exploited?
There is no confirmed exploitation: CVE-2026-35554 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.67% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-35554?
High: CVSS 8.7 (v3.1, scored by CNA). Remote, no login needed. The attack needs conditions outside the attacker's control, which makes it harder.
Which versions are affected by CVE-2026-35554?
org.apache.kafka:kafka-clients >= 2.8.0, < 3.9.2.
Is there a fix for CVE-2026-35554?
Yes. Fixed in 3.9.2, 4.0.2, 4.1.2. Upgrade org.apache.kafka:kafka-clients to one of 3.9.2, 4.0.2, 4.1.2 (or later in the same release line).
How do I check if I'm affected by CVE-2026-35554?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.