CVE-2026-116620
Received Received - Intake

Out-of-Bounds Read in Tencent RapidJSON

Vulnerability report for CVE-2026-116620, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-10-27

Last updated on: 2026-10-27

Assigner: VulDB

Description

A security vulnerability has been detected in Tencent RapidJSON up to 1.1.0. This issue affects the function GenericStringStream<UTF8<char>>::Take in the library include/rapidjson/stream.h of the component Regex Parser. The manipulation leads to out-of-bounds read. The attack can be initiated remotely. The exploit has been disclosed publicly and may be used. The project was informed of the problem early through an issue report but has not responded yet.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-10-27
Last Modified
2026-10-27
Generated
2026-10-27
AI Q&A
2026-10-27
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 2 associated CPEs
Vendor Product Version / Range
Tencent RapidJSON 1.0
Tencent RapidJSON 1.1.0

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-119 The product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary. This may result in read or write operations on unexpected memory locations that could be linked to other variables, data structures, or internal program data.
CWE-125 The product reads data past the end, or before the beginning, of the intended buffer.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability is an out-of-bounds read flaw in Tencent RapidJSON up to version 1.1.0. It occurs in the GenericStringStream<UTF8<char>>::Take() function during regex parsing. The issue is triggered by crafted inputs, such as a 22-byte sequence with invalid UTF-8 like a trailing \xf0 byte in a character class. The function lacks bounds checking, allowing it to read beyond the allocated buffer when src_ advances past the buffer's end. This can lead to denial of service or potential information disclosure if adjacent heap memory is accessed.

Detection Guidance

To detect this vulnerability, check if your system uses Tencent RapidJSON version 1.1.0 or earlier. Inspect applications using RapidJSON's regex engine, especially those with JSON Schema validation using the pattern keyword. Look for crashes or memory corruption when processing crafted inputs with invalid UTF-8 sequences like trailing \xf0 bytes.

Impact Analysis

The impact includes denial of service due to crashes or memory corruption. If adjacent heap memory is accessed, it may also lead to information disclosure, where sensitive data is exposed. Applications using RapidJSON's regex engine, such as JSON Schema validation with the pattern keyword, are particularly affected.

Mitigation Strategies

Immediately update RapidJSON to a patched version if available. If not, apply a temporary fix by adding bounds checks in the GenericStringStream<UTF8<char>>::Take() function or ensure Peek() != 0 checks before every Take() call in GenericRegex::Parse(). Disable regex parsing in JSON Schema validation if possible until patched.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-116620. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart