{"id":"CVE-2026-41726","summary":"In Spring for Apache Kafka, unbounded delegate cache keyed on user-controlled, potentially malicious selector header","details":"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.\n\nAffected versions:\nSpring 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.","aliases":["GHSA-xvfq-4q6q-gxx7"],"modified":"2026-08-12T03:51:31.466471239Z","published":"2026-06-09T23:48:51.048Z","database_specific":{"unresolved_ranges":[{"extracted_events":[{"introduced":"4.0.0"},{"fixed":"4.0.5.1"},{"introduced":"3.3.0"},{"fixed":"3.3.15.1"},{"introduced":"3.2.0"},{"fixed":"3.2.14"},{"introduced":"2.9.0"},{"fixed":"2.9.14"},{"introduced":"2.8.0"},{"fixed":"2.8.12"}],"source":"AFFECTED_FIELD"},{"extracted_events":[{"introduced":"4.0.0"},{"fixed":"4.0.5"},{"introduced":"3.3.0"},{"fixed":"3.3.15"},{"introduced":"3.2.0"},{"fixed":"3.2.13"},{"introduced":"2.9.0"},{"fixed":"2.9.13"},{"introduced":"2.8.0"},{"fixed":"2.8.11"}],"source":"DESCRIPTION"}],"cna_assigner":"vmware","cwe_ids":["CWE-770"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/41xxx/CVE-2026-41726.json"},"references":[{"type":"WEB","url":"https://spring.io/security/cve-2026-41726"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/41xxx/CVE-2026-41726.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-41726"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/spring-projects/spring-kafka","events":[{"introduced":"f1b207daac91ddc880c0883ec759809464c78700"},{"fixed":"4fef8fb7a43d18042468233e8aea1ab34f5c842f"},{"introduced":"a9001bf4c2cae68ad5d58c65d4d588922fec00f6"},{"fixed":"5572a82b1a6c931d9a1656cadf8ba3df59102492"},{"introduced":"1d8378bff7169aa7c111857c1dab0c6f8c330e3f"},{"fixed":"9f3fefff292c25c972ffbc7122a30c776e37e018"},{"introduced":"fb5b3ea1976cbd7846d5df555fa5e687b68364d9"},{"fixed":"d3b3f85a3cf6571e4b2f4b64641e281050459ca7"}],"database_specific":{"extracted_events":[{"introduced":"4.0.0"},{"fixed":"4.0.5"},{"introduced":"3.3.0"},{"fixed":"3.3.15"},{"introduced":"2.9.0"},{"fixed":"2.9.13"},{"introduced":"2.8.0"},{"fixed":"2.8.11"}],"source":"DESCRIPTION"}}],"versions":["v4.0.4","v3.3.14","v4.0.3","v3.3.13","v4.0.2","v3.3.12","v4.0.1","v4.0.0","v3.3.11","v3.3.10","v3.3.9","v3.3.8","v3.3.7","v3.3.6","v3.3.5","v3.3.4","v3.3.3","v3.3.2","v3.3.1","v3.3.0","v2.9.12","v2.9.11","v2.9.10","v2.9.9","v2.9.8","v2.9.7","v2.9.6","v2.9.5","v2.9.4","v2.9.3","v2.9.2","v2.8.10","v2.9.1","v2.8.9","v2.9.0","v2.8.8","v2.8.7","v2.8.6","v2.8.5","v2.8.4","v2.8.3","v2.8.2","v2.8.1","v2.8.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-41726.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"}]}