Read the docs

Denial of service in Spring for Apache Kafka via crafted headers

Priority MEDIUM 44Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
None
Attack complexity
Low
Impact type
—
Confidentiality · integrity · availability
None · None · High
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA.

Summary

Spring for Apache Kafka is affected in versions before 2.8.14, from 2.9.0 before 2.9.16, from 3.0.0 before 3.3.18, from 4.0.0 before 4.0.8.1, from 4.0.0 before 4.0.9, from 4.1.0 before 4.1.2.1 and from 4.1.0 before 4.1.3. JsonKafkaHeaderMapper and DefaultKafkaHeaderMapper resolve header types named by the producer, and a deeply nested array type or an array of java.util.Timer can overflow the consumer thread stack or exhaust native threads. An attacker who can produce to a topic the application consumes can send one record that stops the listener container, which fails again on the same record after a restart.

Written with Claude Haiku 5.5 from the sources below · 2026-12-02

Description from the CNA

When mapping inbound record headers, JsonKafkaHeaderMapper and DefaultKafkaHeaderMapper (used by the default message converters) deserialize each header value into the type named for it in the producer-controlled spring_json_header_types header, provided that type's package is trusted. Because java.lang and java.util are trusted by default, a producer can declare a type with a very large number of array dimensions, such as java.lang.String followed by many [] suffixes, or an array of java.util.Timer . Resolving the deeply nested array type recurses once per dimension and overflows the stack of the consumer thread with a StackOverflowError . Deserializing a java.util.Timer array starts a new thread for each element, so a large array can exhaust the native threads of the application. In both cases, the error is not caught by the mapper, so the listener container stops before the record is committed, and stops again on the same record after a restart. A malicious producer can use a single record to repeatedly stop consumption. An application is affected if it consumes records from a topic that an attacker can produce to and maps headers with JsonKafkaHeaderMapper or DefaultKafkaHeaderMapper , which is the default for @KafkaListener methods and other listeners using the messaging message converters.

Why it matters now

Fix Fixed Spring for Apache Kafka (Spring): 4.1.2.1, 4.0.8.1, 3.3.18 +4

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
VMwareSpring for Apache Kafka4.1.0 to before 4.1.2.1; 4.0.0 to before 4.0.8.1; 3.0.0 to before 3.3.18; 2.9.0 to before 2.9.16; before 2.8.14; 4.1.0 to before 4.1.3; 4.0.0 to before 4.0.94.1.2.1, 4.0.8.1, 3.3.18, 2.9.16, 2.8.14, 4.1.3, 4.0.9Patch availableCNA
  • Spring for Apache Kafka VendorVMware Affected 4.1.0 to before 4.1.2.1; 4.0.0 to before 4.0.8.1; 3.0.0 to before 3.3.18; 2.9.0 to before 2.9.16; before 2.8.14; 4.1.0 to before 4.1.3; 4.0.0 to before 4.0.9 Fixed in 4.1.2.1, 4.0.8.1, 3.3.18, 2.9.16, 2.8.14, 4.1.3, 4.0.9 Patch available CNA

CPE names Threatist (inferred) · 1

Inferred from how NVD named this product before; not given by a source.

CPEVersionsRoleVendor
cpe:2.3:a:vmware:spring_for_apache_kafka:*:*:*:*:*:*:*:*——VMware
  • cpe:2.3:a:vmware:spring_for_apache_kafka:*:*:*:*:*:*:*:* Versions — — ·VMware

Remediation

Upgrade Spring for Apache Kafka to fixed version 2.8.14, 2.9.16, 3.3.18, 4.0.8.1, 4.0.9, 4.1.2.1 or 4.1.3, matching your release line.

Written with Claude Haiku 5.5 from the sources below · 2026-12-02

  • Fix · CNA Spring for Apache Kafka (Spring) Fixed in 4.1.2.1, 4.0.8.1, 3.3.18, 2.9.16, 2.8.14, 4.1.3, 4.0.9

Fixed in the same release

Records fixed by the same vendor advisory or release, as the CNA lists them.

  • Release ·

    Spring for Apache Kafka 2.8.14, 2.9.16 and 5 more versions

    4 records Highest priority Priority MEDIUM 3 MEDIUM, 1 LOW

    Other records, highest priority first

    • TI-2026-101977 Header-driven class loading in Spring for Apache Kafka deserializerPriority MEDIUM 45
    • TI-2026-101983 Denial of service in Spring for Apache Kafka header mappingPriority MEDIUM 44
    • TI-2026-101979 Trusted package bypass in Spring for Apache Kafka header mapperPriority LOW 30

Timeline

  1. 2026-12-02 Threatist record created from CVE-2026-59432
  2. 2026-12-02 Alias added: GHSA-mph2-x3ff-wv94

References

  • TI-2026-94633 Authentication bypass in VMware vCenter Directory Service KEVCVSS 3.1CRITICAL 9.8
  • TI-2026-42442 Directory traversal in VMware vCenter Syslog server KEVCVSS 3.1CRITICAL 9.8
  • TI-2024-26040 VMware vCenter Server privilege escalation to root via network packet KEVCVSS 3.1CRITICAL 9.8
  • TI-2024-26039 Heap overflow in VMware vCenter Server lets attackers run code KEVCVSS 3.1CRITICAL 9.8
  • TI-2024-24610 Heap overflow in VMware vCenter Server DCERPC implementation KEVCVSS 3.1CRITICAL 9.8
  • TI-2023-16914 Out-of-bounds write in VMware vCenter Server DCERPC implementation KEVCVSS 3.1CRITICAL 9.8
See all 1214 →

Sources