What’s Vulnerable › Vulnerabilities

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 products

How to fix

Upgrade to a fixed version: Spring for Apache Kafka 4.0.7, 4.1.1. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-59317 or the next vulnerability affects your stack