CVE-2026-137415: Tencent RapidJSON writer.h WriteString integer overflow
A security flaw has been discovered in Tencent RapidJSON up to 1.1.0. This affects the function Writer::WriteString in the library include/rapidjson/writer.h. Performing a manipulation of the argument length results in integer overflow. The attack may be initiated remotely. The patch is named 297637bc0a0f00dc504dbc1a47ebdaa577f8ae19. To fix this issue, it is recommended to deploy a patch.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Patch 297637bc0a0f00dc504dbc1a47ebdaa577f8ae19
Event History
Frequently Asked Questions
Which deployments are affected?
Tencent RapidJSON versions up to and including 1.1.0 are affected, specifically where the Writer::WriteString function in include/rapidjson/writer.h is used.
Does exploitation require authentication or user interaction?
No. The supplied vector indicates network attack access with low attack complexity, no privileges required, and no user interaction.
What does an attacker need to control?
An attacker needs to manipulate the length argument passed to Writer::WriteString, causing an integer overflow. The issue may be initiated remotely.
What should teams do to remediate this issue?
Deploy the patch identified as 297637bc0a0f00dc504dbc1a47ebdaa577f8ae19.