Severity by source
AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:N
Primary rating from NVD.
CVSS VectorNVD
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:N
Lifecycle Timeline
3Blast Radius
ecosystem impact- 1,146 maven packages depend on org.apache.kafka:kafka-clients (238 direct, 913 indirect)
Ecosystem-wide dependent count for version 2.8.0.
DescriptionCVE.org
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.
AnalysisAI
Buffer use-after-free in Apache Kafka Java producer client (versions ≤3.9.1, ≤4.0.1, ≤4.1.1) can silently route messages to incorrect topics when batch expiration races with in-flight network requests. CVSS 8.7 (High) with network-accessible attack vector and high complexity. CISA SSVC indicates no active exploitation, non-automatable attack, and partial technical impact. No public exploit identified at time of analysis. EPSS data not provided, but the combination of high CVSS, cross-scope impact (S:C), and dual confidentiality/integrity impact warrants prioritization for environments processing sensitive message streams.
Technical ContextAI
This vulnerability stems from a classic use-after-free race condition (CWE-416) in Apache Kafka's Java producer client buffer pool implementation. When a produce batch exceeds delivery.timeout.ms while the containing network request remains in flight, the producer deallocates the ByteBuffer and returns it to the shared buffer pool prematurely. The freed buffer can then be allocated to a new producer batch-potentially targeting a completely different topic-before the original network request completes. This creates a window where two logically distinct batches share the same physical buffer, enabling memory corruption and cross-topic message contamination. The affected component is the Apache Kafka Clients library (CPE: cpe:2.3:a:apache_software_foundation:apache_kafka_clients), specifically versions 2.8.0 through 3.9.1, 4.0.0 through 4.0.1, and 4.1.0 through 4.1.1. The vulnerability surfaces in multi-topic producer workflows under network latency or backpressure conditions where timeout-driven buffer recycling races with asynchronous I/O completion.
RemediationAI
Vendor-released patches are available: upgrade Apache Kafka Clients to version 3.9.2, 4.0.2, 4.1.2, or 4.2.0 (or any later version) to fully remediate this use-after-free condition. Organizations should prioritize upgrading client libraries in applications producing messages to multiple topics or operating in high-latency network environments. As an interim mitigation for environments unable to immediately upgrade, consider increasing delivery.timeout.ms values to reduce batch expiration frequency, implementing dedicated producer instances per topic to eliminate cross-topic buffer reuse, and deploying comprehensive end-to-end message tracing to detect anomalous cross-topic message delivery. Review consumer error logs for unexpected deserialization failures that may indicate historical exploitation. Full remediation guidance is available in the Apache security advisory at https://lists.apache.org/thread/f07x7j8ovyqhjd1to25jsnqbm6wj01d6. Note that server-side Kafka broker upgrades do not address this client-side vulnerability-affected client libraries must be upgraded independently.
Oracle Java SE 7 Update 6 and earlier contains multiple sandbox bypass vulnerabilities via the ClassFinder and forName m
Remote code execution in IBM Sterling B2B Integrator, Sterling Integrator, and Tivoli Common Reporting allows unauthenti
Java Runtime Environment sandbox bypass via incorrect image channel verification in 2D component allows remote unauthent
Oracle Java SE JDK/JRE 7 and 6 Update 27 and earlier allows remote code execution with complete system compromise throug
JBoss Seam 2 in Red Hat JBoss EAP 4.3.0 fails to sanitize JBoss Expression Language inputs, allowing remote attackers to
Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 update 4 and earlier, 6 up
Multiple vulnerabilities in Oracle Java 7 before Update 11 allow remote attackers to execute arbitrary code by (1) using
Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 2 and earlier, 6 Up
The WLS Security component in Oracle WebLogic Server 10.3.6.0, 12.1.2.0, 12.1.3.0, and 12.2.1.0 allows remote attackers
Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 7 and earlier allow
Remote unauthenticated attackers can execute arbitrary code on Adobe ColdFusion servers through Java deserialization fla
The ExceptionDelegator component in Apache Struts before 2.2.3.1 interprets parameter values as OGNL expressions during
Same weakness CWE-416 – Use After Free
View allSame technique Information Disclosure
View allVendor StatusVendor
SUSE
Severity: HighShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-19631
GHSA-5qcv-4rpc-jp93