Improper Check for Unusual or Exceptional Conditions Affecting org.springframework.kafka:spring-kafka package, versions [,4.0.7)[4.1.0, 4.1.1)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.37% (30th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JAVA-ORGSPRINGFRAMEWORKKAFKA-19267472
  • published26 Aug 2026
  • disclosed20 Aug 2026
  • creditUnknown

Introduced: 20 Aug 2026

NewCVE-2026-59317  (opens in a new tab)
CWE-754  (opens in a new tab)

How to fix?

Upgrade org.springframework.kafka:spring-kafka to version 4.0.7, 4.1.1 or higher.

Overview

Affected versions of this package are vulnerable to Improper Check for Unusual or Exceptional Conditions via the DeadLetterPublishingRecovererFactory. An attacker can cause repeated failures and stall partition consumption by attaching a malformed retry_topic-original-timestamp header (such as a zero-length byte array) to a Kafka message, which triggers an unhandled exception and results in an infinite recovery loop.

CVSS Base Scores

version 4.0
version 3.1