CVE-2026-59403info

Summary

by MITRE • 12/02/2026

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.

VulDB is the best source for vulnerability data and more expert information about this specific topic.

Analysis

by VulDB Data Team • 12/02/2026

The vulnerability described constitutes a resource exhaustion flaw within Spring AMQP implementations that utilize the AmqpListener annotation for message consumption over AMQP 1.0 connections. The core technical deficiency lies in the lifecycle management of sender links associated with reply mechanisms. When an application exposes an endpoint configured via @AmqpListener or MethodAmqpListenerEndpoint, and the handler method is designed to return a non-void result, the framework automatically initiates a new AMQP 1.0 sender link on the shared connection for every single message processed. This design choice assumes that each reply requires its own dedicated communication channel, but critically fails to implement proper cleanup procedures to close these links after the response has been transmitted or when the processing context concludes.

This architectural oversight creates a direct path for denial of service attacks against any application exposing such listeners on an address accessible by untrusted parties. An attacker capable of publishing request messages with a reply-to property set to the listened address can trigger this behavior repeatedly. Each published message causes the consumer side to allocate resources and establish a new sender link without ever releasing it. Over time, as the volume of malicious requests increases, the number of open links accumulates rapidly. This accumulation directly impacts two critical system resources: the session's link-handle limit and the application heap memory space allocated for managing these connection objects.

The operational impact is severe and results in a permanent degradation of service availability until manual intervention occurs. AMQP 1.0 sessions have strict limits on the number of concurrent links that can be open simultaneously, defined by protocol constraints and broker configurations. Once the consumer exhausts this link-handle limit due to the unchecked creation of sender links, all subsequent operations fail. This includes not only new replies but also any other legitimate link creations required for normal AMQP communication on that specific connection. Consequently, the listener becomes effectively paralyzed, unable to process further messages or send responses, rendering the service unavailable. The state persists until the application is restarted, which clears the accumulated links and resets the session counters.

From a classification perspective, this vulnerability aligns with CWE-787: Out-of-bounds Write in terms of resource allocation limits being exceeded, though more accurately it falls under CWE-400: Uncontrolled Resource Consumption. The attack vector is categorized within MITRE ATT&CK as T1499: Endpoint Denial of Service, specifically leveraging application logic flaws to exhaust system resources rather than network bandwidth or CPU cycles alone. This distinction highlights that the primary damage is to the availability of the messaging infrastructure and the specific service instance hosting the listener.

Mitigation strategies must focus on correcting the lifecycle management of AMQP links within the framework configuration or code implementation. Developers should ensure that any sender link created for reply purposes is explicitly closed after use, either through explicit API calls in custom listeners or by configuring the message converter to handle replies without creating persistent per-message links where possible. If using standard Spring AMQP features, upgrading to a patched version of the library that addresses this resource leak is essential. Additionally, implementing rate limiting on the exposed AMQP address can reduce the attack surface by preventing an attacker from flooding the listener with high volumes of request messages before the link limit is reached. Monitoring tools should be configured to alert on abnormal increases in open links per connection to detect such attacks early.

Disclosure

12/02/2026

Moderation

in review

EPSS

0.00000

KEV

no

Activities

very low

Sources

Do you know our Splunk app?

Download it now for free!