Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessGain publish access to RPC request queue
-
DeliverySend single truncated JSON-RPC body
-
ExploitJSONReader loops past CharacterIterator.DONE
-
ExecutionHeap exhausted or thread pinned at 100% CPU
-
ImpactJSON-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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – 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)
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
Affected Packages
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
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
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.
Primary rating from Vendor (GitHub_M).
CVSS VectorNVD
Lifecycle Timeline
5DescriptionNVD
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
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.
Apply vendor patch.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
Sensitive credential disclosure in RabbitMQ affects installations running the management plugin with OAuth 2 configured
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
Denial of service in the RabbitMQ Java client library (com.rabbitmq:amqp-client ≤ 5.30.0) allows a malicious or compromi
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.
Parsing desynchronization in the RabbitMQ amqp091-go AMQP 0.9.1 client library before 1.13.0 lets a malicious or comprom
RabbitMQ's amqp091-go Go client library, in all versions before 1.13.0, builds TLS configuration from amqps:// URIs with
RabbitMQ is a multi-protocol messaging broker. Rated medium severity (CVSS 5.4), this vulnerability is remotely exploita
RabbitMQ brokers that use the OAuth2 plugin can silently fall back to disabled TLS certificate verification when no CA b
Silent AMQP 0.9.1 metadata corruption in the RabbitMQ amqp091-go Go client library prior to 1.13.0 lets an application t
TLS client-authentication bypass in the RabbitMQ trust-store plugin lets a remote unauthenticated attacker whose forged
TLS certificate validation is completely bypassed in the RabbitMQ Java client library (`com.rabbitmq:amqp-client`) prior
Denial of service in the official RabbitMQ Go client library amqp091-go (versions prior to 1.13.0): a malicious, comprom
EUVD-2026-93773
GHSA-cqgh-8p3p-mx4m
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB