Skip to main content

RabbitMQ Java Client CVE-2026-106122

| EUVDEUVD-2026-93775 MEDIUM
Encoding Error (CWE-172)
2026-10-06 GitHub_M GHSA-7822-rcf6-97fx
6.0
CVSS 4.0 · Vendor: GitHub_M
View

Attack ChainAIDerived

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

  1. Access
    Publish RPC message with malformed UTF-8 property
  2. Delivery
    Server decodes bytes to oversized replacement characters
  3. Exploit
    Reply writeShortstr throws before basicAck
  4. Execution
    Broker requeues poison message
  5. Impact
    Consumer 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.4% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – 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

amqp-client < 5.36.0
rabbitmq-java-client < 5.36.0

Affected Packages

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

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

Vendor (GitHub_M) PRIMARY 6.0 MEDIUM
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
vuln.today AI 5.3 MEDIUM

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.

3.1 AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:P/PR:L/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 VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
Oct 06, 2026 - 20:04 EUVD
CVE Published
Oct 06, 2026 - 18:10 cve.org
MEDIUM 6.0

DescriptionCVE.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

EPSS Score
0.4%
Top 67% exploitable
Prevalence
High
official RabbitMQ client for JVM apps, widely deployed in enterprise messaging
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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact· derived
High
Technical Impact
Partial

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +30
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0
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