Spring AMQP Per-Reply AMQP Sender Link Leak Enables Handle Exhaustion

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

Description

Every reply produced by an @AmqpListener method opens a new AMQP 1.0 sender link on the shared connection and never closes it. A peer able to publish request messages with a reply-to property to the listened address can drive the consumer to exhaust the session's link-handle limit (and heap). Once the limit is reached, all further replies and any other link creation on that connection fail, permanently degrading the listener until the application is restarted.

Applications are affected if they expose an @AmqpListener (or MethodAmqpListenerEndpoint) whose handler method returns a non-void result, and an attacker can publish messages to the listened AMQP address.

Affected Spring Products and Versions

Spring AMQP:

  • 4.1.0 - 4.1.2

Mitigation

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

No further mitigation steps are necessary.

Credit

This vulnerability was discovered and responsibly reported by Sharang Gupta (@sharanggupta).

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