CVE-2026-35554: CWE-416 Use After Free in Apache Software Foundation Apache Kafka Clients
CVE-2026-35554 is a high-severity use-after-free vulnerability in Apache Kafka Java producer clients up to versions 3. 9. 1, 4. 0. 1, and 4. 1. 1. It arises from a race condition in buffer pool management where expired produce batches can have their buffers prematurely deallocated and reused, causing message corruption. This can lead to messages being silently delivered to incorrect topics without error notification. The vulnerability impacts data confidentiality by potentially exposing messages to unintended consumers and data integrity by causing deserialization failures and corrupted downstream data.
AI Analysis
Technical Summary
A race condition in the Apache Kafka Java producer client’s buffer pool management causes a use-after-free scenario when a produce batch expires due to delivery.timeout.ms while its network request is still in flight. The batch’s ByteBuffer is prematurely deallocated and returned to the buffer pool. If a subsequent batch reuses this freed buffer before the original request completes, buffer contents may become corrupted, resulting in messages being delivered to incorrect topics without error reporting. This affects Apache Kafka versions ≤ 3.9.1, ≤ 4.0.1, and ≤ 4.1.1. The vulnerability impacts confidentiality and integrity of message delivery. Upgrading to versions 3.9.2, 4.0.2, 4.1.2, 4.2.0, or later addresses the issue.
Potential Impact
Messages may be delivered to unintended topics, potentially exposing sensitive data to unauthorized consumers. Consumers of the incorrect topic may experience deserialization failures, processing errors, and corrupted downstream data. The vulnerability compromises both data confidentiality and integrity but does not affect availability. There are no known exploits in the wild at this time.
Mitigation Recommendations
Users should upgrade Apache Kafka clients to versions 3.9.2, 4.0.2, 4.1.2, 4.2.0, or later to remediate this vulnerability. No other mitigation or temporary workaround is documented. Patch status is confirmed by the vendor advisory recommending these fixed versions.
CVE-2026-35554: CWE-416 Use After Free in Apache Software Foundation Apache Kafka Clients
Description
CVE-2026-35554 is a high-severity use-after-free vulnerability in Apache Kafka Java producer clients up to versions 3. 9. 1, 4. 0. 1, and 4. 1. 1. It arises from a race condition in buffer pool management where expired produce batches can have their buffers prematurely deallocated and reused, causing message corruption. This can lead to messages being silently delivered to incorrect topics without error notification. The vulnerability impacts data confidentiality by potentially exposing messages to unintended consumers and data integrity by causing deserialization failures and corrupted downstream data.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
A race condition in the Apache Kafka Java producer client’s buffer pool management causes a use-after-free scenario when a produce batch expires due to delivery.timeout.ms while its network request is still in flight. The batch’s ByteBuffer is prematurely deallocated and returned to the buffer pool. If a subsequent batch reuses this freed buffer before the original request completes, buffer contents may become corrupted, resulting in messages being delivered to incorrect topics without error reporting. This affects Apache Kafka versions ≤ 3.9.1, ≤ 4.0.1, and ≤ 4.1.1. The vulnerability impacts confidentiality and integrity of message delivery. Upgrading to versions 3.9.2, 4.0.2, 4.1.2, 4.2.0, or later addresses the issue.
Potential Impact
Messages may be delivered to unintended topics, potentially exposing sensitive data to unauthorized consumers. Consumers of the incorrect topic may experience deserialization failures, processing errors, and corrupted downstream data. The vulnerability compromises both data confidentiality and integrity but does not affect availability. There are no known exploits in the wild at this time.
Mitigation Recommendations
Users should upgrade Apache Kafka clients to versions 3.9.2, 4.0.2, 4.1.2, 4.2.0, or later to remediate this vulnerability. No other mitigation or temporary workaround is documented. Patch status is confirmed by the vendor advisory recommending these fixed versions.
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/14/2026, 3:57:02 PM
Last updated: 5/22/2026, 1:47:29 PM
Views: 357
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.