RabbitMQ Java client JSON parser hangs on truncated input
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Partial Red Hat: 2 without a fix
Attack profile from CVSS 3.1 · NVD. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-835.
Summary
The RabbitMQ Java client (com.rabbitmq:amqp-client) before 5.36.1 contains a loop with an unreachable exit condition (CWE-835) in its JSON reader, which the default JSON-RPC mapper uses for message bodies. Truncated input ending inside a quoted string or a line comment keeps the parser running, exhausting heap or consuming CPU. A remote attacker who can send JSON-RPC messages to an affected server or client can cause denial of service. A proof-of-concept exploit is linked in the references.
Written with Claude Haiku 5.5 from the sources below · 2026-11-03
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
Upgrade rabbitmq-java-client and com.rabbitmq amqp-client to version 5.36.1, which fixes the flaw for Maven com.rabbitmq:amqp-client. The sources list no fixed version for Red Hat Fuse 7 (no fix planned) or for Red Hat build of Apache Camel 4 for Quarkus 3 (none available).
Written with Claude Haiku 5.5 from the sources below · 2026-11-03
- Fix · CNA rabbitmq-java-client (rabbitmq) Fixed in 5.36.1
- Fix · CNA amqp-client (com.rabbitmq) Fixed in 5.36.1
- Fix · GHSA-cqgh-8p3p-mx4m com.rabbitmq:amqp-client (Maven) Fixed in 5.36.1 Advisory →
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Fuse 7 | Affected | No fix planned: Out of support scope |
| Red Hat build of Apache Camel 4 for Quarkus 3 | Affected | No fix yet |
Timeline
- 2026-10-06 Threatist record created from CVE-2026-106121
- 2026-10-07 Alias added: GHSA-cqgh-8p3p-mx4m
- 2026-10-07 Fix available: Maven/com.rabbitmq:[email protected] · GHSA-cqgh-8p3p-mx4m
- 2026-10-07 CVSS score added · GHSA-cqgh-8p3p-mx4m
- 2026-10-07 Weakness changed · GHSA-cqgh-8p3p-mx4m
- 2026-10-07 6 new references · GHSA-cqgh-8p3p-mx4m
- 2026-10-09 CVSS score added · NVD
- 2026-10-10 Priority changed: MEDIUM → HIGH
- 2026-11-03 Affected versions changed · Red Hat
- 2026-11-03 CVSS score added · Red Hat
References
Patch 2
More rabbitmq vulnerabilities
- TI-2026-41154 Improper authentication in rabbitmq-server CVSS 3.1CRITICAL 10.0
- TI-2026-41149 RabbitMQ: UNC SSRF affecting the management UI on Windows CVSS 3.1CRITICAL 10.0
- TI-2026-41158 Resource allocation without limits in rabbitmq-server CVSS 3.1HIGH 7.5
- TI-2026-47695 RabbitMQ: OAuth2 Client Secret Exposed via Unauthenticated JavaScript Endpoint CVSS 4.0HIGH 8.2
- TI-2026-47694 RabbitMQ: JWKS Fetch Ignores HTTP Response Status Code - Signing Key Destruction Causes Authentication DoS CVSS 4.0HIGH 8.2
- TI-2026-45167 RabbitMQ Java client: Unvalidated Class.forName in JSON-RPC ProcedureDescription enables arbitrary class loading CVSS 4.0HIGH 7.5
Sources
- CVE-2026-106121 · CVE Program
- CVE-2026-106121 · NVD
- FIRST EPSS
- GHSA-cqgh-8p3p-mx4m · GitHub Advisory Database · CC BY 4.0
- CVE-2026-106121 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences