Kafka Race Condition Flaw Sends Messages to Wrong Topics

Kafka Race Condition Flaw Sends Messages to Wrong Topics

CVE Notify is flagging a concerning race condition vulnerability in the Apache Kafka Java producer client. According to their report, a flaw in how the client manages its buffer pool can lead to messages being silently delivered to unintended topics. This happens when a producer batch expires due to delivery.timeout.ms while its network request is still active. The buffer holding the batch’s data is prematurely returned to the pool. If a subsequent batch, possibly for a different topic, reuses this buffer before the original request finishes, message data can become corrupted, causing it to land in the wrong place without the producer realizing.

This isn’t just a theoretical hiccup. CVE Notify highlights two major impacts: data confidentiality is compromised if sensitive messages land in topics accessible by unauthorized consumers, and data integrity suffers as incorrect or malformed messages can cause deserialization failures and downstream data corruption for legitimate consumers. The vulnerability affects Apache Kafka versions up to and including 3.9.1, 4.0.1, and 4.1.1.

To patch this, Kafka users are strongly advised to upgrade. CVE Notify points to versions 3.9.2, 4.0.2, 4.1.2, 4.2.0, or any later releases as the fixes.

What This Means For You

  • Immediately assess your Kafka producer client configurations, particularly the `delivery.timeout.ms` setting, and prioritize upgrading affected Kafka versions to the patched releases (3.9.2, 4.0.2, 4.1.2, 4.2.0, or later) to prevent silent data exfiltration and integrity issues.

Related ATT&CK Techniques

πŸ›‘οΈ Detection Rules

1 rule Β· 6 SIEM formats

1 detection rule mapped to MITRE ATT&CK. Free Sigma YAML below.

high T1190 Initial Access

Web Application Exploitation Attempt β€” CVE-2026-35554

Sigma YAML β€” free preview

Source: Shimi's Cyber World Β· License & reuse

Indicators of Compromise

IDTypeIndicator
CVE-2026-35554 Race Condition Apache Kafka Java producer client, buffer pool management, delivery.timeout.ms, ByteBuffer deallocation, message delivery to incorrect topics. Affected versions: <= 3.9.1, <= 4.0.1, <= 4.1.1.
CVE-2026-35554 Data Confidentiality Apache Kafka Java producer client, buffer pool management, delivery.timeout.ms, ByteBuffer deallocation, message delivery to incorrect topics. Affected versions: <= 3.9.1, <= 4.0.1, <= 4.1.1.
CVE-2026-35554 Data Integrity Apache Kafka Java producer client, buffer pool management, delivery.timeout.ms, ByteBuffer deallocation, message delivery to incorrect topics. Affected versions: <= 3.9.1, <= 4.0.1, <= 4.1.1.

Related coverage

Featured

Daily Security Digest β€” 2026-05-22

13 vulnerability disclosures (5 Critical, 8 High) and 14 curated intelligence stories from 6 sources.

daily-digestvulnerabilityCVEhigh-severitycwe-88privilege-escalationcwe-863criticalremote-code-executioncwe-434
/SCW Daily Digest /CRITICAL

WordPress Ditty Plugin: Authorization Bypass Exposes Non-Public Content

CVE-2026-9011 β€” The Ditty – Responsive News Tickers, Sliders, and Lists plugin for WordPress is vulnerable to authorization bypass in all versions up to, and...

vulnerabilityCVEhigh-severitycwe-862
/SCW Vulnerability Desk /HIGH /7.5 /⚑ 3 IOCs

CVE-2026-8692 β€” The Vedrixa Forms – User Registration Form, Signup Form &

CVE-2026-8692 β€” The Vedrixa Forms – User Registration Form, Signup Form & Drag & Drop Form Builder plugin for WordPress is vulnerable to authorization bypass...

vulnerabilityCVEmedium-severitycwe-862
/SCW Vulnerability Desk /MEDIUM /4.3 /⚑ 2 IOCs /⚙ 2 Sigma