Description
The RabbitMQ Java client library allows Java and JVM-based applications to connect to and interact with RabbitMQ nodes. Prior to 5.33.1, src/main/java/com/rabbitmq/client/impl/ValueReader.java uses ValueReader.readBytes to accept a wire-declared contentLength below Integer.MAX_VALUE and allocate a byte array before checking the bytes available in the frame. A malicious AMQP peer can send a LongString or byte-array field with type tag S and a declared length such as 0x7FFFFFFE during the pre-authentication connection.start server-properties table, causing an approximately 2 GB allocation and OutOfMemoryError before readFully consumes data. The resulting memory exhaustion can terminate the JVM and cause denial of service. This issue is fixed in version 5.33.1.
Severity (CVSS)
| Base score | 8.7 |
|---|---|
| Severity | High |
| Version | CVSS 4.0 |
| Vector | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N |
| Provided by | CNA |
Weaknesses
- CWE-789 — CWE-789: Memory Allocation with Excessive Size Value
Affected products
| Vendor | Product | Versions |
|---|---|---|
| rabbitmq | rabbitmq-java-client | < 5.33.1 |
References
- https://github.com/rabbitmq/rabbitmq-java-client/security/advisories/GHSA-68mj-5wr7-6fgg (x_refsource_CONFIRM)
- https://github.com/rabbitmq/rabbitmq-java-client/pull/2007 (x_refsource_MISC)
- https://github.com/rabbitmq/rabbitmq-java-client/pull/2008 (x_refsource_MISC)
- https://github.com/rabbitmq/rabbitmq-java-client/commit/388209356c6478088efce4d8a07b68e73837a7a0 (x_refsource_MISC)
- https://github.com/rabbitmq/rabbitmq-java-client/commit/6a87a8dcdc8b4cc4b961a7cdd388276446e5dfb2 (x_refsource_MISC)
- https://github.com/rabbitmq/rabbitmq-java-client/releases/tag/v5.33.1 (x_refsource_MISC)
Generated from the official CVE List on 19 Aug 2026 07:05 UTC.