Get a Demo

Let's Patch It!

Book a short call with one our specialists, we'll walk you through how Endor Patches work, and ask you a few questions about your environment (like your primary programming languages and repository management). We'll also send you an email right after you fill out the form, feel free to reply with any questions you have in advance!

CVE

CVE-2026-35554

Apache Kafka Clients: Kafka Producer Message Corruption and Misrouting via Buffer Pool Race Condition
Back to all
CVE

CVE-2026-35554

Apache Kafka Clients: Kafka Producer Message Corruption and Misrouting via Buffer Pool Race Condition

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.

Package Versions Affected

Package Version
patch Availability
No items found.

Automatically patch vulnerabilities without upgrading

Fix Without Upgrading
Detect compatible fix
Apply safe remediation
Fix with a single pull request

CVSS Version

Severity
Base Score
CVSS Version
Score Vector
C
H
U
8.7
-
3.1
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:N
C
H
U
0
-
3.1
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:N
C
H
U
8.7
-
3.1
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:N

Related Resources

No items found.

References

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

Severity

8.7

CVSS Score
0
10

Basic Information

Ecosystem
Base CVSS
8.7
EPSS Probability
0.00025%
EPSS Percentile
0.07503%
Introduced Version
4.1.0,4.0.0,3.7.0,3.0.0,2.8.0,0
Fix Available
4.1.2,4.0.2,3.9.2,2.8.0-r7,3.5.0-r3,36.0.0-r15,1.20.3-r2,1.21.2-r2,1.22.1-r1,8.19.14-r3,9.1.10-r6,9.2.8-r2,9.3.3-r2,2.19.4-r14,3.6.0-r0,2.6.0-r8,0.51.0-r24,1.0.0-r0,4.3.1.1-r2,40.0.0-r0

Fix Critical Vulnerabilities Instantly

Secure your app without upgrading.
Fix Without Upgrading