Intel

AIKIDO-2026-372332

spring-amqp is vulnerable to Deserialization of Untrusted Data

Deserialization of Untrusted DataCVE-2026-59275 Published 6 days ago

66

Medium Risk

This Affects:

JAVAspring-amqp
0.0.1 - 4.0.4
Fixed in 4.0.5
4.1.0 - 4.1.0
Fixed in 4.1.1
Are you affected? Scan for Free

TL;DR

spring-amqp allow-listed Java deserialization can be bypassed with a nested-array payload that triggers StackOverflowError. The default JavaLangErrorHandler then calls System.exit(99) and terminates the whole JVM. A single hostile AMQP message can therefore stop every workload in that process. The patch rejects the nested-array bypass and no longer exits the JVM on that error path.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and the AMQP consumer deserializes Java payloads and uses the default JavaLangErrorHandler.

Background info

spring-amqp is vulnerable to Deserialization of Untrusted Data in versions 0.0.1 - 4.0.4 and 4.1.0 - 4.1.0.

How to fix this

Upgrade the org.springframework.amqp:spring-amqp library to the patch version.