CVE-2026-41726: CWE-770: Allocation of Resources Without Limits or Throttling in Spring Spring for Apache Kafka
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.
AI Analysis
Technical Summary
This vulnerability (CVE-2026-41726) in Spring for Apache Kafka arises from the DelegatingDeserializer feature, which allows a producer to cause uncontrolled heap memory growth in the consumer by sending records with unique random spring.kafka.serialization.selector header values. This behavior leads to excessive resource consumption, causing garbage collection thrashing and potentially an OutOfMemoryError, resulting in denial of service. The affected versions include Spring for Apache Kafka 2.8.0 through 2.8.11, 2.9.0 through 2.9.13, 3.2.0 through 3.2.13, 3.3.0 through 3.3.15, and 4.0.0 through 4.0.5. The vulnerability is classified under CWE-770 (Allocation of Resources Without Limits or Throttling). There is no vendor advisory or patch information available at this time.
Potential Impact
The vulnerability can cause denial of service by exhausting the consumer application's heap memory through unbounded allocation triggered by crafted Kafka records. This leads to garbage collection thrashing and eventual OutOfMemoryError, which can disrupt normal application operations and availability. There is no impact on confidentiality or integrity reported.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, consider disabling or avoiding the use of DelegatingDeserializer if feasible, or implement application-level controls to limit or validate the spring.kafka.serialization.selector header values to prevent unbounded resource consumption.
CVE-2026-41726: CWE-770: Allocation of Resources Without Limits or Throttling in Spring Spring for Apache Kafka
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.
CVSS v3.1
Score 6.5medium
Affected software
pkg:maven/org.springframework.kafka/spring-kafkaRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability (CVE-2026-41726) in Spring for Apache Kafka arises from the DelegatingDeserializer feature, which allows a producer to cause uncontrolled heap memory growth in the consumer by sending records with unique random spring.kafka.serialization.selector header values. This behavior leads to excessive resource consumption, causing garbage collection thrashing and potentially an OutOfMemoryError, resulting in denial of service. The affected versions include Spring for Apache Kafka 2.8.0 through 2.8.11, 2.9.0 through 2.9.13, 3.2.0 through 3.2.13, 3.3.0 through 3.3.15, and 4.0.0 through 4.0.5. The vulnerability is classified under CWE-770 (Allocation of Resources Without Limits or Throttling). There is no vendor advisory or patch information available at this time.
Potential Impact
The vulnerability can cause denial of service by exhausting the consumer application's heap memory through unbounded allocation triggered by crafted Kafka records. This leads to garbage collection thrashing and eventual OutOfMemoryError, which can disrupt normal application operations and availability. There is no impact on confidentiality or integrity reported.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, consider disabling or avoiding the use of DelegatingDeserializer if feasible, or implement application-level controls to limit or validate the spring.kafka.serialization.selector header values to prevent unbounded resource consumption.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- vmware
- Date Reserved
- 2026-04-22T06:21:39.014Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a28a8068dd33fbd8595efcf
Added to database: 06/09/2026, 23:55:50 UTC
Last enriched: 06/28/2026, 21:00:41 UTC
Last updated: 07/31/2026, 19:22:58 UTC
Views: 66
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.