CVE-2026-106121RabbitMQ: JSONReader in the default JSON-RPC mapper never terminates on truncated input,…
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.
What to do
Fixed builds are available from Maven: see the table below for the fixed version per release.
Debian, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | rabbitmq-java-client | Fix pending | UBUNTU-CVE-2026-106121 | |
| Ubuntu 26.04 | rabbitmq-java-client | Under investigation | UBUNTU-CVE-2026-106121 | |
| Ubuntu 24.04 | rabbitmq-java-client | Under investigation | UBUNTU-CVE-2026-106121 | |
| Ubuntu 22.04 | rabbitmq-java-client | Under investigation | UBUNTU-CVE-2026-106121 | |
| Ubuntu 20.04 | rabbitmq-java-client | Fix pending | UBUNTU-CVE-2026-106121 | |
| Ubuntu 18.04 | rabbitmq-java-client | Fix pending | UBUNTU-CVE-2026-106121 | |
| Debian 13 | rabbitmq-java-client | Fix pending | DEBIAN-CVE-2026-106121 | |
| Debian 12 | rabbitmq-java-client | Fix pending | DEBIAN-CVE-2026-106121 | |
| Maven library | com.rabbitmq:amqp-client | Fixed | 5.36.1 | GHSA-cqgh-8p3p-mx4m |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- rabbitmq-java-client: affected: < 5.36.1
- com.rabbitmq amqp-client: affected: < 5.36.1
References
- https://github.com/rabbitmq/rabbitmq-java-client/security/advisories/GHSA-cqgh-8p3p-mx4m
- https://github.com/rabbitmq/rabbitmq-java-client/pull/2100
- https://github.com/rabbitmq/rabbitmq-java-client/commit/25fad817291feff3195c32620117d295598f8b41
- https://github.com/rabbitmq/rabbitmq-java-client/releases/tag/v5.37.0
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.