Exploited now
Vulnerability WatchVulnerabilities, exploits & advisories — updated every 15 minutes
Alerts

Home › Vulnerabilities › Spring

Medium 6.5 3 CVEs Analysis

Spring AMQP Batch Enables Denial of Service and Header Spoofing via Crafted Messages

NVD published three MEDIUM-rated Spring AMQP vulnerabilities on 2026-12-02. Two can disrupt message consumers through crafted messages (CVSS 6.5), and one lets a publisher overwrite trusted framework headers (CVSS 4.2).

What to look into

  • 3 vulnerabilities in Spring AMQP: 3 medium (CVSS up to 6.5).
  • None of them is known to be exploited yet.
  • Start with CVE-2026-59404 (6.5 medium): 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 arbi… An attacker with a normal user account can exploit this over the network, without any user action.
  • 0 of 3 can be attacked over the network without logging in.
Cloud & containersVulnerabilities

Key points

  • Two MEDIUM (CVSS 6.5) denial-of-service flaws: CVE-2026-59404 (nested header recursion) and CVE-2026-59403 (unclosed reply links).
  • One MEDIUM (CVSS 4.2) flaw, CVE-2026-59395, lets publishers overwrite trusted AMQP framework headers.
  • All three need an attacker able to publish messages to a listened queue or address.
  • The records do not state any known exploitation or a fixed version.

Overview

NVD published three Spring AMQP vulnerabilities on 2026-12-02, all rated MEDIUM. Two are denial-of-service issues rated CVSS 6.5, and one is a header-integrity issue rated CVSS 4.2. The records do not state that any of them are known to be exploited.

Denial of service through crafted messages

CVE-2026-59404 affects DefaultMessagePropertiesConverter. When converting LongString instances, it recurses into nested List and Map header values with no depth limit. According to the record, a single message with deeply nested headers, a few tens of kilobytes on the wire, can cause a StackOverflowError in the consumer thread. If the broker redelivers that message, the listener container can enter a crash loop.

CVE-2026-59403 affects @AmqpListener methods that return a non-void result. Each reply 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 can exhaust the session's link-handle limit and heap. Per the record, once the limit is reached, further replies and link creation on that connection fail until the application is restarted.

Both issues require an attacker who can publish messages to the affected queue or address.

Header spoofing

CVE-2026-59395 affects SimpleAmqpHeaderMapper.toHeaders(). The method first sets framework-derived values from the received message properties, then copies raw AMQP headers that the publisher controls. A publisher can therefore use header names that collide with AMQP constants, such as amqpreceivedUserId, and replace the trusted values that @RabbitListener handlers read. The record flags this as a concern where applications rely on AmqpHeaders.RECEIVEDUSERID or AmqpHeaders.CONSUMERQUEUE for authorization or routing.

What the records leave open

The sources do not name a fixed version, a patch, or a workaround for any of the three issues.

What to do

  1. Identify listeners that consume from queues or addresses where untrusted parties can publish, including those using RabbitTemplate.receive() or non-void @AmqpListener handlers.
  2. Check whether applications use AmqpHeaders.RECEIVEDUSERID or AmqpHeaders.CONSUMERQUEUE for authorization or routing decisions, since CVE-2026-59395 affects them.
  3. Consult the official Spring AMQP advisories for a fixed version, because the sources do not name one.

Our article about all 3 vulnerabilities, written with AI assistance from the official records listed below. Each CVE's page has its details.

The 3 vulnerabilities

  • CVE-2026-59404 6.5 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 wit…
  • CVE-2026-59403 6.5 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…
  • CVE-2026-59395 4.2 SimpleAmqpHeaderMapper.toHeaders() first populates the Spring Messaging headers with framework-derived values from the received MessageProperties (such as amqpreceivedUserId , amqpconsumerQueue , amqpdeliveryTag and amqpredelivered ) and t…

Frequently asked questions

How many Spring AMQP vulnerabilities were published on December 2, 2026?

3 vulnerabilities: 3 medium, with CVSS scores up to 6.5.

Are any of them being exploited?

None of them is in CISA's Known Exploited Vulnerabilities catalog yet.

Which one should be fixed first?

CVE-2026-59404 (CVSS 6.5): 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 arbi…

Original records