Spring-Kafka 2.8.0-4.0.5 OOM via DelegatingDeserializer
CVE-2026-41726 Published on June 9, 2026
In Spring for Apache Kafka, unbounded delegate cache keyed on user-controlled, potentially malicious selector header
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.
Vulnerability Analysis
CVE-2026-41726 is exploitable with network access, and requires small amount of user privileges. This vulnerability is considered to have a low attack complexity. The potential impact of an exploit of this vulnerability is considered to have no impact on confidentiality and integrity, and a high impact on availability.
Weakness Type
Allocation of Resources Without Limits or Throttling
The software allocates a reusable resource or group of resources on behalf of an actor without imposing any restrictions on the size or number of resources that can be allocated, in violation of the intended security policy for that actor.
Products Associated with CVE-2026-41726
Want to know whenever a new CVE is published for VMware Spring Framework? stack.watch will email you.
Affected Versions
Spring for Apache Kafka:- Version 4.0.0 and below 4.0.6 is affected.
- Version 3.3.0 and below 3.3.16 is affected.
- Version 3.2.0 and below 3.2.14 is affected.
- Version 2.9.0 and below 2.9.14 is affected.
- Version 2.8.0 and below 2.8.12 is affected.