Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.springframework.kafka/spring-kafka
  4. ›
  5. CVE-2026-41726

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

June 10, 2026 (updated June 12, 2026)

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.

References

  • github.com/advisories/GHSA-xvfq-4q6q-gxx7
  • github.com/spring-projects/spring-kafka/commit/ca2337ba789c5778a10197bda17a62915247ff6c
  • github.com/spring-projects/spring-kafka/issues/4489
  • nvd.nist.gov/vuln/detail/CVE-2026-41726
  • spring.io/security/cve-2026-41726

Code Behaviors & Features

Detect and mitigate CVE-2026-41726 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions up to 2.8.11, all versions starting from 2.9.0 up to 2.9.13, all versions starting from 3.2.0 up to 3.2.13, all versions starting from 3.3.0 before 3.3.16, all versions starting from 4.0.0 before 4.0.6

Fixed versions

  • 3.3.16
  • 4.0.6

Solution

Upgrade to versions 3.3.16, 4.0.6 or above.

Impact 6.5 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-770: Allocation of Resources Without Limits or Throttling

Source file

maven/org.springframework.kafka/spring-kafka/CVE-2026-41726.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 23 Jun 2026 12:23:11 +0000.