All reports
Medium

org.springframework.amqp/spring-amqp: Spring AMQP: Denial of Service due to link credit exhaustion

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2026-59320

Probability of exploitation in the next 30 days: 0.42%

FIRST EPSS · 2026-11-19

Description

When a container-level ErrorHandler is configured (the mitigation for finding 221000), each delivery whose processing throws still permanently consumes one link credit. After initialCredits (default 100) failing messages the receiver's credit reaches zero and the broker stops delivering, leaving the listener silently stalled while isRunning() remains true. Spring AMQP 4.1.0

A flaw was found in Spring AMQP. When a container-level ErrorHandler is configured, the system incorrectly consumes link credits for messages that fail processing. After a threshold of failing messages, the receiver's credit depletes, causing the message broker to cease message delivery. This can lead to the listener silently stalling, resulting in a denial of service (DoS) for the application.