Description
The RabbitMQ Java client library allows Java and JVM-based applications to connect to and interact with RabbitMQ nodes. Prior to 5.37.0, com.rabbitmq.tools.json.JSONReader.read() fails to terminate when input ends inside a quoted string or a line comment because its string and whitespace scanners do not stop at CharacterIterator.DONE. The default DefaultJsonRpcMapper passes JSON-RPC message bodies to this parser for JsonRpcServer and client replies. A truncated string causes the parser to append replacement end markers until heap exhaustion, while a line comment without a terminating newline can keep a thread consuming CPU indefinitely, resulting in denial of service. This issue is fixed in version 5.37.0.
Affected products
vmware: rabbitmq java client
References5
- github.com/rabbitmq/rabbitmq-java-client/security/advisories/GH… ExploitVendor Advisory
- github.com/rabbitmq/rabbitmq-java-client/security/advisories/GH… ExploitVendor Advisory
- github.com/rabbitmq/rabbitmq-java-client/commit/25fad817291feff… Patch
- github.com/rabbitmq/rabbitmq-java-client/pull/2100 Patch
- github.com/rabbitmq/rabbitmq-java-client/releases/tag/v5.37.0 Release Notes
Metrics
- CVSS 3.1
-
7.5
HIGH
Score source: NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - EPSS — exploit probability
- 1% percentile: 45 · as of 10 November 2026
- CWE
- CWE-835
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.