# CVE-2026-41726: In Spring for Apache Kafka, unbounded delegate cache keyed on user-controlled, potentially malicious selector header

- Severity: Medium 6.5 (CVSS:3.1, scored by vmware) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.42%, higher than 28% of CVEs (2026-11-30)
- Published: 2026-06-09T23:48:51.048Z
- Modified: 2026-07-23T09:10:00.113Z
- Also known as: GHSA-xvfq-4q6q-gxx7
- Weaknesses: CWE-770
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: vmware

## 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.

(As written by CVE List.)

## Affected

- Spring Spring for Apache Kafka: from 4.0.0 before 4.0.5.1; from 3.3.0 before 3.3.15.1; from 3.2.0 before 3.2.14; from 2.9.0 before 2.9.14; from 2.8.0 before 2.8.12
- org.springframework.kafka:spring-kafka (Maven): from 4.0.0 before 4.0.6; from 3.3.0 before 3.3.16; from 3.2.0 up to 3.2.13; from 2.9.0 up to 2.9.13; up to 2.8.11
- vmware spring_for_apache_kafka: before 2.8.12; from 2.9.0 before 2.9.14; from 3.2.0 before 3.2.14; from 3.3.0 before 3.3.15.1; from 4.0.0 before 4.0.5.1

## Every score

- vmware: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## 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)

## Sources

- CVE List: [CVE-2026-41726](https://www.cve.org/CVERecord?id=CVE-2026-41726), CVE Terms of Use, modified 2026-06-27
- GitHub Advisory Database: [GHSA-xvfq-4q6q-gxx7](https://github.com/advisories/GHSA-xvfq-4q6q-gxx7), CC-BY-4.0, modified 2026-06-12
- NVD: [CVE-2026-41726](https://nvd.nist.gov/vuln/detail/CVE-2026-41726), Public domain, modified 2026-07-23

---

Page: https://cve.day/CVE-2026-41726 · Whole record: https://cve.day/CVE-2026-41726.json · Rebuilt by cve.day 2026-11-25T22:59:24.292Z
