Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessPublish RPC message with malformed UTF-8 property
-
DeliveryServer decodes bytes to oversized replacement characters
-
ExploitReply writeShortstr throws before basicAck
-
ExecutionBroker requeues poison message
-
ImpactConsumer repeatedly disabled until queue purged
Vulnerability Assessment
| Weakness |
CWE
|
| Exploitation Conditions | Requires an application using the RabbitMQ Java client prior to 5.36.0 with the RpcServer.mainloop() RPC-server pattern or tutorial-style consumers that echo client-supplied BasicProperties (e.g. correlation-id) back into the reply publication. The attacker must be able to publish a message to the RPC request queue, implying broker access at a low privilege level (PR:L). Limiting factors: only consumers that re-emit attacker-controlled property strings as shortstr are affected (not arbitrary consumers or the broker itself), the impact is confined to availability of the targeted consumer (recoverable by purging the queue), and there is no code execution, authentication bypass, or data exposure. |
| Impact | This is a genuine but moderate-severity availability issue, not a top-tier priority. The CVSS 4.0 vector (AV:N/AC:L/AT:P/PR:L/UI:N) and score of 6.0 are internally consistent with the description: exploitation is remote but requires the attacker to be able to publish messages to the broker (PR:L, so some level of authenticated/authorized access), and an attack requirement (AT:P) reflects that the application must be using the vulnerable RPC-server/tutorial consumer pattern that echoes client-supplied properties. Impact is purely availability (VA:H; VC:N/VI:N) - a poison-message denial of service against the affected consumer, with no confidentiality or integrity loss. No EPSS score, no CISA KEV listing, and no public exploit were provided, so there is no evidence of active or widespread exploitation; the vendor PR includes regression tests but not a weaponized exploit. One signal conflicts with the data: the input tag 'Information Disclosure' directly contradicts the CVSS vector (VC:N, VA:H), which marks this as a denial-of-service/availability bug, not disclosure - the tag should be disregarded. Net: real, patch-worthy for anyone running the RpcServer pattern, but low urgency relative to high-CVSS RCE or KEV-listed flaws. |
| Exploit ScenarioDerived | An attacker able to publish to an RPC request queue sends a message whose echoed property (e.g. correlation-id/reply-to) contains malformed UTF-8 bytes that decode to replacement characters re-encoding beyond the 255-byte AMQP shortstr limit. When RpcServer.mainloop() tries to publish the reply, ValueWriter.writeShortstr throws an unchecked exception before the message is acknowledged, so the broker requeues it and the same message repeatedly crashes the consumer until the queue is purged. No public exploit was identified at time of analysis, though the vendor PR #2065 ships regression tests demonstrating the condition. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 06, 2026
Malformed UTF-8 echoed back through an AMQP shortstr property can permanently disable RPC consumers built on the RabbitMQ Java client before 5.36.0, forcing the affected consumer to fail on every redelivery of a single poison message. An attacker with low-privileged broker access publishes a request whose property value (for example correlation-id) contains invalid UTF-8; ValueReader.readShortstr decodes those bytes into U+FFFD replacement characters, which re-encode to more than the 255-byte AMQP shortstr limit that ValueWriter.writeShortstr enforces, so reply publication throws an unchecked exception. In RpcServer.mainloop() and tutorial-style echo consumers that exception aborts the loop before acknowledgement, the broker requeues the message, and the consumer is stuck until the queue is purged. No public exploit identified at time of analysis; impact is confined to availability of the target consumer (reported CVSS 4.0 base 6.0; assessed CVSS 3.1 AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H) with no code execution, authentication bypass, or data exposure.
RemediationAI
Upgrade the client dependency to the fixed release: Maven groupId com.rabbitmq, artifactId amqp-client, version 5.36.0 (rabbitmq-java-client v5.36.0), available at https://github.com/rabbitmq/rabbitmq-java-client/releases/tag/v5.36.0 , with details in https://github.com/rabbitmq/rabbitmq-java-client/security/advisories/GHSA-7822-rcf6-97fx . That release applies two independent fixes: ValueReader.readShortstr now truncates decoded values to at most 255 encoded UTF-8 bytes (PR #2065 / commit b8bd750fa8c90690e859b18d6343b34421309020), and RpcServer.mainloop() catches RuntimeException around processRequest and basicAck, logs it, and calls basicReject(deliveryTag, false) so a poison message is discarded instead of requeued; ShutdownSignalException still propagates. If upgrading immediately is not possible, the effective compensating controls are application-level rather than infrastructure-level: stop echoing untrusted client properties into replies - do not copy correlation-id, reply-to, or other inbound property strings onto the outbound reply, and instead generate server-side values (this fully removes the trigger but may break request/response correlation for clients that rely on the echoed id). Alternatively, sanitize or ASCII-normalize inbound property values, or catch RuntimeException around your handler and nack with requeue=false yourself, accepting that legitimate messages which raise unrelated runtime exceptions will also be dropped. Operational containment for an already-poisoned queue: purge the affected queue to restore the consumer, and consider setting a message TTL, a max-length policy, or a dead-letter exchange on the request queue so undeliverable messages age out instead of recycling forever - the trade-off is that these policies can silently discard legitimate requests, so they should be sized well above normal backlog. Do not rely on broker-side patching, because the defect is entirely in the client library codec and RPC loop.
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 affected component is the RabbitMQ Java client's AMQP 0-9-1 wire-format codec, specifically the pair ValueReader.readShortstr (decode) and ValueWriter.writeShortstr (encode) in com.rabbitmq.client.impl. AMQP 'shortstr' is a length-prefixed field whose length byte caps the on-wire value at 255 bytes; ValueWriter therefore rejects any string that re-encodes to more than 255 bytes. The bug is a CWE-172 encoding/decoding mismatch: readShortstr calls new String(b, StandardCharsets.UTF_8), which silently replaces each invalid or truncated UTF-8 sequence with the replacement character U+FFFD. A single invalid byte on the wire becomes a three-byte UTF-8 sequence (EF BF BD) when re-encoded, and multi-byte boundary issues can expand similarly, so a legal 255-byte wire payload can decode into a Java String whose UTF-8 form exceeds 255 bytes. Any code path that echoes attacker-controlled properties back into a reply (the RpcServer / RpcClient request-reply pattern, or tutorial-style consumers copying properties such as correlation-id onto the reply) then hits the limit check in writeShortstr and throws an unchecked exception mid-publication, before basicAck. Because the message was never acknowledged, the broker requeues it, producing a deterministic redelivery loop that keeps the consumer dead. The upstream fix in 5.36.0 (PR #2065, commit b8bd750) adds truncateToMaxUtf8Length to cap decoded shortstr values at 255 encoded bytes and wraps processRequest/basicAck in RpcServer.mainloop() with a RuntimeException handler that logs and basicReject's the offending delivery (releasing it without requeue) while still propagating ShutdownSignalException; new tests ShortstrRoundTripTest, requestThatCannotBeProcessedIsNotRequeued, and serverKeepsRunningWhenHandlerFails cover both halves. Affected identifiers are CPE cpe:2.3:a:rabbitmq:rabbitmq-java-client:* and cpe:2.3:a:com.rabbitmq:amqp-client:*; the RabbitMQ broker itself is not affected, only JVM applications embedding the client library.
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
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Remote publish (AV:N) requires broker publish rights (PR:L) and the vulnerable RPC echo pattern plus crafted multi-byte UTF-8 (AC:H); impact is availability-only (A:H), no confidentiality/integrity.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.org
The RabbitMQ Java client library allows Java and JVM-based applications to connect to and interact with RabbitMQ nodes. Prior to 5.36.0, ValueReader.readShortstr decodes malformed UTF-8 bytes into replacement characters that can re-encode beyond the AMQP shortstr limit enforced by ValueWriter.writeShortstr. An attacker who can submit an RPC message with a malformed echoed property can cause reply publication in RpcServer.mainloop() or tutorial-style consumers to throw an unchecked exception before acknowledgement. The broker requeues the message, allowing the same message to disable replacement consumers until the queue is purged. This issue is fixed in version 5.36.0.
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
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-93775
GHSA-7822-rcf6-97fx
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB