Skip to main content

RabbitMQ Java Client CVE-2026-106121

| EUVDEUVD-2026-93773 HIGH
Loop with Unreachable Exit Condition (Infinite Loop) (CWE-835)
2026-10-06 GitHub_M GHSA-cqgh-8p3p-mx4m
7.5
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Gain publish access to RPC request queue
  2. Delivery
    Send single truncated JSON-RPC body
  3. Exploit
    JSONReader loops past CharacterIterator.DONE
  4. Execution
    Heap exhausted or thread pinned at 100% CPU
  5. Impact
    JSON-RPC endpoint/JVM denial of service

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Loop termination conditions
MITRE ATT&CK

1 technique across 1 tactic: Impact

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitable ONLY when the application uses the deprecated com.rabbitmq.tools.jsonrpc JSON-RPC-over-AMQP tooling (JsonRpcServer or JsonRpcClient) with the default DefaultJsonRpcMapper - i.e. no custom mapper is passed, so the raw message body is handed to JSONReader.read(). The attacker must be able to deliver a body to that parser: publishing to the RPC request queue to hit the server, or acting as a malicious/MITM'd JSON-RPC service to hit a client. The trigger is a body that ends inside a quoted string or a // line comment. LIMITING FACTORS: applications that migrated to JacksonJsonRpcMapper are NOT affected; publishing to a RabbitMQ queue generally requires AMQP broker credentials and appropriate permissions; and the issue only manifests on versions prior to the fix (see version discrepancy in confidence_notes). No user interaction is required and the malformed body is a single small message.

Impact

Signals are mixed and point to a real but conditional availability risk rather than a top-tier emergency. The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H, base 7.5) describes a low-complexity, network-reachable denial of service with no confidentiality or integrity impact, triggerable by a single small message. CISA's SSVC framing aligns: exploitation is 'poc' (not active), 'automatable: no', and technical impact 'partial' - consistent with a one-shot DoS rather than wormable mass exploitation. EPSS is low at 0.49% (40th percentile), and the vulnerability is NOT in CISA KEV, so there is no evidence of in-the-wild use. The key tension is between the PR:N rating and the actual reachability: the flaw is only exploitable in applications that use the deprecated com.rabbitmq.tools.jsonrpc JSON-RPC-over-AMQP tooling with the default DefaultJsonRpcMapper, and the attacker must be able to publish to the RPC request queue (server side) or control/MITM the JSON-RPC service (client side) - publishing to a RabbitMQ queue typically itself requires AMQP credentials, so the 'unauthenticated' framing in the advisory refers to the parser accepting any body, not to zero trust at the broker. Net: a legitimately high CVSS-A score for affected deployments, but the narrow applicability (deprecated feature, non-default mapper required to avoid it) and low EPSS/no-KEV make this a patch-in-normal-cycle item for most, and higher priority only for the subset actually running JSON-RPC-over-AMQP.

Exploit ScenarioDerived

