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

Published Jun 9, 2026
·
Updated

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.

Affected Software

6 affected components
maven/org.springframework.kafka/spring-kafka>=4.0.0<=4.0.5, >=3.3.0<=3.3.15, >=3.2.0<=3.2.13, >=2.9.0<=2.9.13, >=2.8.0<=2.8.11
VMware Spring For Apache Kafka<2.8.12
VMware Spring For Apache Kafka>=2.9.0<2.9.14
VMware Spring For Apache Kafka>=3.2.0<3.2.14
VMware Spring For Apache Kafka>=3.3.0<3.3.15.1
VMware Spring For Apache Kafka>=4.0.0<4.0.5.1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Configuration

    Do not use DelegatingDeserializer when the records (specifically the spring.kafka.serialization.selector header) can be influenced by an untrusted producer; ensure the selector/header values are not user-controlled and cannot grow the delegate cache without bound.

    Spring for Apache Kafka (DelegatingDeserializer / kafka serialization) spring.kafka.serialization.selector header usage = Do not allow a user-controlled/unbounded selector value to be used as a cache key (avoid DelegatingDeserializer with untrusted data)

Event History

Jun 9, 2026
CVE Published
via MITRE·11:48 PM
Data Sourced
via MITRE·11:48 PM
DescriptionSeverityWeakness
Jun 10, 2026
Data Sourced
via NVD·12:16 AM
DescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-41726?

CVE-2026-41726 has a medium severity rating of 6.5.

2

How do I fix CVE-2026-41726?

To fix CVE-2026-41726, upgrade to a non-vulnerable version of Spring for Apache Kafka that addresses this issue.

3

What systems are affected by CVE-2026-41726?

CVE-2026-41726 affects applications using Spring for Apache Kafka 4.0.0 and potentially earlier versions that enable DelegatingDeserializer.

4

What is the risk associated with CVE-2026-41726?

The risk associated with CVE-2026-41726 is the potential for memory exhaustion leading to OutOfMemoryError due to unbounded cache growth.

5

What is the exploit scenario for CVE-2026-41726?

The exploit scenario for CVE-2026-41726 involves a producer sending records with unique random spring.kafka.serialization.selector header values, overwhelming the consumer's heap.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203