# CVE-2026-137415: Tencent RapidJSON writer.h WriteString integer overflow

Status: published. Published: 2026-11-26. Updated: 2026-11-26.

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.

## Remediation

- fix: The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches. (source: CNA: VulDB) — https://github.com/Tencent/rapidjson/pull/2416
- fix: The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches. (source: CNA: VulDB) — https://github.com/Tencent/rapidjson/commit/297637bc0a0f00dc504dbc1a47ebdaa577f8ae19

## Affected products and versions

- Tencent / RapidJSON: 1.0 (affected); 1.1.0 (affected). Source: CNA: VulDB

## Severity and prioritization

- CVSS 4.0: 6.9 (medium); 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:X; source: CNA: VulDB

- CVSS 3.1: 7.3 (high); CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:X/RL:O/RC:C; source: CNA: VulDB

- CVSS 3.0: 7.3 (high); CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:X/RL:O/RC:C; source: CNA: VulDB

- CVSS 2.0: 7.5 (high); AV:N/AC:L/Au:N/C:P/I:P/A:P/E:ND/RL:OF/RC:C; source: CNA: VulDB

- CISA KEV: No listing in collected sources

- EPSS: Not available

- SSVC: Not available

- Weaknesses: CWE-190, CWE-189

## Exploit evidence

No exploit evidence in collected sources. This is not proof of no exploitation.

## References

- https://vuldb.com/vuln/444244 (CNA: VulDB; vdb-entry, technical-description)

- https://vuldb.com/vuln/444244/cti (CNA: VulDB; signature, permissions-required)

- https://vuldb.com/cve/CVE-2026-137415 (CNA: VulDB; third-party-advisory)

- https://vuldb.com/submit/1064065 (CNA: VulDB; third-party-advisory)

- https://github.com/Tencent/rapidjson/issues/2336 (CNA: VulDB; issue-tracking)

- https://github.com/Tencent/rapidjson/pull/2416 (CNA: VulDB; issue-tracking, patch)

- https://github.com/Tencent/rapidjson/commit/297637bc0a0f00dc504dbc1a47ebdaa577f8ae19 (CNA: VulDB; patch)

- https://github.com/Tencent/rapidjson/ (CNA: VulDB; product)

## Provenance

- CNA: VulDB: https://www.cve.org/CVERecord?id=CVE-2026-137415; retrieved 2026-11-26; source updated 2026-11-26

Revision: 48484fbbf9c7be41e7502eec52ffa299eb3ea41cdb0fe932484b8971ec7f8206

Canonical: https://y2.dev/cve/CVE-2026-137415

## Agent and API access

Public CVE pages, Markdown, and JSON are free to read without an account or API key.

- Public catalog: https://y2.dev/cve/index.json. Follow nextCursor with the same search, filters, sort, and limit (1–100). A null cursor marks the end.

- WebMCP: search_cve_disclosures, get_cve_disclosure, get_cve_page_markdown, get_y2_cve_access. Available in compatible browsers.

- Cyber API: https://api.y2.dev/api/v2/cyber/cves and https://api.y2.dev/api/v2/cyber/cves/{cveId}.

- Y2 Pro or Elite: create a workspace API key with the intel:cyber scope and send Authorization: Bearer <Y2_API_KEY>. Setup: https://y2.dev/docs/api/create-key.

- x402: Pay per request without an account or API key. Omit Authorization, read the HTTP 402 PAYMENT-REQUIRED challenge, validate its current requirements, and retry with PAYMENT-SIGNATURE through an authorized payment client. These browser tools never make payments. Guide: https://y2.dev/docs/api/x402.

- OpenAPI: https://y2.dev/api/openapi.yaml. Agent access metadata: https://y2.dev/cve/agent.json.

Collected public records only. Check source status for coverage and freshness.