CVE-2026-63335 PUBLISHED

RabbitMQ Java client malformed body frame triggers raw command assembler exception

Assigner: GitHub_M
Reserved: 16.07.2026 Published: 18.08.2026 Updated: 18.08.2026

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.

Metrics

CVSS Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:N/SC:N/SI:N/SA:H
CVSS Score: 6.3

Product Status

Vendor rabbitmq
Product rabbitmq-java-client
Versions
  • Version < 5.31.0 is affected

References

Problem Types

  • CWE-20: Improper Input Validation CWE