Intel

AIKIDO-2026-11176

spring-kafka is vulnerable to Allocation of Resources Without Limits or Throttling

Allocation of Resources Without Limits or ThrottlingCVE-2026-41726 Published Today

55

Medium Risk

This Affects:

JAVAspring-kafka
0.0.1 - 2.8.11
Fixed in 2.8.12
2.9.0 - 2.9.13
Fixed in 2.9.14
3.0.0 - 3.2.13
Fixed in 3.2.14
3.3.0 - 3.3.15
Fixed in 3.3.15.1
4.0.0 - 4.0.5
Fixed in 4.0.5.1
Are you affected? Scan for Free

TL;DR

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.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and if you explicitly configured DelegatingDeserializer.

Background info

spring-kafka is vulnerable to Allocation of Resources Without Limits or Throttling in versions 0.0.1 - 2.8.11, 2.9.0 - 2.9.13, 3.0.0 - 3.2.13, 3.3.0 - 3.3.15 and 4.0.0 - 4.0.5.

How to fix this

Upgrade the org.springframework.kafka:spring-kafka library to the patch version.