CVE-2026-59404
Spring AMQP Unbounded Recursion over Nested AMQP Header Field-Arrays/Field-Tables
- Severity
- medium CVSS 6.5 (v3.1)
- Affects
- Spring AMQP · Spring
- Published
- 2 December 2026 by vmware
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.
Our coverage
We have not written about this one. Know why it matters? Send a tip.