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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 4.9
- **CVSS:** 4.9 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: High; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 0.64% (percentile 45, 2026-11-28)
- **CWE:** CWE-835
- **Aliases:** GHSA-cqgh-8p3p-mx4m
- **Published:** 2026-10-06T18:08:52.026Z
- **Modified:** 2026-10-09T18:26:02.737Z

## Who should check

- Projects that depend on Maven package com.rabbitmq:amqp-client (\< 5.36.1)
- Anyone running rabbitmq-java-client \< 5.36.1
- Anyone running com.rabbitmq amqp-client \< 5.36.1

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

## Affected and fixed versions

- Maven `com.rabbitmq:amqp-client`: affected \< 5.36.1; fixed 5.36.1 (osv)
- rabbitmq-java-client: \< 5.36.1 (cvelist)
- com.rabbitmq amqp-client: \< 5.36.1 (cvelist)

## Mitigation

- Upgrade com.rabbitmq:amqp-client to 5.36.1 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-106121. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-106121.md
Affected: com.rabbitmq:amqp-client < 5.36.1
Fixed in: 5.36.1

Steps:
1. Search this machine and project for com.rabbitmq:amqp-client (Maven), rabbitmq-java-client, com.rabbitmq amqp-client: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-106121 being exploited?

There is no confirmed exploitation: CVE-2026-106121 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.64% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-106121?

Medium: CVSS 4.9 (v3.1, scored by CNA). Remote, login needed.

### Which versions are affected by CVE-2026-106121?

com.rabbitmq:amqp-client \< 5.36.1.

### Is there a fix for CVE-2026-106121?

Yes. Fixed in 5.36.1. Upgrade com.rabbitmq:amqp-client to 5.36.1 or later.

### How do I check if I'm affected by CVE-2026-106121?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/rabbitmq/rabbitmq-java-client/security/advisories/GHSA-cqgh-8p3p-mx4m>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2026-106121>
- patch: <https://github.com/rabbitmq/rabbitmq-java-client/pull/2100>
- patch: <https://github.com/rabbitmq/rabbitmq-java-client/commit/25fad817291feff3195c32620117d295598f8b41>
- other: <https://github.com/rabbitmq/rabbitmq-java-client/releases/tag/v5.37.0>
- other: <https://github.com/rabbitmq/rabbitmq-java-client>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-106121>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-cqgh-8p3p-mx4m> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2026-106121> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-106121>
