{"id":"CVE-2026-35554","title":"A race condition in the Apache Kafka Java producer client’s buffer pool management can cause messages to be silently delivered to incorrect topics.\n\nWhen a produce batch expires due to delivery.timeout.ms while a network request containi…","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.\n\nWhen a produce batch expires due to delivery.timeout.ms while a network request containi…","severity":"high","cvss":8.7,"cvssVector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:N","cwe":["CWE-362","CWE-416","CWE-367"],"vendor":"apache","product":"kafka","affected":["kafka >= 2.8.0, < 3.9.2","kafka >= 4.0.0, < 4.0.2","kafka >= 4.1.0, < 4.1.2"],"patched":["kafka 4.1.2"],"published":"2026-04-07","updated":"2026-08-17","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-35554","references":[{"url":"https://issues.apache.org/jira/browse/KAFKA-19012","label":"security@apache.org"},{"url":"https://lists.apache.org/thread/f07x7j8ovyqhjd1to25jsnqbm6wj01d6","label":"security@apache.org"},{"url":"http://www.openwall.com/lists/oss-security/2026/04/07/6","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-35554.json"},{"url":"https://access.redhat.com/security/cve/CVE-2026-35554"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2455916"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-35554"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-35554"},{"url":"https://access.redhat.com/errata/RHSA-2026:42098"},{"url":"https://access.redhat.com/errata/RHSA-2026:17668"},{"url":"https://access.redhat.com/errata/RHSA-2026:11721"},{"url":"https://access.redhat.com/errata/RHSA-2026:54435"},{"url":"https://access.redhat.com/errata/RHSA-2026:13631"}],"tags":["nvd","csaf","vex","red-hat"],"epss":0.00437,"epssPercentile":0.37766,"ingestedAt":"2026-08-17T18:59:03.205Z","scores":{"nvd":8.7,"vendor":6.8},"slug":"CVE-2026-35554","body":"## Overview\n\nA race condition in the Apache Kafka Java producer client’s buffer pool management can cause messages to be silently delivered to incorrect topics.\n\nWhen 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.\n\n\nData Confidentiality:\nMessages 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.\n\nData Integrity:\nConsumers on the receiving topic may encounter unexpected or incompatible messages, leading to deserialization failures, processing errors, and corrupted downstream data.\n\nThis issue affects Apache Kafka versions ≤ 3.9.1, ≤ 4.0.1, and  ≤ 4.1.1.\n\nKafka users are advised to upgrade to 3.9.2, 4.0.2, 4.1.2, 4.2.0, or later to address this vulnerability.\n\n## Affected\n\n- `kafka >= 2.8.0, < 3.9.2`\n- `kafka >= 4.0.0, < 4.0.2`\n- `kafka >= 4.1.0, < 4.1.2`\n\n## Remediation\n\nUpgrade past the affected range:\n\n- `kafka 4.1.2`\n\n## Vendor advisories\n\n- **RHSA-2026:42098** · Red Hat · fixed in: Red Hat JBoss Enterprise Application Platform 6.0.5.GA · released 2026-07-20 · [advisory](https://access.redhat.com/errata/RHSA-2026:42098)\n- **RHSA-2026:17668** · Red Hat · fixed in: Red Hat build of Apache Camel 4.18.1 for Spring Boot 3.5.14 · released 2026-05-14 · [advisory](https://access.redhat.com/errata/RHSA-2026:17668)\n- **RHSA-2026:11721** · Red Hat · fixed in: Red Hat build of Quarkus 3.27.3.SP1 · released 2026-05-05 · [advisory](https://access.redhat.com/errata/RHSA-2026:11721)\n- **RHSA-2026:54435** · Red Hat · fixed in: Streams for Apache Kafka 3.2.1 · released 2026-08-12 · [advisory](https://access.redhat.com/errata/RHSA-2026:54435)\n- **Red Hat VEX** · Moderate · affected: OpenShift Serverless, Red Hat build of Apache Camel 4 for Quarkus 3, Red Hat build of Apicurio Registry 2, Red Hat build of Apicurio Registry 3, Red Hat build of Debezium 2, Red Hat build of Debezium 3, … · no fix planned: Red Hat build of Debezium 2, Red Hat Fuse 7, Red Hat JBoss Enterprise Application Platform 7, Red Hat Process Automation 7, … · updated 2026-10-20 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-35554.json)\n- **RHSA-2026:13631** · Red Hat · fixed in: Red Hat Build of Apache Camel 4.14 for Quarkus 3.27 · released 2026-05-05 · [advisory](https://access.redhat.com/errata/RHSA-2026:13631)","depth":"twilight","depthScore":48,"depthScoreParts":{"impact":47.8,"likelihood":0.1,"exploitation":0,"ransomware":0},"changes":[]}