CVE-2026-63335: CWE-20: Improper Input Validation in rabbitmq rabbitmq-java-client
The RabbitMQ Java client library allows Java and JVM-based applications to connect to and interact with RabbitMQ nodes. Prior to 5.31.0, inbound AMQP command assembly in src/main/java/com/rabbitmq/client/impl/CommandAssembler.java processes a content-bearing method and header whose remainingBodyBytes value is smaller than a following AMQP.FRAME_BODY payload. CommandAssembler.consumeBodyFrame subtracts the peer-controlled payload length before validating that it fits, drives remainingBodyBytes negative, and throws a raw UnsupportedOperationException instead of MalformedFrameException. A malicious or compromised broker peer can send this malformed sequence on an open nonzero channel to terminate frame processing and close the client connection, causing denial of service for work using that connection. This issue is fixed in version 5.31.0.
AI Analysis
Technical Summary
The RabbitMQ Java client library versions before 5.31.0 improperly validate inbound AMQP command frames in CommandAssembler.java. Specifically, when processing a content-bearing method and header, the remainingBodyBytes value can become negative due to subtracting a peer-controlled payload length before validation. This leads to an UnsupportedOperationException being thrown instead of the expected MalformedFrameException. A malicious or compromised broker can exploit this by sending a malformed frame sequence on an open nonzero channel, causing the client to terminate frame processing and close the connection, resulting in denial of service.
Potential Impact
A malicious or compromised RabbitMQ broker can send malformed AMQP frames that cause the client connection to close unexpectedly. This leads to denial of service for applications relying on the affected rabbitmq-java-client versions prior to 5.31.0. There is no indication of privilege escalation, data corruption, or remote code execution from this vulnerability.
Mitigation Recommendations
This vulnerability is fixed in rabbitmq-java-client version 5.31.0. Users should upgrade to version 5.31.0 or later to remediate this issue. No other mitigations or workarounds are indicated.
CVE-2026-63335: CWE-20: Improper Input Validation in rabbitmq 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.31.0, inbound AMQP command assembly in src/main/java/com/rabbitmq/client/impl/CommandAssembler.java processes a content-bearing method and header whose remainingBodyBytes value is smaller than a following AMQP.FRAME_BODY payload. CommandAssembler.consumeBodyFrame subtracts the peer-controlled payload length before validating that it fits, drives remainingBodyBytes negative, and throws a raw UnsupportedOperationException instead of MalformedFrameException. A malicious or compromised broker peer can send this malformed sequence on an open nonzero channel to terminate frame processing and close the client connection, causing denial of service for work using that connection. This issue is fixed in version 5.31.0.
CVSS v4.0
Score 6.3medium
Affected software
pkg:maven/com.rabbitmq/rabbitmq-java-clientRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The RabbitMQ Java client library versions before 5.31.0 improperly validate inbound AMQP command frames in CommandAssembler.java. Specifically, when processing a content-bearing method and header, the remainingBodyBytes value can become negative due to subtracting a peer-controlled payload length before validation. This leads to an UnsupportedOperationException being thrown instead of the expected MalformedFrameException. A malicious or compromised broker can exploit this by sending a malformed frame sequence on an open nonzero channel, causing the client to terminate frame processing and close the connection, resulting in denial of service.
Potential Impact
A malicious or compromised RabbitMQ broker can send malformed AMQP frames that cause the client connection to close unexpectedly. This leads to denial of service for applications relying on the affected rabbitmq-java-client versions prior to 5.31.0. There is no indication of privilege escalation, data corruption, or remote code execution from this vulnerability.
Mitigation Recommendations
This vulnerability is fixed in rabbitmq-java-client version 5.31.0. Users should upgrade to version 5.31.0 or later to remediate this issue. No other mitigations or workarounds are indicated.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-07-16T14:14:24.385Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a8489bac6e8be0332782801
Added to database: 08/18/2026, 16:35:06 UTC
Last enriched: 08/18/2026, 16:50:42 UTC
Last updated: 08/18/2026, 17:50:23 UTC
Views: 6
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.