Vulnerability · Published Sep 16, 2026 · Assigned by GitHub_M
CVE-2026-75516RabbitMQ Java client: Frame-level OOM: Math.min(maxInboundMessageBodySize, 0) defeats frame size enforcement
High 8.7
In plain English
A high-severity resource allocation without limits in rabbitmq-java-client from rabbitmq. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 46% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
The RabbitMQ Java client library allows Java and JVM-based applications to connect to and interact with RabbitMQ nodes. Prior to 5.34.0, AMQConnection.start() applies Math.min(maxInboundMessageBodySize, frameMax) after Connection.Tune negotiation even though AMQP defines frameMax value zero as unlimited and ConnectionFactory.DEFAULT_FRAME_MAX is zero. When the client default and server-negotiated value are both zero, the result is passed to Utils.framePayloadLimit(int), which interprets zero as Integer.MAX_VALUE and disables the configured maxInboundMessageBodySize cap. A malicious AMQP server, or a man-in-the-middle attacker able to modify Connection.Tune and inject frames into the connection, can then send an oversized frame of any frame type, causing Frame.readFrom() to allocate a large byte array before content-level validation and potentially terminate the client process through memory exhaustion. This issue is fixed in version 5.34.0.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | rabbitmq-java-client | no fix listed | DEBIAN-CVE-2026-75516 |
| Debian:13 | rabbitmq-java-client | no fix listed | DEBIAN-CVE-2026-75516 |
| Maven | com.rabbitmq:amqp-client | 5.34.0 | GHSA-jh4v-gfqj-7rhx |
| Ubuntu:22.04:LTS | rabbitmq-java-client | no fix listed | UBUNTU-CVE-2026-75516 |
| Ubuntu:24.04:LTS | rabbitmq-java-client | no fix listed | UBUNTU-CVE-2026-75516 |
| Ubuntu:26.04:LTS | rabbitmq-java-client | no fix listed | UBUNTU-CVE-2026-75516 |
| Ubuntu:26.10 | rabbitmq-java-client | no fix listed | UBUNTU-CVE-2026-75516 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| rabbitmq | rabbitmq-java-client | < 5.34.0 |
Weakness: CWE-770 · 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
References
- https://github.com/rabbitmq/rabbitmq-java-client/security/advisories/GHSA-jh4v-gfqj-7rhx x_refsource_CONFIRM
- https://github.com/rabbitmq/rabbitmq-java-client/pull/2015 x_refsource_MISC
- https://github.com/rabbitmq/rabbitmq-java-client/pull/2016 x_refsource_MISC
- https://github.com/rabbitmq/rabbitmq-java-client/commit/6d7c2bfe89796ca34d3531098fb59dd657fea39e x_refsource_MISC
- https://github.com/rabbitmq/rabbitmq-java-client/commit/e7f10bf99aee103dd9f64b3e52a725fc9f9d3763 x_refsource_MISC
- https://github.com/rabbitmq/rabbitmq-java-client/releases/tag/v5.34.0 x_refsource_MISC