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.
{
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-835"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/106xxx/CVE-2026-106121.json",
"unresolved_ranges": [
{
"extracted_events": [
{
"range": [
{
"fixed": "5.36.1"
},
{
"fixed": "5.36.1"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
}
]
}
]
}{
"extracted_events": [
{
"cpe": "cpe:2.3:a:vmware:rabbitmq_java_client:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "5.37.0"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "25fad817291feff3195c32620117d295598f8b41"
}
],
"source": "REFERENCES_COMMIT"
},
{
"original_tag": "v5.37.0",
"range": [
{
"fixed": "002777578d9138a9921ddfc4f9fb70556f8d4807"
}
],
"source": "REFERENCES_TAG"
}
]
}
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-106121.json"
[
{
"deprecated": false,
"digest": {
"line_hashes": [
"270763962845842240998420853875191888627",
"83194574850271120551945190649757612216",
"294803679088535842114334935744370211097",
"91446109598190990967851069848746634684",
"235693158922043049651000487597878667675",
"12371646549381439319874435822315116094",
"66856958431972215751120805408152475418",
"30400149695438245955906524821459997464"
],
"threshold": 0.9
},
"id": "CVE-2026-106121-48f2d2eb",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/rabbitmq/rabbitmq-java-client/commit/25fad817291feff3195c32620117d295598f8b41",
"target": {
"file": "src/main/java/com/rabbitmq/tools/json/JSONReader.java"
}
},
{
"deprecated": false,
"digest": {
"function_hash": "133638509552263276209130131259953087432",
"length": 397
},
"id": "CVE-2026-106121-5a926fb9",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/rabbitmq/rabbitmq-java-client/commit/25fad817291feff3195c32620117d295598f8b41",
"target": {
"file": "src/main/java/com/rabbitmq/tools/json/JSONReader.java",
"function": "string"
}
},
{
"deprecated": false,
"digest": {
"line_hashes": [
"320496648438726301473250035449054578362",
"95728029130745313480420811566154944965",
"334466430276800096050679880704818700328",
"130991488717205056501258671795716903568"
],
"threshold": 0.9
},
"id": "CVE-2026-106121-6fc8e805",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/rabbitmq/rabbitmq-java-client/commit/25fad817291feff3195c32620117d295598f8b41",
"target": {
"file": "src/main/java/com/rabbitmq/tools/jsonrpc/JsonRpcServer.java"
}
},
{
"deprecated": false,
"digest": {
"function_hash": "315763766914009131587666914086988765101",
"length": 233
},
"id": "CVE-2026-106121-a2d20155",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/rabbitmq/rabbitmq-java-client/commit/25fad817291feff3195c32620117d295598f8b41",
"target": {
"file": "src/main/java/com/rabbitmq/tools/json/JSONReader.java",
"function": "skipWhiteSpace"
}
},
{
"deprecated": false,
"digest": {
"line_hashes": [
"196040013556389698375258248213926648043",
"315681126217743703065163098398866469721",
"181219755514035373047247939129386260401",
"2048128575536568691977136557939389948",
"298785235106541279492479740016373684694",
"78046521289352656596644664421172960486",
"290302797840753543676360821718451908635"
],
"threshold": 0.9
},
"id": "CVE-2026-106121-be3d0db1",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/rabbitmq/rabbitmq-java-client/commit/25fad817291feff3195c32620117d295598f8b41",
"target": {
"file": "src/test/java/com/rabbitmq/client/test/JSONReadWriteTest.java"
}
},
{
"deprecated": false,
"digest": {
"function_hash": "307672480226265302034398180442966691753",
"length": 1694
},
"id": "CVE-2026-106121-c18387af",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/rabbitmq/rabbitmq-java-client/commit/25fad817291feff3195c32620117d295598f8b41",
"target": {
"file": "src/main/java/com/rabbitmq/tools/jsonrpc/JsonRpcServer.java",
"function": "doCall"
}
}
]
"2026-10-22T19:09:25Z"