Intel

AIKIDO-2026-644472

spring-kafka is vulnerable to Denial of Service (DoS)

Denial of Service (DoS)CVE-2026-59317 Published 5 days ago

65

Medium Risk

This Affects:

JAVAspring-kafka
0.0.1 - 4.0.6
Fixed in 4.0.7
4.1.0 - 4.1.0
Fixed in 4.1.1
Are you affected? Scan for Free

TL;DR

spring-kafka DeadLetterPublishingRecovererFactory parses retry_topic-original-timestamp with new BigInteger(header.value()) and no length check. A producer can attach a malformed header, throw NumberFormatException, and abort dead-letter publication. The error handler then seeks back to the same offset and the partition stalls. The patch validates the header before parsing.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and @RetryableTopic listeners use DeadLetterPublishingRecovererFactory.

Background info

spring-kafka is vulnerable to Denial of Service (DoS) in versions 0.0.1 - 4.0.6 and 4.1.0 - 4.1.0.

How to fix this

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