CVE-2026-116620

Tencent RapidJSON Regex stream.h Take out-of-bounds

Published Oct 27, 2026 CVSS 4.0 · 6.9 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The vulnerability resides in the GenericStringStream<UTF8<char>>::Take function within RapidJSON’s Regex Parser, where an out-of-bounds read can occur during processing of user-provided data. This flaw allows an attacker to read data from memory locations beyond the intended buffer boundaries, potentially exposing sensitive information. Because the attack can be started remotely, any system that processes untrusted JSON input with RapidJSON is susceptible. No evidence suggests that the read could be leveraged for remote code execution, but the leakage of arbitrary data may aid further exploitation.

Affected Systems

Tencent RapidJSON versions up to and including 1.1.0 are affected. The library is widely used in C++ projects that parse JSON, so environments that depend on RapidJSON for input parsing must verify the library version. Any application incorporating the unpatched Regex Parser component is at risk; newer or patched releases of RapidJSON are not known to be affected.

Risk and Exploitability

The CVSS score of 6.9 reflects a medium severity, indicating that while the vulnerability does not directly compromise confidentiality at a high level, it remains significant. The EPSS score is not reported, and the issue is not listed in the CISA KEV catalog, although the exploit is publicly disclosed. Based on the description, the likely attack vector is remote exploitation through crafted JSON or regex input sent to an application using RapidJSON. An attacker who can deliver malicious input would trigger the out-of-bounds read and access unintended memory content.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade RapidJSON to a version newer than 1.1.0, which contains the applied bounds checks for GenericStringStream.
  • If an upgrade is not feasible, replace or patch the Regex Parser code to enforce explicit bounds validation before reading from the stream buffer.
  • Sanitize and validate all JSON or regex input that flows into RapidJSON to ensure it does not contain malicious patterns capable of triggering the vulnerable parsing logic.

Generated by OpenCVE AI on October 27, 2026 at 08:01 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title Tencent RapidJSON Regex stream.h Take out-of-bounds
First Time appeared Tencent
Tencent rapidjson
Weaknesses CWE-119
CWE-125
CPEs cpe:2.3:a:tencent:rapidjson:*:*:*:*:*:*:*:*
Vendors & Products Tencent
Tencent rapidjson
References
Metrics cvssV2_0

{'score': 7.5, 'vector': 'AV:N/AC:L/Au:N/C:P/I:P/A:P/E:POC/RL:ND/RC:C'}

cvssV3_0

{'score': 7.3, 'vector': 'CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:C'}

cvssV3_1

{'score': 7.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:C'}

cvssV4_0

{'score': 6.9, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P'}

Weaknesses
  • CWE-119

    Improper Restriction of Operations within the Bounds of a Memory Buffer

  • CWE-125

    Out-of-bounds Read

Sources

Status
PUBLISHED
Assigner
VulDB
Published
Updated
Oct 27, 2026, 2:14 PM
Reserved
Oct 26, 2026, 5:19 PM
Status
Deferred
Published
Oct 27, 2026, 1:19 AM
Modified
Oct 27, 2026, 3:16 PM
Severity
Important
Public date
Oct 27, 2026, 12:30 AM