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.
Published: 2026-08-18
Score: 8.7 High
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The RabbitMQ Java client contains a flaw where the ValueReader component allocates a byte array based on a content length declared by a remote AMQP peer without first confirming sufficient bytes are available. An attacker can send an oversized LongString or byte array field during the pre‑authentication connection.start server‑properties table, causing the client to attempt an allocation close to 2 GB. This allocation can trigger an OutOfMemoryError, terminating the Java Virtual Machine and resulting in denial of service for the application.

Affected Systems

Clients using the RabbitMQ Java client library version 5.32.x and earlier are affected. The vulnerability is fixed in version 5.33.1; all subsequent releases contain the patch. Only the RabbitMQ Java client component is impacted, not the broker itself.

Risk and Exploitability

The CVSS score of 8.7 indicates a high severity; the lack of an available EPSS score does not diminish the risk, as the vulnerability permits remote exploitation over the AMQP protocol. Because the attacker sends data over an established network connection, the exploit does not require elevated privileges on the host. The issue is not listed in the CISA KEV catalog, implying no known widespread exploitation, but its high severity and remote nature warrant attention. The risk can be mitigated by updating the library promptly.

Generated by OpenCVE AI on August 18, 2026 at 17:17 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update the RabbitMQ Java client library to version 5.33.1 or later.
  • If an upgrade is not possible, configure AMQP frame size limits or use a proxy to reject oversized LongString or byte array fields before reaching the client.
  • Deploy the application with memory limits (e.g., container resource quotas) to isolate the impact of an OutOfMemoryError and prevent a crash from affecting other services.

Generated by OpenCVE AI on August 18, 2026 at 17:17 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-68mj-5wr7-6fgg RabbitMQ Java client ValueReader: Oversized LongString/bytes length triggers OOM via unchecked allocation
History

Tue, 18 Aug 2026 16:30:00 +0000

Type Values Removed Values Added
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.
Title RabbitMQ Java client ValueReader: Oversized LongString/bytes length triggers OOM via unchecked allocation
Weaknesses CWE-789
References
Metrics cvssV4_0

{'score': 8.7, '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'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-08-18T16:23:32.097Z

Reserved: 2026-08-03T16:57:50.125Z

Link: CVE-2026-69219

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-18T17:17:01.353

Modified: 2026-08-18T17:17:01.353

Link: CVE-2026-69219

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-18T17:30:15Z

Weaknesses
  • CWE-789

    Memory Allocation with Excessive Size Value