# CVE-2026-59404: Spring AMQP Unbounded Recursion over Nested AMQP Header Field-Arrays/Field-Tables

- Priority: **Routine**
- Reason: Not severe (CVSS 6.5, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-12-02 · Modified: 2026-12-02
- Record: https://cvemate.com/vulnerability/CVE-2026-59404 · JSON: https://cvemate.com/vulnerability/CVE-2026-59404/json

## Description

```text
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.
```

## Signals

- CVSS: 6.5 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- EPSS: 0.54%, percentile 46.902%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- spring spring amqp: ≥ 4.1.0, \< 4.1.2.1 \| ≥ 4.0.0, \< 4.0.6.1 \| ≥ 3.0.0, \< 3.2.14 \| \< 2.4.20 \| ≥ 4.1.0, \< 4.1.3 \| ≥ 4.0.0, \< 4.0.7

## References

- <https://spring.io/security/cve-2026-59404>
- <https://nvd.nist.gov/vuln-metrics/cvss/v3-calculator?vector=AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H&version=3.1>

---

Data as of 2026-12-05T03:57:11.291Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
