Skip to main content
CVE-2026-59406VulnerabilityPublished

When mapping inbound record headers, JsonKafkaHeaderMapper and DefaultKafkaHeaderMapper (used by the default message

Source GCVE Database

0
Compare
Authoritative record:CVE-2026-59406· Medium 6.5

Not known to be exploited · CVSS 6.5 Medium · fixed in 4.1.3 : update Spring for Apache Kafka when convenient.

Data as of 2 Dec 2026, 10:19 UTC

CVSS 3.1 base score
6.5Medium
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (vmware)CVSS 3.16.5
Patch
Available – fixed in 4.1.3, 4.1.2.1, 4.0.9 +4
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 2 Dec 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2 Dec 2026.

What to do

Upgrade to a fixed release listed under Affected software.

Affected software

ProductAffectedFixed in
SpringSpring for Apache KafkaAffected
  • >=4.1.0 <4.1.3
Fixed in
  • 4.1.3
SpringSpring for Apache KafkaAffected
  • >=4.1.0 <4.1.2.1
Fixed in
  • 4.1.2.1
SpringSpring for Apache KafkaAffected
  • >=4.0.0 <4.0.9
Fixed in
  • 4.0.9
SpringSpring for Apache KafkaAffected
  • >=4.0.0 <4.0.8.1
Fixed in
  • 4.0.8.1
SpringSpring for Apache KafkaAffected
  • >=3.0.0 <3.3.18
Fixed in
  • 3.3.18
SpringSpring for Apache KafkaAffected
  • >=2.9.0 <2.9.16
Fixed in
  • 2.9.16

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Users should review their use of JsonKafkaHeaderMapper and DefaultKafkaHeaderMapper, especially if consuming from topics writable by untrusted producers. Consider restricting trusted packages for deserialization or avoiding use of these mappers with untrusted input. Monitor vendor advisories for any forthcoming patches or official guidance.

Description

This vulnerability involves the JsonKafkaHeaderMapper and DefaultKafkaHeaderMapper in Spring Kafka, which deserialize inbound record headers based on producer-controlled type information. Because the package org.springframework.util is trusted by default, a malicious producer can cause the consumer to allocate large buffers by specifying certain header types, leading to OutOfMemoryError conditions. This can cause the Kafka listener container to stop processing records repeatedly, resulting in denial of service through memory exhaustion. The issue affects applications consuming records from topics writable by attackers and using the default header mappers.

References

Community reviews

Loading reviews…