# CVE-2026-75516: RabbitMQ Java client: Frame-level OOM: Math.min(maxInboundMessageBodySize, 0) defeats frame size enforcement

- Severity: High 8.7 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.53%, higher than 46% of CVEs (2026-12-01)
- Published: 2026-09-16T18:30:58.983Z
- Modified: 2026-09-24T21:16:28.120Z
- Also known as: GHSA-jh4v-gfqj-7rhx
- Weaknesses: CWE-770
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- rabbitmq rabbitmq-java-client: < 5.34.0
- com.rabbitmq:amqp-client (Maven): before 5.34.0

## Every score

- GitHub_M: CVSS:4.0 8.7 High `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`
- GitHub: CVSS:4.0 High `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> (web)
- <https://github.com/rabbitmq/rabbitmq-java-client/pull/2015> (web)
- <https://github.com/rabbitmq/rabbitmq-java-client/pull/2016> (web)
- <https://github.com/rabbitmq/rabbitmq-java-client/commit/6d7c2bfe89796ca34d3531098fb59dd657fea39e> (web)
- <https://github.com/rabbitmq/rabbitmq-java-client/commit/e7f10bf99aee103dd9f64b3e52a725fc9f9d3763> (web)
- <https://github.com/rabbitmq/rabbitmq-java-client/releases/tag/v5.34.0> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-75516> (advisory)
- <https://github.com/rabbitmq/rabbitmq-java-client> (package)

## Sources

- CVE List: [CVE-2026-75516](https://www.cve.org/CVERecord?id=CVE-2026-75516), CVE Terms of Use, modified 2026-09-18
- GitHub Advisory Database: [GHSA-jh4v-gfqj-7rhx](https://github.com/advisories/GHSA-jh4v-gfqj-7rhx), CC-BY-4.0, modified 2026-09-17
- NVD: [CVE-2026-75516](https://nvd.nist.gov/vuln/detail/CVE-2026-75516), Public domain, modified 2026-09-24

---

Page: https://cve.day/CVE-2026-75516 · Whole record: https://cve.day/CVE-2026-75516.json · Rebuilt by cve.day 2026-11-25T22:59:39.098Z
