WaratekVRT Sign in

CVE-2026-35554 Apache Kafka

Affected softwareApache Kafka
Severity8.7 High CVSS 3.1
Fixed in3.9.2, 4.0.2, 4.1.2
WeaknessUse after free (CWE-416)
Published7 Apr 2026
Updated26 Oct 2026

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.

CWE-362

Exploitation status

No public exploit

No exploit has been reported in the sources we check.

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment exploitation: none
  • Indexed PoC none indexed
  • EPSS 0.45% chance in 30 days

Waratek protection

Protected by Waratek

Waratek has a rule that blocks attacks on this vulnerability.

Decided by A vulnerability class already blocked by an ARMR security rule
Finding Protected by Waratek's ARMR deserialization security rule, which blocks this class of attack at the JVM level without a rule written for this CVE specifically. The CVE's description identifies a deserialization vulnerability. Matched by description (CWE-362, CWE-416 were assigned, but none settles the class on its own).

How to mitigate CVE-2026-35554

Upgrade Apache Kafka to a release that fixes it: 3.9.2, 4.0.2 or 4.1.2. Until you can, Waratek RASP blocks exploitation with its deserialization and process rules. It runs inside the Java application, with no code changes.

Waratek RASP Runtime protection for Java applications

Affected software and releases

Oracle advisories

AdvisoryTypeQuarterProducts Oracle names in its risk matrix
Oracle Critical Patch Update July 2026 ↗ CPU 2026-Q3 Oracle GoldenGate / Security (Apache Kafka) (26.1.0.0.0)
Oracle Critical Security Patch Update August 2026 ↗ CSPU 2026-Q3 Oracle Financial Services Applications / Third Party (Apache Kafka) (8.0.8.1, 8.1.2.11)
Oracle Financial Services Applications / User Interface (Apache Kafka) (8.0.8.0)
Oracle Critical Security Patch Update May 2026 ↗ CSPU 2026-Q2 Oracle Communications / Message Bus (Apache Kafka) (6.1.1-7.0.0)

Oracle components and versions

FamilyComponentVersions, as Oracle lists themRead as
Oracle Communications Message Bus (Apache Kafka) 6.1.1-7.0.0
Oracle Financial Services Applications Third Party (Apache Kafka) 8.0.8.1, 8.1.2.11 8.0.8.1 · 8.1.2.11
Oracle Financial Services Applications User Interface (Apache Kafka) 8.0.8.0 8.0.8.0
Oracle GoldenGate Security (Apache Kafka) 26.1.0.0.0 26.1.0.0.0

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
org.apache.kafka:kafka-clients 2.8.0 3.9.2 unbounded
org.apache.kafka:kafka-clients 4.0.0 4.0.2 unbounded
org.apache.kafka:kafka-clients 4.1.0 4.1.2 unbounded

Products and versions

2 products, 6 version entries
SourceVendorProductSchemeAffected versions
nvd apache kafka generic ≥ 2.8.0 and < 3.9.2 · ≥ 4.0.0 and < 4.0.2 · ≥ 4.1.0 and < 4.1.2
osv org.apache.kafka kafka-clients generic ≥ 2.8.0 and < 3.9.2 · ≥ 4.0.0 and < 4.0.2 · ≥ 4.1.0 and < 4.1.2

References

URLTags
https://github.com/apache/kafka/pull/21065 WEB
https://github.com/apache/kafka/pull/21285 WEB
https://github.com/apache/kafka/pull/21286 WEB
https://github.com/apache/kafka/pull/21287 WEB
https://github.com/apache/kafka/pull/21288 WEB
https://github.com/apache/kafka/commit/1df2ac5b2ba4d1b5ed54b895ff6fb9539303ccb5 WEB
https://github.com/apache/kafka PACKAGE
https://issues.apache.org/jira/browse/KAFKA-19012 WEB
https://lists.apache.org/thread/f07x7j8ovyqhjd1to25jsnqbm6wj01d6 WEB
http://www.openwall.com/lists/oss-security/2026/04/07/6 WEB

Timeline

Published2026-04-07By the CVE Program.
NVD record modified2026-10-26NVD's own last-modified date for this record.