# CVE-2026-106121: RabbitMQ: JSONReader in the default JSON-RPC mapper never terminates on truncated input, causing DoS

- 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): 0.53%, higher than 46% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-10-06T18:08:52.026Z
- Modified: 2026-10-09T18:26:02.737Z
- Also known as: GHSA-cqgh-8p3p-mx4m
- Weaknesses: CWE-835
- 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. Prior to 5.37.0, com.rabbitmq.tools.json.JSONReader.read() fails to terminate when input ends inside a quoted string or a line comment because its string and whitespace scanners do not stop at CharacterIterator.DONE. The default DefaultJsonRpcMapper passes JSON-RPC message bodies to this parser for JsonRpcServer and client replies. A truncated string causes the parser to append replacement end markers until heap exhaustion, while a line comment without a terminating newline can keep a thread consuming CPU indefinitely, resulting in denial of service. This issue is fixed in version 5.37.0.

(As written by CVE List.)

## Affected

- rabbitmq rabbitmq-java-client: < 5.36.1
- com.rabbitmq amqp-client: < 5.36.1
- com.rabbitmq:amqp-client (Maven): before 5.36.1
- vmware rabbitmq_java_client: before 5.37.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-cqgh-8p3p-mx4m> (exploit, vendor-advisory, web)
- <https://github.com/rabbitmq/rabbitmq-java-client/pull/2100> (patch, web)
- <https://github.com/rabbitmq/rabbitmq-java-client/commit/25fad817291feff3195c32620117d295598f8b41> (patch, web)
- <https://github.com/rabbitmq/rabbitmq-java-client/releases/tag/v5.37.0> (release-notes, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-106121> (advisory)
- <https://github.com/rabbitmq/rabbitmq-java-client> (package)

## Sources

- CVE List: [CVE-2026-106121](https://www.cve.org/CVERecord?id=CVE-2026-106121), CVE Terms of Use, modified 2026-10-06
- GitHub Advisory Database: [GHSA-cqgh-8p3p-mx4m](https://github.com/advisories/GHSA-cqgh-8p3p-mx4m), CC-BY-4.0, modified 2026-10-07
- NVD: [CVE-2026-106121](https://nvd.nist.gov/vuln/detail/CVE-2026-106121), Public domain, modified 2026-10-09

---

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