Vulnerability · Published Oct 6, 2026 · Assigned by GitHub_M
CVE-2026-106121RabbitMQ: JSONReader in the default JSON-RPC mapper never terminates on truncated input, causing DoS
Medium 4.9
In plain English
A medium-severity infinite loop in amqp-client from com.rabbitmq. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 45% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | rabbitmq-java-client | no fix listed | DEBIAN-CVE-2026-106121 |
| Debian:13 | rabbitmq-java-client | no fix listed | DEBIAN-CVE-2026-106121 |
| Maven | com.rabbitmq:amqp-client | 5.36.1 | GHSA-cqgh-8p3p-mx4m |
| Ubuntu:22.04:LTS | rabbitmq-java-client | no fix listed | UBUNTU-CVE-2026-106121 |
| Ubuntu:24.04:LTS | rabbitmq-java-client | no fix listed | UBUNTU-CVE-2026-106121 |
| Ubuntu:26.04:LTS | rabbitmq-java-client | no fix listed | UBUNTU-CVE-2026-106121 |
| Ubuntu:26.10 | rabbitmq-java-client | no fix listed | UBUNTU-CVE-2026-106121 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| rabbitmq | rabbitmq-java-client | < 5.36.1 |
| com.rabbitmq | amqp-client | < 5.36.1 |
Weakness: CWE-835 · Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H
References
- https://github.com/rabbitmq/rabbitmq-java-client/security/advisories/GHSA-cqgh-8p3p-mx4m x_refsource_CONFIRM
- https://github.com/rabbitmq/rabbitmq-java-client/pull/2100 x_refsource_MISC
- https://github.com/rabbitmq/rabbitmq-java-client/commit/25fad817291feff3195c32620117d295598f8b41 x_refsource_MISC
- https://github.com/rabbitmq/rabbitmq-java-client/releases/tag/v5.37.0 x_refsource_MISC