CVE-2026-41726
MEDIUM 6.5CVSS 3.1In 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.
- Published
- 10 Jun 2026
- Last modified
- 23 Jul 2026
- Assigned by
- security@vmware.com
- NVD status
- Analyzed
- Weakness
- CWE-770
- Also known as
- GHSA-xvfq-4q6q-gxx7
- Sources
- NVDJSONOSV GHSA-xvfq-4q6q-gxx7JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security@vmware.com (Secondary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | vmware | spring_for_apache_kafkacpe:2.3:a:vmware:spring_for_apache_kafka:*:*:*:*:*:*:*:* |
< 2.8.12 | 2.8.12 |
| NVD | vmware | spring_for_apache_kafkacpe:2.3:a:vmware:spring_for_apache_kafka:*:*:*:*:*:*:*:* |
>= 2.9.0, < 2.9.14 | 2.9.14 |
| NVD | vmware | spring_for_apache_kafkacpe:2.3:a:vmware:spring_for_apache_kafka:*:*:*:*:*:*:*:* |
>= 3.2.0, < 3.2.14 | 3.2.14 |
| NVD | vmware | spring_for_apache_kafkacpe:2.3:a:vmware:spring_for_apache_kafka:*:*:*:*:*:*:*:* |
>= 3.3.0, < 3.3.15.1 | 3.3.15.1 |
| NVD | vmware | spring_for_apache_kafkacpe:2.3:a:vmware:spring_for_apache_kafka:*:*:*:*:*:*:*:* |
>= 4.0.0, < 4.0.5.1 | 4.0.5.1 |
| OSV | Maven | org.springframework.kafka:spring-kafka | >= 4.0.0, < 4.0.6 | 4.0.6 |
| OSV | Maven | org.springframework.kafka:spring-kafka | >= 3.3.0, < 3.3.16 | 3.3.16 |
| OSV | Maven | org.springframework.kafka:spring-kafka | >= 3.2.0, <= 3.2.13 | |
| OSV | Maven | org.springframework.kafka:spring-kafka | >= 2.9.0, <= 2.9.13 | |
| OSV | Maven | org.springframework.kafka:spring-kafka | <= 2.8.11 |
References
- https://spring.io/security/cve-2026-41726 · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-41726 · ADVISORY
- 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
History
- 25 Nov 2026 21:03 UTC · NVD: first stored (published 10 Jun 2026)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 10 Jun 2026)