WaratekVRT Sign in

CVE-2026-41726 Spring for Apache Kafka

Affected softwareSpring for Apache Kafka
Severity6.5 Medium CVSS 3.1
Fixed in4.0.6, 3.3.16
WeaknessCWE-770
Published10 Jun 2026
Updated23 Jul 2026

Description

When an application opts into DelegatingDeserializer, a producer can grow the consumer's heap without bound by sending records with unique random spring.kafka.serialization.selector header values, eventually causing GC thrash and OutOfMemoryError. Affected versions: Spring for Apache Kafka 4.0.0 through 4.0.5; 3.3.0 through 3.3.15; 3.2.0 through 3.2.13; 2.9.0 through 2.9.13; 2.8.0 through 2.8.11.

Exploitation status

No public exploit

No exploit has been reported in the sources we check.

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment exploitation: none
  • Indexed PoC none indexed
  • EPSS 0.30% chance in 30 days

Waratek protection

Protected by Waratek

Waratek has a rule that blocks attacks on this vulnerability.

Decided by A vulnerability class already blocked by an ARMR security rule
Finding Protected by Waratek's ARMR deserialization security rule, which blocks this class of attack at the JVM level without a rule written for this CVE specifically. The CVE's description identifies a deserialization vulnerability. Matched by description (CWE-770 was assigned, but does not settle the class on its own).

How to mitigate CVE-2026-41726

Upgrade Spring for Apache Kafka to a release that fixes it: 4.0.6 or 3.3.16. Until you can, Waratek RASP blocks exploitation with its deserialization rule. It runs inside the Java application, with no code changes.

Waratek RASP Runtime protection for Java applications

Affected software and releases

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
org.springframework.kafka:spring-kafka 4.0.0 4.0.6 unbounded
org.springframework.kafka:spring-kafka 3.3.0 3.3.16 unbounded
org.springframework.kafka:spring-kafka 3.2.0 none 3.2.13
org.springframework.kafka:spring-kafka 2.9.0 none 2.9.13
org.springframework.kafka:spring-kafka 0 none 2.8.11

Products and versions

2 products, 10 version entries
SourceVendorProductSchemeAffected versions
osv org.springframework.kafka spring-kafka generic ≤ 2.8.11 · ≥ 2.9.0 and ≤ 2.9.13 · ≥ 3.2.0 and ≤ 3.2.13 · ≥ 3.3.0 and < 3.3.16 · ≥ 4.0.0 and < 4.0.6
nvd vmware spring for apache kafka generic < 2.8.12 · ≥ 2.9.0 and < 2.9.14 · ≥ 3.2.0 and < 3.2.14 · ≥ 3.3.0 and < 3.3.15.1 · ≥ 4.0.0 and < 4.0.5.1

References

URLTags
https://github.com/spring-projects/spring-kafka/issues/4489 WEB
https://github.com/spring-projects/spring-kafka/commit/ca2337ba789c5778a10197bda17a62915247ff6c WEB
https://github.com/spring-projects/spring-kafka PACKAGE
https://spring.io/security/cve-2026-41726 WEB

Timeline

Published2026-06-10By the CVE Program.
NVD record modified2026-07-23NVD's own last-modified date for this record.