CVE-2026-124586

Tencent RapidJSON diyfp.h GetCachedPowerByIndex out-of-bounds

Published Nov 9, 2026 CVSS 4.0 · 6.9 Medium EPSS < 1% KEV · Not listed
Description
A vulnerability was determined in Tencent RapidJSON 1.1.0. Impacted is the function GetCachedPowerByIndex in the library include/rapidjson/internal/diyfp.h. This manipulation of the argument decimalPosition causes out-of-bounds read. It is possible to initiate the attack remotely. The exploit has been publicly disclosed and may be utilized. The project was informed of the problem early through an issue report but has not responded yet.

Analysis

AI-generated

Technical impact

A bug in Tencent RapidJSON version 1.1.0 allows an attacker to manipulate the decimalPosition argument within the GetCachedPowerByIndex function in diyfp.h, resulting in an out-of-bounds read. The read vulnerability is classed as CWE-119 and CWE-125. If an attacker supplies specially crafted JSON that reaches this function, the library can expose memory contents beyond the intended bounds, which may reveal sensitive data used by the host program.

Affected Systems

The vulnerability affects all installations of Tencent RapidJSON 1.1.0. No fixed release is currently available; the library is widely used in C++ projects that parse JSON.

Risk and Exploitability

The CVSS score of 6.9 indicates moderate severity, and the EPSS score is not available, but the bug has been publicly disclosed and remote exploitation is conceivable. Because it is an out‑of‑bounds read and no mitigation has been shipped, the risk is primarily information disclosure rather than denial of service or code execution. The vulnerability is not yet listed in the CISA KEV catalog, suggesting it has not been widely exploited in the wild yet, yet the existence of a public exploit means that any downstream applications that use RapidJSON newly exposed to malicious JSON input could be compromised.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply an updated RapidJSON release that contains the fix for the GetCachedPowerByIndex out-of-bounds read.
  • If an update is not immediately possible, sanitize or validate any input that influences decimalPosition to ensure it stays within safe bounds before it is passed to RapidJSON.
  • As a temporary measure, replace the diyfp.h file with the corrected version published in the RapidJSON issue discussion, or consider migrating to an alternative JSON library until an official patch is released.

Generated by OpenCVE AI on November 9, 2026 at 10:22 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 vulnerability was determined in Tencent RapidJSON 1.1.0. Impacted is the function GetCachedPowerByIndex in the library include/rapidjson/internal/diyfp.h. This manipulation of the argument decimalPosition causes out-of-bounds read. It is possible to initiate the attack remotely. The exploit has been publicly disclosed and may be utilized. The project was informed of the problem early through an issue report but has not responded yet.
Title Tencent RapidJSON diyfp.h GetCachedPowerByIndex 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
Nov 10, 2026, 5:51 PM
Reserved
Nov 8, 2026, 8:24 PM
Status
Deferred
Published
Nov 9, 2026, 10:17 AM
Modified
Nov 10, 2026, 6:17 PM