CVE-2026-35554: CWE-416 Use After Free in Apache Software Foundation Apache Kafka Clients
CVE-2026-35554 is a use-after-free vulnerability in Apache Kafka Java producer clients affecting versions up to 3. 9. 1, 4. 0. 1, and 4. 1. 1. It arises from a race condition in buffer pool management where expired produce batches have their buffers prematurely deallocated and reused, causing message corruption. This can lead to messages being silently delivered to incorrect topics, potentially exposing sensitive data and causing data integrity issues such as deserialization failures and corrupted downstream processing. Apache Kafka users are advised to upgrade to versions 3.
AI Analysis
Technical Summary
This vulnerability involves a race condition in the Apache Kafka Java producer client's buffer pool management. When a produce batch expires due to delivery.timeout.ms while its network request is still in flight, the batch's ByteBuffer is prematurely freed and returned to the buffer pool. If a subsequent batch reuses this freed buffer before the original request completes, the buffer contents may become corrupted. This results in messages being delivered to unintended topics without error notification to the producer. The issue affects Apache Kafka versions ≤ 3.9.1, ≤ 4.0.1, and ≤ 4.1.1. Upgrading to versions 3.9.2, 4.0.2, 4.1.2, 4.2.0, or later addresses the vulnerability.
Potential Impact
Messages may be delivered to incorrect topics, potentially exposing sensitive data to unauthorized consumers and causing data integrity issues such as deserialization failures and corrupted downstream data processing. This silent message misdelivery can undermine confidentiality and integrity of Kafka messaging systems.
Mitigation Recommendations
Users should upgrade Apache Kafka clients to versions 3.9.2, 4.0.2, 4.1.2, 4.2.0, or later where this vulnerability is fixed. Patch status is not explicitly stated in the vendor advisory, but the recommended versions indicate an official fix is available. No alternative mitigations or temporary fixes are documented.
CVE-2026-35554: CWE-416 Use After Free in Apache Software Foundation Apache Kafka Clients
Description
CVE-2026-35554 is a use-after-free vulnerability in Apache Kafka Java producer clients affecting versions up to 3. 9. 1, 4. 0. 1, and 4. 1. 1. It arises from a race condition in buffer pool management where expired produce batches have their buffers prematurely deallocated and reused, causing message corruption. This can lead to messages being silently delivered to incorrect topics, potentially exposing sensitive data and causing data integrity issues such as deserialization failures and corrupted downstream processing. Apache Kafka users are advised to upgrade to versions 3.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability involves a race condition in the Apache Kafka Java producer client's buffer pool management. When a produce batch expires due to delivery.timeout.ms while its network request is still in flight, the batch's ByteBuffer is prematurely freed and returned to the buffer pool. If a subsequent batch reuses this freed buffer before the original request completes, the buffer contents may become corrupted. This results in messages being delivered to unintended topics without error notification to the producer. The issue affects Apache Kafka versions ≤ 3.9.1, ≤ 4.0.1, and ≤ 4.1.1. Upgrading to versions 3.9.2, 4.0.2, 4.1.2, 4.2.0, or later addresses the vulnerability.
Potential Impact
Messages may be delivered to incorrect topics, potentially exposing sensitive data to unauthorized consumers and causing data integrity issues such as deserialization failures and corrupted downstream data processing. This silent message misdelivery can undermine confidentiality and integrity of Kafka messaging systems.
Mitigation Recommendations
Users should upgrade Apache Kafka clients to versions 3.9.2, 4.0.2, 4.1.2, 4.2.0, or later where this vulnerability is fixed. Patch status is not explicitly stated in the vendor advisory, but the recommended versions indicate an official fix is available. No alternative mitigations or temporary fixes are documented.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- apache
- Date Reserved
- 2026-04-03T11:08:30.442Z
- Cvss Version
- null
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 69d50aa5aaed68159a256b3c
Added to database: 4/7/2026, 1:46:13 PM
Last enriched: 4/7/2026, 2:01:22 PM
Last updated: 4/7/2026, 4:03:54 PM
Views: 4
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.