# CVE-2023-46120: RabbitMQ Java client's lack of message size limitation leads to remote DoS attack

- Priority: **Routine**
- Reason: Not severe (CVSS 4.9, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2023-10-24 · Modified: 2024-09-11
- Aliases: UBUNTU-CVE-2023-46120, DEBIAN-CVE-2023-46120, CGA-45fm-4x2m-656c, CGA-r57v-q7q2-5cvv, CGA-r62g-vhjh-58r6, CGA-r6jq-459r-jc3f, GHSA-mm8h-8587-p46h
- Record: https://cvemate.com/vulnerability/CVE-2023-46120 · JSON: https://cvemate.com/vulnerability/CVE-2023-46120/json

## Description

```text
The RabbitMQ Java client library allows Java and JVM-based applications to connect to and interact with RabbitMQ nodes. `maxBodyLebgth` was not used when receiving Message objects.  Attackers could send a very large Message causing a memory overflow and triggering an OOM Error. Users of RabbitMQ may suffer from  DoS attacks from RabbitMQ Java client which will ultimately exhaust the memory of the consumer. This vulnerability was patched in version 5.18.0.
```

## Signals

- CVSS: 7.5 high (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- EPSS: 1.336%, percentile 72.19%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (github)

## Affected

- chainguard cassandra-reaper (Chainguard): \< 4.0.1-r1
- chainguard trino (Chainguard): \< 478-r2
- wolfi cassandra-reaper (Wolfi): \< 4.0.1-r1
- wolfi trino (Wolfi): \< 478-r2
- debian rabbitmq-java-client (Debian): All versions (No fix recorded)
- ubuntu rabbitmq-java-client (Ubuntu): All versions (No fix recorded)
- com.rabbitmq amqp-client (Maven): \< 5.18.0
- rabbitmq rabbitmq-java-client: \< 5.18.0
- vmware rabbitmq\_java\_client: \< 5.18.0

## References

- <https://github.com/rabbitmq/rabbitmq-java-client/security/advisories/GHSA-mm8h-8587-p46h>
- <https://github.com/rabbitmq/rabbitmq-java-client/issues/1062>
- <https://github.com/rabbitmq/rabbitmq-java-client/commit/714aae602dcae6cb4b53cadf009323ebac313cc8>
- <https://github.com/rabbitmq/rabbitmq-java-client/releases/tag/v5.18.0>
- <https://ubuntu.com/security/CVE-2023-46120>
- <https://www.cve.org/CVERecord?id=CVE-2023-46120>
- <https://security-tracker.debian.org/tracker/CVE-2023-46120>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/46xxx/CVE-2023-46120.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2023-46120>
- <https://github.com/rabbitmq/rabbitmq-java-client>

---

Data as of 2026-12-05T07:13:39.013Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
