CVE-2026-41726
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.
How to fix
- vmware spring_for_apache_kafka2.8.12, 2.9.14, 3.2.14, 3.3.15.1, 4.0.5.1 or later
- org.springframework.kafka:spring-kafka4.0.6, 3.3.16 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| vmware spring_for_apache_kafka | v < 2.8.12, 2.9.0 ≤ v < 2.9.14, 3.2.0 ≤ v < 3.2.14, 3.3.0 ≤ v < 3.3.15.1, 4.0.0 ≤ v < 4.0.5.1 | 2.8.12, 2.9.14, 3.2.14, 3.3.15.1, 4.0.5.1 |
| org.springframework.kafka:spring-kafkaMaven | 4.0.0 ≤ v < 4.0.6, 3.3.0 ≤ v < 3.3.16, 3.2.0 ≤ v ≤ 3.2.13, 2.9.0 ≤ v ≤ 2.9.13, v ≤ 2.8.11 | 4.0.6, 3.3.16 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.