MODERATE 6.5

CVE-2026-59317

In Spring for Apache Kafka, missing header validation in DeadLetterPublishingRecovererFactory enables denial of service via a poison-pill loop

Description

DeadLetterPublishingRecovererFactory reads the retry_topic-original-timestamp header from an inbound ConsumerRecord and passes its raw bytes directly to new BigInteger(header.value()) with no length or format validation. Spring for Apache Kafka 4.1.0 Spring for Apache Kafka 4.0.0 - 4.0.6 Spring for Apache Kafka 3.0.0 - 3.3.16 Spring for Apache Kafka 2.9.0 - 2.9.14 Spring for Apache Kafka 2.8.12 and earlier

Affected Maven artifacts (1)

ArtifactAffected versionsFixed in
org.springframework.kafka » spring-kafka
<= 2.8.12>= 2.9.0, <= 2.9.14>= 3.0.0, <= 3.3.16>= 4.0.0, <= 4.0.6= 4.1.0
-

Blast radius

1affected artifacts
286affected versions
1,452dependent artifacts (est.)
29,385dependent versions

68% of the dependent artifacts (999) still pull an affected version in their latest release.

DepthDependent versions
Direct
11,691
2 hops
9,216
3 hops
3,955
4 hops
2,925
5 hops
1,338
6 hops
260

Most used dependents

Computed from the dependency graph of build 20261128.0605 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.

References

Advisorygithub.com
Advisorynvd.nist.gov
Webspring.io