Loading...
Skip to main content

CVE-2026-35554 — Vulnerability in org.apache.kafka:kafka-clients —...

HIGH

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

Published April 7, 2026Updated September 10, 2026Source: osv

Summary

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.

Advisory Timeline

  • First published April 7, 2026 (188 days ago).
  • Last revised September 10, 2026 — 156 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Maven
Update org.apache.kafka:kafka-clients to 4.1.2 or later
<!-- Update pom.xml dependency version to 4.1.2 for org.apache.kafka:kafka-clients -->
Maven
Update org.apache.kafka:kafka-clients to 4.0.2 or later
<!-- Update pom.xml dependency version to 4.0.2 for org.apache.kafka:kafka-clients -->
Maven
Update org.apache.kafka:kafka-clients to 3.9.2 or later
<!-- Update pom.xml dependency version to 3.9.2 for org.apache.kafka:kafka-clients -->

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (3)

Affects 1 ecosystem: maven (1).

PackageEcosystemAffectedFixed In
org.apache.kafka:kafka-clients
maven
4.1.0, 4.1.14.1.2
org.apache.kafka:kafka-clients
maven
4.0.0, 4.0.14.0.2
org.apache.kafka:kafka-clients
maven
2.8.0, 2.8.1, 2.8.2, 3.0.0 (+27 more)3.9.2

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 8.7 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
None

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:N

Frequently Asked Questions

What is CVE-2026-35554?
Apache Kafka Clients: Kafka Producer Message Corruption and Misrouting via Buffer Pool Race Condition This vulnerability has been assigned a severity rating of HIGH (CVSS score: 8.7/10).
How do I check if my project is affected by CVE-2026-35554?
CVE-2026-35554 affects org.apache.kafka:kafka-clients. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-35554 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
8.7

High exploitability or significant impact. Prioritize remediation within days.

Also Known As

GHSA-5qcv-4rpc-jp93

Related CVEs

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies