Skip to main content

CVE-2026-106121: CWE-835: Loop with Unreachable Exit Condition ('Infinite Loop') in rabbitmq rabbitmq-java-client

0
Medium
VulnerabilityCVE-2026-106121cvecve-2026-106121cwe-835
Published: 10/06/2026 (10/06/2026, 18:08:52 UTC)
Source: CVE Database V5
Vendor/Project: rabbitmq
Product: 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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H

Affected software

rabbitmq

rabbitmq-java-client

Affected versions
<5.36.1

com.rabbitmq

amqp-client

Affected versions
<5.36.1
com.rabbitmq/rabbitmq-java-client
pkg:maven/com.rabbitmq/rabbitmq-java-client
Affected versions
<5.37.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/06/2026, 18:33:35 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses