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

MEDIUM | NOVEMBER 19, 2026 | CVE-2026-59404

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.

Affected Spring Products and Versions

Spring AMQP:

  • 4.1.0 - 4.1.2
  • 4.0.0 - 4.0.6
  • 3.0.0 - 3.2.13
  • 2.4.19 and earlier

Mitigation

Users of affected versions should upgrade to the corresponding fixed version.
Fix versionAvailability
4.1.3OSS
4.1.2.1Enterprise Support Only
4.0.7OSS
4.0.6.1Enterprise Support Only
3.2.14Enterprise Support Only
2.4.20Enterprise Support Only

No further mitigation steps are necessary.

History

  • 2026-11-19: Initial vulnerability report published.

Get ahead

VMware offers training and certification to turbo-charge your progress.

Learn more

Get support

TrueSource Spring Enterprise offers support and binaries for OpenJDK™, Spring, and Apache Tomcat® in one simple subscription.

Learn more

Upcoming events

Check out all the upcoming events in the Spring community.

View all