CVE-2026-59404 PUBLISHED

Spring AMQP Unbounded Recursion over Nested AMQP Header Field-Arrays/Field-Tables

Assigner: vmware
Reserved: 04.07.2026 Published: 02.12.2026 Updated: 02.12.2026

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.

Metrics

CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CVSS Score: 6.5

Product Status

Vendor Spring
Product Spring AMQP
Versions
  • affected from 4.1.0 to 4.1.2.1 (excl.)
  • affected from 4.0.0 to 4.0.6.1 (excl.)
  • affected from 3.0.0 to 3.2.14 (excl.)
  • affected from 0 to 2.4.20 (excl.)
  • affected from 4.1.0 to 4.1.3 (excl.)
  • affected from 4.0.0 to 4.0.7 (excl.)

References