CVE-2026-41726
JSON

6.5medium

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

Severity
6.5medium CVSS:3.1 by vmware
Exploit likelihood
0.42% (higher than 28% of CVEs)
Published
Last changed
Assigned by
vmware
Also known as
GHSA-xvfq-4q6q-gxx7

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.

Affected

Product or packageVersionsReported by
Spring Spring for Apache Kafkafrom 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.12CVE List
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.11GitHub Advisory Database
vmware spring_for_apache_kafkabefore 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.1NVD

All scores

vmware6.5medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
GitHub6.5medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Classification

CWE-770

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

Cuando una aplicación opta por DelegatingDeserializer, un productor puede aumentar el heap del consumidor sin límite enviando registros con valores de encabezado spring.kafka.serialization.selector únicos aleatorios, lo que finalmente causa agotamiento del GC y OutOfMemoryError. Versiones afectadas: Spring for Apache Kafka 4.0.0 hasta 4.0.5; 3.3.0 hasta 3.3.15; 3.2.0 hasta 3.2.13; 2.9.0 hasta 2.9.13; 2.8.0 hasta 2.8.11.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-41726 changed 2026-06-27CVE Terms of Use
GitHub Advisory DatabaseGHSA-xvfq-4q6q-gxx7 changed 2026-06-12CC-BY-4.0
NVDCVE-2026-41726 changed 2026-07-23Public domain