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.
Fix
Patch, vendor advisory and mitigation references on NVD 4
- https://github.com/rabbitmq/rabbitmq-java-client/commit/25fad817291feff3195c32620117d295598f8b41 Patch
- https://github.com/rabbitmq/rabbitmq-java-client/pull/2100 Patch
- https://github.com/rabbitmq/rabbitmq-java-client/security/advisories/GHSA-cqgh-8p3p-mx4m Exploit, Vendor Advisory
- https://github.com/rabbitmq/rabbitmq-java-client/security/advisories/GHSA-cqgh-8p3p-mx4m Exploit, Vendor Advisory
Every line above is quoted from NVD, CISA, Microsoft, the vendor's own advisory or DISA; nothing is generated.
Change history 1
- First seenCVSS 7.5 · vmwareNVD modified 2026-10-09 18:26
Affected (CPE criteria) 1
cpe:2.3:a:vmware:rabbitmq_java_client:*:*:*:*:*:*:*:*
References 5
- https://github.com/rabbitmq/rabbitmq-java-client/commit/25fad817291feff3195c32620117d295598f8b41 Patch
- https://github.com/rabbitmq/rabbitmq-java-client/pull/2100 Patch
- https://github.com/rabbitmq/rabbitmq-java-client/releases/tag/v5.37.0 Release Notes
- https://github.com/rabbitmq/rabbitmq-java-client/security/advisories/GHSA-cqgh-8p3p-mx4m Exploit, Vendor Advisory
- https://github.com/rabbitmq/rabbitmq-java-client/security/advisories/GHSA-cqgh-8p3p-mx4m Exploit, Vendor Advisory