---
id: CVE-2026-106121
title: >-
  The RabbitMQ Java client library allows Java and JVM-based applications to
  connect to and interact with RabbitMQ nodes
summary: >-
  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 …
severity: medium
cvss: 4.9
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H'
cwe:
  - CWE-835
vendor: rabbitmq
product: rabbitmq-java-client
affected:
  - rabbitmq-java-client < 5.36.1
  - amqp-client < 5.36.1
published: '2026-10-06'
updated: '2026-10-06'
sourceUpdated: '2026-10-06T20:03:40.690'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-106121'
references:
  - url: >-
      https://github.com/rabbitmq/rabbitmq-java-client/commit/25fad817291feff3195c32620117d295598f8b41
    label: security-advisories@github.com
  - url: 'https://github.com/rabbitmq/rabbitmq-java-client/pull/2100'
    label: security-advisories@github.com
  - url: 'https://github.com/rabbitmq/rabbitmq-java-client/releases/tag/v5.37.0'
    label: security-advisories@github.com
  - url: >-
      https://github.com/rabbitmq/rabbitmq-java-client/security/advisories/GHSA-cqgh-8p3p-mx4m
    label: security-advisories@github.com
  - url: >-
      https://github.com/rabbitmq/rabbitmq-java-client/security/advisories/GHSA-cqgh-8p3p-mx4m
    label: 134c704f-9b21-4f2e-91b3-4a467353bcc0
tags:
  - nvd
  - cve.org
  - exploit-available
exploitAvailable: true
ssvc:
  exploitation: poc
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-10-06T18:32:40.985871Z'
ingestedAt: '2026-10-06T19:13:33.938Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
