Read the docs

Denial of service in Spring for Apache Kafka header mapping

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 versions from 0 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 or 4.0.9, and from 4.1.0 before 4.1.2.1 or 4.1.3 are affected. JsonKafkaHeaderMapper and DefaultKafkaHeaderMapper deserialize inbound header values into the type named by a producer-controlled header, so a producer can name a buffer type and a large size that the consumer must allocate while mapping headers. An attacker with low privileges who can produce to a topic the application consumes can repeatedly stop consumption with a small record.

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 org.springframework.util is trusted by default, a producer can declare org.springframework.util.ResizableByteArrayOutputStream and supply a number as the header value, causing the consumer to allocate a buffer of that size while mapping the header. With Jackson 3, a single header with a large value raises an OutOfMemoryError that 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. With Jackson 2, a single record carrying many such headers can exhaust the heap with the same result. In both cases, a small record is enough for a malicious producer to repeatedly stop consumption and put memory pressure on the whole application. 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 4.1.2.1, 4.1.3, 4.0.8.1, 4.0.9, 3.3.18, 2.9.16 or 2.8.14, depending on the release line in use.

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-102003 Denial of service in Spring for Apache Kafka via crafted headersPriority 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-59406
  2. 2026-12-02 Alias added: GHSA-cfpx-9538-pxm5

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