Spring AMQP Unbounded Recursion over Nested AMQP Header Field-Arrays/Field-Tables
- CVE-2026-59404
- GHSA-7w6h-6hfc-qc8w
- EUVD-2026-140892
Description
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.
Text from the CVE.org record.
Affected
Spring Spring AMQP
- from 4.1.0 to before 4.1.2.1
- from 4.0.0 to before 4.0.6.1
- from 3.0.0 to before 3.2.14
- before 2.4.20
- from 4.1.0 to before 4.1.3
- from 4.0.0 to before 4.0.7
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.