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

Published Oct 6, 2026
·
Updated

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 Software

1 affected component
RabbitMQ RabbitMQ Java client<5.37.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade RabbitMQ Java client library to a version that resolves this vulnerability.

    Fixed in 5.37.0

Event History

Oct 6, 2026
CVE Published
via MITRE·06:08 PM
Data Sourced
via MITRE·06:08 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·07:17 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which applications are affected?

Applications using the RabbitMQ Java client before 5.37.0 are affected when they use the default DefaultJsonRpcMapper to process JSON-RPC requests with JsonRpcServer or JSON-RPC client replies.

2

What input is needed to trigger the denial of service?

An attacker needs to cause the JSON-RPC parser to receive truncated input. A quoted string that ends before its closing quote can exhaust heap memory, while a line comment that lacks a terminating newline can keep a thread consuming CPU indefinitely.

3

Is the default JSON-RPC configuration affected?

Yes. The vulnerable JSONReader is used by the default DefaultJsonRpcMapper for JSON-RPC server message bodies and client replies.

4

What is the available remediation?

Upgrade the RabbitMQ Java client to version 5.37.0, which fixes the parser termination issue.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203