CVE-2026-59403: Spring AMQP Per-Reply AMQP Sender Link Leak Enables Handle Exhaustion
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 Software
Event History
Frequently Asked Questions
Which deployments are exposed to this issue?
Applications are affected when an @AmqpListener or MethodAmqpListenerEndpoint handler returns a non-void result and processes messages sent to its listened AMQP address. The issue requires AMQP 1.0 reply handling on the shared connection.
What access does an attacker need?
An attacker must be able to publish request messages to the listened AMQP address and include a reply-to property. No user interaction is required.
What is the operational impact after exploitation?
Repeated requests can exhaust the session link-handle limit and heap. Further replies and other link creation on the affected connection fail, degrading the listener until the application is restarted.
What can be done if a restart is needed?
Restarting the application restores operation after the affected connection has reached its link-handle limit. This does not prevent recurrence if an attacker can continue publishing qualifying requests.