Uncontrolled Recursion Affecting org.springframework.amqp:spring-rabbit package, versions [,4.0.7)[4.1.0-M1,4.1.3)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JAVA-ORGSPRINGFRAMEWORKAMQP-22732069
  • published22 Nov 2026
  • disclosed19 Nov 2026
  • creditUnknown

Introduced: 19 Nov 2026

NewCVE-2026-59404  (opens in a new tab)
CWE-674  (opens in a new tab)

How to fix?

Upgrade org.springframework.amqp:spring-rabbit to version 4.0.7, 4.1.3 or higher.

Overview

Affected versions of this package are vulnerable to Uncontrolled Recursion in the DefaultMessagePropertiesConverter class, which recurses into nested List and Map AMQP header values when converting LongString instances without limiting the nesting depth. An attacker who can publish to a consumed queue can send a message with deeply nested field-arrays or field-tables (a few tens of kilobytes) to raise a StackOverflowError on the consumer thread. If the broker redelivers the unacknowledged message, the listener container enters a crash loop, denying service.

CVSS Base Scores

version 4.0
version 3.1