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

- Severity: Medium 4.9 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H`
- 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): 1.34%, higher than 72% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2023-10-24T01:49:09.000Z
- Modified: 2026-09-10T03:50:03.942Z
- Also known as: GHSA-mm8h-8587-p46h
- Weaknesses: CWE-400
- SSVC (CISA-ADP): exploitation poc, automatable no, 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. `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.

(As written by CVE List.)

## Affected

- rabbitmq rabbitmq-java-client: < 5.18.0; before 5.18.0
- com.rabbitmq:amqp-client (Maven): before 5.18.0
- vmware rabbitmq_java_client: before 5.18.0

## Every score

- GitHub_M: CVSS:3.1 4.9 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 4.9 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/rabbitmq/rabbitmq-java-client/security/advisories/GHSA-mm8h-8587-p46h> (exploit, vendor-advisory, web)
- <https://github.com/rabbitmq/rabbitmq-java-client/issues/1062> (issue-tracking, patch, web)
- <https://github.com/rabbitmq/rabbitmq-java-client/commit/714aae602dcae6cb4b53cadf009323ebac313cc8> (patch, web)
- <https://github.com/rabbitmq/rabbitmq-java-client/releases/tag/v5.18.0> (release-notes, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-46120> (advisory)
- <https://github.com/rabbitmq/rabbitmq-java-client> (package)

## Sources

- CVE List: [CVE-2023-46120](https://www.cve.org/CVERecord?id=CVE-2023-46120), CVE Terms of Use, modified 2024-09-11
- GitHub Advisory Database: [GHSA-mm8h-8587-p46h](https://github.com/advisories/GHSA-mm8h-8587-p46h), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2023-46120](https://nvd.nist.gov/vuln/detail/CVE-2023-46120), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-46120 · Whole record: https://cve.day/CVE-2023-46120.json · Rebuilt by cve.day 2026-11-25T22:58:29.081Z
