# CVE-2026-35554: Apache Kafka Clients: Kafka Producer Message Corruption and Misrouting via Buffer Pool Race Condition

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 8.7
- **CVSS:** 8.7 (v3.1, CNA) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:N`
- **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
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.67% (percentile 47, 2026-11-26)
- **CWE:** CWE-416, CWE-362
- **Aliases:** GHSA-5qcv-4rpc-jp93
- **Published:** 2026-04-07T13:07:08.679Z
- **Modified:** 2026-10-26T21:10:00.170Z

## 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

## 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

- Maven `org.apache.kafka:kafka-clients`: affected \>= 2.8.0, \< 3.9.2; fixed 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)

## 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).

## Check your systems with an agent

Paste this into a coding agent:

```text
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.
```

## 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.

## References

- vendor: <https://lists.apache.org/thread/f07x7j8ovyqhjd1to25jsnqbm6wj01d6>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2026-35554>
- patch: <https://github.com/apache/kafka/pull/21065>
- patch: <https://github.com/apache/kafka/pull/21285>
- patch: <https://github.com/apache/kafka/pull/21286>
- patch: <https://github.com/apache/kafka/pull/21287>
- patch: <https://github.com/apache/kafka/pull/21288>
- patch: <https://github.com/apache/kafka/commit/1df2ac5b2ba4d1b5ed54b895ff6fb9539303ccb5>
- other: <https://issues.apache.org/jira/browse/KAFKA-19012>
- other: <http://www.openwall.com/lists/oss-security/2026/04/07/6>
- other: <https://github.com/apache/kafka>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-35554>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-5qcv-4rpc-jp93> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2026-35554> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-35554>
