Bug 2588440 (CVE-2026-59404)

Summary: CVE-2026-59404 org.springframework.amqp/spring-rabbit: Spring AMQP: Denial of Service via deeply nested message headers
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security DevOps Team <prodsec-dev>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: fmongiar, janstey, jnethert, tmielke
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
A flaw was found in Spring AMQP. A remote attacker with permission to publish messages to a queue can send a crafted message containing deeply nested header structures. When converting the message properties, unbounded recursion triggers a stack overflow error in the consumer thread. Repeated redelivery of the unacknowledged message causes a continuous crash loop, resulting in a Denial of Service (DoS).
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description OSIDB Bzimport 2026-12-02 07:33:27 UTC
DefaultMessagePropertiesConverter recurses into nested List and Map header values when converting LongString instances, without any depth limit.
AMQP 0-9-1 field-arrays and field-tables may nest arbitrarily, so a single crafted message with deeply nested headers (a few tens of KB on the wire) triggers a StackOverflowError in the consumer thread before any application code is reached.
If the broker redelivers the unacknowledged message, the listener container enters a crash loop, resulting in a denial of service.

 Applications are affected if they consume messages with a Spring AMQP listener container or RabbitTemplate.receive() from a queue to which an attacker can publish messages.