Home / Spring / Spring for Apache Kafka / CVE-2026-59406
CVE-2026-59406: is it exploited, and which versions of Spring for Apache Kafka are affected and fixed?
CVE-2026-59406 is a vulnerability in Spring for Apache Kafka. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 16:09 UTC). Affected: Spring for Apache Kafka from 4.1.0 before 4.1.2.1, Spring for Apache Kafka from 4.0.0 before 4.0.8.1, Spring for Apache Kafka from 3.0.0 before 3.3.18 and 4 more (CVE record by vmware). Fixed in 4.1.2.1, 4.0.8.1, 3.3.18, 2.9.16 and 2 more (CVE record by vmware). Severity: Medium (6.5, CVSS 3.1, from vmware).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 16:09 UTC, CVE record December 2, 2026, 07:30 UTC and NVD December 2, 2026, 20:13 UTC.
What is CVE-2026-59406?
In Spring for Apache Kafka, denial of service via memory-allocating types in header mapper default trusted packages
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.
From the CVE record by vmware, last updated December 2, 2026, 07:11 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Spring | Spring for Apache Kafka | from 4.1.0 before 4.1.2.1 from 4.0.0 before 4.0.8.1 from 3.0.0 before 3.3.18 from 2.9.0 before 2.9.16 before 2.8.14 from 4.1.0 before 4.1.3 from 4.0.0 before 4.0.9 | 4.1.2.1, 4.0.8.1, 3.3.18, 2.9.16, 2.8.14, 4.1.3, 4.0.9 |
As the CVE record by vmware states it, last updated December 2, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
How severe is CVE-2026-59406?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 6.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H | vmware |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-59406 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 0.54% probability of exploitation activity in the next 30 days, percentile 46.9 (FIRST EPSS, scores of December 3, 2026)
Where are the vendor advisories and references?
- https://spring.io/security/cve-2026-59406
- https://nvd.nist.gov/vuln-metrics/cvss/v3-calculator?vector=AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H&version=3.1
Who found and reported it?
- This vulnerability was discovered and responsibly reported by JIHUN KIM . (finder)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- July 4, 2026
- Published
- December 2, 2026, 07:11 UTC
- CVE record updated
- December 2, 2026, 07:11 UTC by vmware
- NVD
- Awaiting Analysis, last modified December 2, 2026, 19:26 UTC
- Last checked
- CVE list December 2, 2026, 07:30 UTC; NVD December 2, 2026, 20:13 UTC; KEV December 3, 2026, 16:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect Spring for Apache Kafka?
- Dec 2, 2026CVE-2026-59432 Spring for Apache Kafka: uncontrolled recursion
- Dec 2, 2026CVE-2026-59401 Spring for Apache Kafka
- Dec 2, 2026CVE-2026-59399 Spring for Apache Kafka
- Aug 27, 2026CVE-2026-59317 Spring for Apache Kafka: quantity not validated
- Aug 27, 2026CVE-2026-59278 Spring for Apache Kafka: server-side request forgery (SSRF)
- Jun 9, 2026CVE-2026-41731 Spring for Apache Kafka: deserialization of untrusted data
- Jun 9, 2026CVE-2026-41727 Spring for Apache Kafka: improper input validation
- Jun 9, 2026CVE-2026-41726 Spring for Apache Kafka: denial of service (resources allocated without limits)
Every CVE in Spring for Apache Kafka
Questions about CVE-2026-59406
Is CVE-2026-59406 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 16:09 UTC. FIRST's EPSS gives it a 0.54% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of Spring for Apache Kafka are affected by CVE-2026-59406?
Spring for Apache Kafka from 4.1.0 before 4.1.2.1, Spring for Apache Kafka from 4.0.0 before 4.0.8.1, Spring for Apache Kafka from 3.0.0 before 3.3.18, Spring for Apache Kafka from 2.9.0 before 2.9.16, Spring for Apache Kafka before 2.8.14, Spring for Apache Kafka from 4.1.0 before 4.1.3 and 1 more, per the CVE record by vmware. The tables above give every range the sources list.
Which version fixes CVE-2026-59406?
4.1.2.1, 4.0.8.1, 3.3.18, 2.9.16, 2.8.14 and 4.1.3, per the CVE record by vmware. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-59406?
Medium (6.5, CVSS 3.1, from vmware). The severity table above shows each score with its source.
Where is the official record of CVE-2026-59406?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.