An application exposes a JsonRpcServer backed by the default DefaultJsonRpcMapper over RabbitMQ. An attacker (or compromised client) with the ability to publish to the RPC request queue sends a single malformed body such as {"method":"x (an unterminated string) or // (an unterminated line comment). JSONReader.read() never terminates: the string case appends CharacterIterator.DONE markers until OutOfMemoryError kills the JVM, and the comment case pins a thread at 100% CPU. A working proof-of-concept is published in the GHSA advisory and reproduces against amqp-client 5.36.0 from Maven Central in about 0.1 seconds.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.5% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv2 – Oct 09, 2026

Denial of service in the RabbitMQ Java client (com.rabbitmq:amqp-client / rabbitmq-java-client) prior to the fixed release allows a single small, malformed JSON-RPC message body to permanently hang or crash a JVM. The deprecated com.rabbitmq.tools.jsonrpc tooling - JsonRpcServer and JsonRpcClient - falls back to DefaultJsonRpcMapper when no mapper is supplied, and that mapper hands raw message bodies straight to JSONReader.read(), whose string and comment scanners fail to stop at CharacterIterator.DONE. An input truncated inside a quoted string drives the parser into an unending append loop that exhausts the heap with OutOfMemoryError, while an unterminated // line comment pins a thread at 100% CPU indefinitely; neither condition is recoverable per request. Publicly available exploit code exists (a proof-of-concept is included in the vendor advisory) and the CVE is tracked by CISA SSVC with Exploitation=poc and Technical Impact=partial, though EPSS probability is low at roughly 0.49% (40th percentile) and no CISA KEV listing is present. The CVSS vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H indicates a network-reachable, unauthenticated availability-only impact.

Earlier versions of this analysis (1)
v1 Oct 06, 2026 - 19:04 CVSS 4.9

Malformed JSON-RPC message bodies can cause denial of service in RabbitMQ Java Client versions prior to 5.37.0. The flaw is in com.rabbitmq.tools.json.JSONReader.read(), which fails to stop at CharacterIterator.DONE when input ends inside a quoted string or a line comment; this can lead to heap exhaustion from appended replacement end markers or a thread spinning on CPU indefinitely. Only applications using the JSON-RPC helper classes (JsonRpcServer or client replies via DefaultJsonRpcMapper) are affected, not normal AMQP messaging, and exploitation requires the ability to deliver a request body to that JSON-RPC server, implying authenticated AMQP access rather than anonymous reach. No CISA KEV active exploitation is indicated, and no public exploit identified at time of analysis.

RemediationAI

Vendor-released patch: upgrade to RabbitMQ Java client 5.37.0 (https://github.com/rabbitmq/rabbitmq-java-client/releases/tag/v5.37.0), which adds a CharacterIterator.DONE guard to JSONReader.skipWhiteSpace() and throws IllegalStateException from the string scanner on truncated input, and broadens JsonRpcServer.doCall's catch to RuntimeException so a malformed body cannot take down the server; the underlying change is in pull request https://github.com/rabbitmq/rabbitmq-java-client/pull/2100 and commit 25fad817291feff3195c32620117d295598f8b41 - note that the EUVD and package metadata list 5.36.1 as the first fixed release, so confirm the appropriate minimum version against the vendor advisory before pinning. If immediate upgrade is not possible, the most effective compensating control is to stop using the deprecated JSON-RPC-over-AMQP tooling and pass JacksonJsonRpcMapper explicitly wherever a mapper can be supplied (or migrate the RPC layer off com.rabbitmq.tools.jsonrpc altogether), which removes the vulnerable parse path with the trade-off of a code change and behavioural differences from the legacy mapper; additionally restrict who may publish to JSON-RPC request queues so that only trusted producers with valid AMQP credentials and write permissions can reach the parser, and wrap RPC handling so that parser IllegalStateException/RuntimeException is contained per request - accepting that this does not contain an OutOfMemoryError once heap exhaustion begins. Where the client is the target, validate or isolate untrusted JSON-RPC services (network segmentation, TLS with certificate validation to blunt the MITM scenario described in the advisory) rather than relying on parser-side defenses.

Affected VersionsENISA

rabbitmq-java-client < 5.36.1
amqp-client < 5.36.1

Affected Packages

maven com.rabbitmq:amqp-client fix: 5.36.1
euvd amqp_client fix: 5.36.1
euvd rabbitmq_java_client fix: 5.36.1

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 3 packages in maven, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The root cause is CWE-835 (Loop with Unreachable Exit Condition, i.e. an infinite loop) in com.rabbitmq.tools.json.JSONReader. The parser walks its input using StringCharacterIterator.next() but compares the returned character only against a delimiter (the string separator in string() and '\n' in skipWhiteSpace()). When the iterator reaches CharacterIterator.DONE, the comparison never matches, so the loop never exits. The two failure modes differ in resource consumption: the string scanner appends the DONE sentinel to a StringBuilder on every iteration, growing the heap until OutOfMemoryError kills the JVM, whereas the line-comment scanner allocates nothing and simply spins a thread at 100% CPU forever. Reachability is via the JSON-RPC-over-AMQP layer: DefaultJsonRpcMapper.parse() passes the raw AMQP message body to JSONReader.read() (server request path around JsonRpcServer.java:84/:114 and DefaultJsonRpcMapper.java:42; client reply path around JsonRpcClient.java:186 and DefaultJsonRpcMapper.java:52). JsonRpcServer.doCall only caught ClassCastException before the fix, so an OutOfMemoryError from a bogus body propagates beyond the request and affects the whole process. The bundled CPE entries (cpe:2.3:a:rabbitmq:rabbitmq-java-client and cpe:2.3:a:com.rabbitmq:amqp-client) identify the two coordinate names for the same Maven artifact. Both DefaultJsonRpcMapper and JSONReader are deprecated in favour of JacksonJsonRpcMapper, which avoids this code path entirely, but the deprecated classes still ship and remain the default when no mapper is explicitly configured.

Know when Rabbitmq gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY MEDIUM
NVD 7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 7.5 HIGH

A single network-delivered malformed body reliably crashes/hangs the endpoint with no auth or interaction at the parser (A:H only); applicability depends on using the deprecated JSON-RPC tooling, which is scope, not a base metric.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Red Hat 6.5 MEDIUM

Primary rating from Vendor (GitHub_M).

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

5
Analysis Updated
Oct 09, 2026 - 18:43 vuln.today
v2 - CVSS changed
Severity Changed
Oct 09, 2026 - 18:37 NVD
MEDIUM HIGH
CVSS changed
Oct 09, 2026 - 18:37 NVD
4.9 (MEDIUM) 7.5 (HIGH)
Patch available
Oct 06, 2026 - 20:04 EUVD
CVE Published
Oct 06, 2026 - 18:08 cve.org
MEDIUM 4.9

DescriptionNVD

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.

Technical POC Analysis

CWE-835, loop with unreachable exit condition.

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

A flaw in the RabbitMQ Java client's deprecated JSON-RPC tooling allows a single malformed message to permanently hang or crash a JVM, causing denial-of-service outages for applications that use that component. While publicly available exploit code exists, the issue is not confirmed actively exploited and affects only deployments still using the legacy com.rabbitmq.tools.jsonrpc classes. Leadership should ensure affected teams patch promptly to avoid service disruptions in messaging-dependent business processes.

Business Impact: Medium
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.5%
Top 60% exploitable
Prevalence
Medium
common JVM messaging client, but vulnerable JSON-RPC tooling is a deprecated, rarely-used subset
Threat Intel
1
1 source
Data Quality
6 sources
Confidence: High
EUVD 🇯🇵JVN NVD CVE.org EPSS Vulnrichment GHSA Vendor GitHub

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.5%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
Medium
Technical Impact
Partial

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

CVE-2026-57219 HIGH POC
8.7 Jul 10

Sensitive credential disclosure in RabbitMQ affects installations running the management plugin with OAuth 2 configured

CVE-2019-11287 HIGH POC
7.5 Nov 23

Pivotal RabbitMQ, versions 3.7.x prior to 3.7.21 and 3.8.x prior to 3.8.1, and RabbitMQ for Pivotal Platform, 1.16.x ver

CVE-2026-63335 MEDIUM POC
6.3 Aug 18

Denial of service in the RabbitMQ Java client library (com.rabbitmq:amqp-client ≤ 5.30.0) allows a malicious or compromi

CVE-2016-9877 CRITICAL
9.8 Dec 29

An issue was discovered in Pivotal RabbitMQ 3.x before 3.5.8 and 3.6.x before 3.6.6 and RabbitMQ for PCF 1.5.x before 1.

CVE-2026-77411 CRITICAL
9.5 Sep 16

Parsing desynchronization in the RabbitMQ amqp091-go AMQP 0.9.1 client library before 1.13.0 lets a malicious or comprom

CVE-2026-77405 CRITICAL
9.4 Sep 16

RabbitMQ's amqp091-go Go client library, in all versions before 1.13.0, builds TLS configuration from amqps:// URIs with

CVE-2021-32718 MEDIUM POC
5.4 Jun 28

RabbitMQ is a multi-protocol messaging broker. Rated medium severity (CVSS 5.4), this vulnerability is remotely exploita

CVE-2026-67404 CRITICAL
9.2 Sep 23

RabbitMQ brokers that use the OAuth2 plugin can silently fall back to disabled TLS certificate verification when no CA b

CVE-2026-77408 CRITICAL
9.1 Sep 16

Silent AMQP 0.9.1 metadata corruption in the RabbitMQ amqp091-go Go client library prior to 1.13.0 lets an application t

CVE-2026-67231 CRITICAL
9.1 Sep 23

TLS client-authentication bypass in the RabbitMQ trust-store plugin lets a remote unauthenticated attacker whose forged

CVE-2026-63336 MEDIUM POC
5.1 Aug 18

TLS certificate validation is completely bypassed in the RabbitMQ Java client library (`com.rabbitmq:amqp-client`) prior

CVE-2026-77412 HIGH
8.9 Sep 16

Denial of service in the official RabbitMQ Go client library amqp091-go (versions prior to 1.13.0): a malicious, comprom

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy