CVE-2026-59432
Received Received - Intake

Stack Overflow in Spring Kafka Header Deserialization

Vulnerability report for CVE-2026-59432, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-12-02

Last updated on: 2026-12-02

Assigner: VMware

Description

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-12-02
Last Modified
2026-12-02
Generated
2026-12-02
AI Q&A
2026-12-02
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 7 associated CPEs
Vendor Product Version / Range
vmware jsonkafkaheadermapper *
vmware defaultkafkaheadermapper *
vmware spring_for_apache_kafka to 2.8.14 (exc)
vmware spring_for_apache_kafka From 2.9.0 (inc) to 2.9.16 (exc)
vmware spring_for_apache_kafka From 3.0.0 (inc) to 3.3.18 (exc)
vmware spring_for_apache_kafka From 4.0.0 (inc) to 4.0.9 (exc)
vmware spring_for_apache_kafka From 4.1.0 (inc) to 4.1.3 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This is a denial-of-service vulnerability in Spring for Apache Kafka where malicious producers can send specially crafted headers that cause stack overflow or thread exhaustion during deserialization. The JsonKafkaHeaderMapper and DefaultKafkaHeaderMapper components are affected when processing headers with deeply nested array types or large java.util.Timer arrays.

Detection Guidance

Check if your Spring for Apache Kafka version is affected by running: mvn dependency:tree | grep spring-kafka. If the version is 2.8.13 or earlier, 2.9.0–2.9.15, 3.0.0–3.3.17, 4.0.0–4.0.8, or 4.1.0–4.1.2, the system is vulnerable. Monitor logs for StackOverflowError or thread exhaustion errors during Kafka header processing.

Impact Analysis

An attacker can send a single malicious record to repeatedly crash your Kafka listener container, preventing it from processing messages. The container stops before committing the record, and restarts fail on the same record, causing continuous disruption of message consumption.

Compliance Impact

This vulnerability could impact compliance with GDPR and HIPAA by causing service disruptions through denial-of-service attacks. A malicious producer could repeatedly crash the listener container, preventing proper processing and logging of records, which may violate data integrity and availability requirements under these regulations.

Mitigation Strategies

Upgrade to a fixed version of Spring for Apache Kafka: 2.8.14, 2.9.16, 3.3.18, 4.0.9, or 4.1.3 (OSS) or their Enterprise Support patches. No additional mitigation is required beyond upgrading.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-59432. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...