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

- Priority: **Routine**
- Reason: Not severe (CVSS 6.5, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-06-09 · Modified: 2026-06-27
- Aliases: GHSA-xvfq-4q6q-gxx7
- Record: https://cvemate.com/vulnerability/CVE-2026-41726 · JSON: https://cvemate.com/vulnerability/CVE-2026-41726/json

## Description

```text
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.
```

## Signals

- CVSS: 6.5 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- EPSS: 0.296%, percentile 23.88%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- org.springframework.kafka spring-kafka (Maven): ≥ 4.0.0, \< 4.0.6 \| ≥ 3.3.0, \< 3.3.16 \| ≥ 3.2.0, ≤ 3.2.13 \| ≥ 2.9.0, ≤ 2.9.13 \| ≤ 2.8.11
- spring spring for apache kafka: ≥ 4.0.0, \< 4.0.5.1 \| ≥ 3.3.0, \< 3.3.15.1 \| ≥ 3.2.0, \< 3.2.14 \| ≥ 2.9.0, \< 2.9.14 \| ≥ 2.8.0, \< 2.8.12
- vmware spring\_for\_apache\_kafka: \< 2.8.12 \| ≥ 2.9.0, \< 2.9.14 \| ≥ 3.2.0, \< 3.2.14 \| ≥ 3.3.0, \< 3.3.15.1 \| ≥ 4.0.0, \< 4.0.5.1

## References

- <https://spring.io/security/cve-2026-41726>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-41726>
- <https://github.com/spring-projects/spring-kafka/issues/4489>
- <https://github.com/spring-projects/spring-kafka/commit/ca2337ba789c5778a10197bda17a62915247ff6c>
- <https://github.com/spring-projects/spring-kafka>

---

Data as of 2026-12-05T04:12:10.915Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
