CVE-2026-106121: CWE-835: Loop with Unreachable Exit Condition ('Infinite Loop') in rabbitmq rabbitmq-java-client
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.
CVSS v3.1
Score 4.9medium
Affected software
rabbitmq
rabbitmq-java-client
com.rabbitmq
amqp-client
pkg:maven/com.rabbitmq/rabbitmq-java-clientRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The RabbitMQ Java client library's JSONReader.read() method fails to terminate properly when the input ends inside a quoted string or a line comment because its string and whitespace scanners do not stop at CharacterIterator.DONE. This results in an infinite loop that either exhausts heap memory by appending replacement end markers or causes a thread to consume CPU indefinitely. The vulnerability affects JSON-RPC message parsing in JsonRpcServer and client replies. The issue is resolved in version 5.37.0.
Potential Impact
An attacker can cause a denial of service by providing malformed JSON input that triggers an infinite loop or heap exhaustion in the JSON parser. This leads to high CPU usage or memory exhaustion, potentially disrupting application availability. There is no impact on confidentiality or integrity.
Mitigation Recommendations
Upgrade to rabbitmq-java-client version 5.37.0 or later where this issue is fixed. No other mitigations are specified.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-10-06T15:33:55.333Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6ac53b952cdf04f656d07134
Added to database: 10/06/2026, 18:19:01 UTC
Last enriched: 10/06/2026, 18:33:35 UTC
Last updated: 10/06/2026, 19:04:17 UTC
Views: 12
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.