cve.bz

CVE-2026-116620 tencent rapidjson: Out-of-bounds Read

5.5 mediumEPSS 0.3%

Medium (5.5) in tencent rapidjson. EPSS 0.3% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 4.0

5.5 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:P

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
EPSS
0.3% (unchanged from 0.3% a week ago) estimated probability of exploitation activity in the next 30 days; 24th percentile. Scored 2026-11-17. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: yes · Technical impact: partial, assessed 2026-10-27. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
CWE-125 Out-of-bounds Read
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-116620 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-116620?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-116620?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-116620 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Tencent RapidJSON1.0
Tencent RapidJSON1.1.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14rapidjsonno fix listedDEBIAN-CVE-2026-116620
Ubuntu26.04:LTS, 26.10, Pro:16.04:LTS and 4 morerapidjsonno fix listedUBUNTU-CVE-2026-116620
Red Hatenterprise_linux:9::appstreammecab, mecab-devel, mecab-debuginfo and 1 more0:0.996-3.module+el9.9.0+24089+64aac046.4RHSA-2026:99741
Red Hatenterprise_linux:9::appstreammecab-ipadic, mecab-ipadic-EUCJP0:2.7.0.20070801-24.module+el9.9.0+24089+64aac046RHSA-2026:99741
Red Hatenterprise_linux:9::appstreammysql, mysql-libs, mysql-test and 11 more0:8.4.13-1.module+el9.9.0+25300+c0fc77bcRHSA-2026:99741
Red Hatenterprise_linux:9::appstreamperl-DBD-MySQL, perl-DBD-MySQL-debuginfo, perl-DBD-MySQL-debugsource0:4.053-3.module+el9.9.0+24089+64aac046RHSA-2026:99741
Red Hatenterprise_linux:9::appstreamrapidjson, rapidjson-doc, rapidjson-devel0:1.1.0-20.module+el9.9.0+25300+c0fc77bcRHSA-2026:99741
Rocky Linux9mecab0:0.996-3.module+el9.8.0+40162+a76274f1.4RLSA-2026:99741
Rocky Linux9mecab0:0.996-3.module+el9.8.0+40205+77f4da59.4RLSA-2026:99741
Rocky Linux9mecab-ipadic0:2.7.0.20070801-24.module+el9.8.0+40162+a76274f1RLSA-2026:99741
Rocky Linux9mecab-ipadic0:2.7.0.20070801-24.module+el9.8.0+40205+77f4da59RLSA-2026:99741
Rocky Linux9perl-DBD-MySQL0:4.053-3.module+el9.8.0+40162+a76274f1RLSA-2026:99741
Rocky Linux9perl-DBD-MySQL0:4.053-3.module+el9.8.0+40205+77f4da59RLSA-2026:99741
Azure Linux3openccno fix listedAZL-111712
Azure Linux3rapidjsonno fix listedAZL-111134

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; Rocky Linux's errata, BSD-3-Clause; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat.

Red Hat

Red Hat rates this Important.

Red Hat's statement

This issue is in RapidJSON's internal regular expression engine

(GenericStringStream::Take / GenericRegex), which can be reached when processing

untrusted regex input such as JSON Schema "pattern" values.

Red Hat MySQL 8.4 builds RapidJSON with RAPIDJSON_SCHEMA_USE_INTERNALREGEX=0

and RAPIDJSON_SCHEMA_USE_STDREGEX=1 (see cmake/rapidjson.cmake). So, the vulnerable code path is not reachable in the MySQL server. The bundled RapidJSON sources may still report as version 1.1.0.

Where Red Hat ships rapidjson-devel (for example via the mysql:8.4 module) the package provides headers only. There is no vulnerable executable in that package. Systems are not vulnerable solely because rapidjson-devel is installed. Applications built from those headers are only at risk if they enable RapidJSON's internal regex engine and feed it untrusted patterns.

Red Hat's mitigation

No mitigation is required for Red Hat MySQL packages. MySQL is built with

RAPIDJSON_SCHEMA_USE_INTERNALREGEX=0 and RAPIDJSON_SCHEMA_USE_STDREGEX=1. So, the vulnerable RapidJSON internal regex parser is not used.

The rapidjson-devel package ships only C++ header files and contains no executable code. Merely installing rapidjson-devel does not expose a system to this flaw. Developers who build applications against rapidjson-devel and use JSON Schema pattern matching should compile with -DRAPIDJSON_SCHEMA_USE_INTERNALREGEX=0 -DRAPIDJSON_SCHEMA_USE_STDREGEX=1

(or equivalent) so the C++ standard library regex engine is used instead of RapidJSON's internal regex implementation.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10dotnet11.0Not affected
Red Hat Enterprise Linux 10mysql8.4Not affected
Red Hat Enterprise Linux 8mysql:8.4/mysqlNot affected
Red Hat Enterprise Linux 9dotnet11.0Not affected
Red Hat Enterprise Linux 9mysql:8.4/mysqlNot affected
Red Hat Enterprise Linux 9mysql:8.4/rapidjsonAffected
Red Hat Enterprise Linux AI (RHEL AI) 3rapidjsonAffected
Red Hat OpenStack Platform 17.1leathermanNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-116620.

Attack patterns (CAPEC)

  • CAPEC-540 Overread Buffers Likelihood: Low · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-119 (12).

References

Check your stackJSON