CVE-2026-41726
Received
Received - Intake
Heap Exhaustion in Spring for Apache Kafka
Publication date: 2026-06-10
Last updated on: 2026-06-10
Assigner: VMware
Description
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.
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| spring | for_apache_kafka | From 2.8.0 (inc) to 4.0.5 (inc) |
| spring | for_apache_kafka | 4.0.6 |
| spring | for_apache_kafka | 3.3.16 |
| spring | for_apache_kafka | 3.2.14 |
| spring | for_apache_kafka | 2.9.14 |
| spring | for_apache_kafka | 2.8.12 |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-770 | The product allocates a reusable resource or group of resources on behalf of an actor without imposing any intended restrictions on the size or number of resources that can be allocated. |