Tencent RapidJSON is vulnerable to privilege escalation due to an integer underflow in the `GenericReader::ParseNumber()` function of `include/rapidjson/reader.h` when parsing JSON text from a stream
Affects rapidjsonSource GCVE Database
Not known to be exploited · CVSS 7.8 High · fixed in 0.12~git20141031-3ubuntu0.1~esm1 : patch rapidjson soon.
Data as of 24 Nov 2026, 19:27 UTC
- Patch
- Available – fixed in 0.12~git20141031-3ubuntu0.1~esm1, 1.1.0+dfsg2-3ubuntu0.1~esm1, 1.1.0+dfsg2-5ubuntu1+esm1 +2
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 9 Jul 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 23 Nov 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Patches and advisories
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu Pro 24.04 LTSrapidjsonpkg:deb/ubuntu/rapidjson?arch=source&distro=esm-apps/nobleOther threats | Affected
| Fixed in
|
Ubuntu Pro 22.04 LTSrapidjsonpkg:deb/ubuntu/rapidjson?arch=source&distro=esm-apps/jammyOther threats | Affected
| Fixed in
|
Ubuntu Pro 20.04 LTSrapidjsonpkg:deb/ubuntu/rapidjson?arch=source&distro=esm-apps/focalOther threats | Affected
| Fixed in
|
Ubuntu Pro 18.04 LTSrapidjsonpkg:deb/ubuntu/rapidjson?arch=source&distro=esm-apps/bionicOther threats | Affected
| Fixed in
|
Ubuntu Pro 16.04 LTSrapidjsonpkg:deb/ubuntu/rapidjson?arch=source&distro=esm-apps/xenialOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
Tencent RapidJSON is vulnerable to privilege escalation due to an integer underflow in the `GenericReader::ParseNumber()` function of `include/rapidjson/reader.h` when parsing JSON text from a stream. An attacker needs to send the victim a crafted file which needs to be opened; this triggers the integer underflow vulnerability (when the file is parsed), leading to elevation of privilege.
References
- ubuntu.com/security/CVE-2024-38517 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2024-38517 (opens in a new tab)
- msrc.microsoft.com/update-guide/vulnerability/CVE-2024-38517 (opens in a new tab)
- github.com/Tencent/rapidjson/pull/1261/commits/8269bc2bc289e9d343bae51cdf6d23ef0950e001 (opens in a new tab)
- github.com/fmalita/rapidjson/commit/8269bc2bc289e9d343bae51cdf6d23ef0950e001 (opens in a new tab)
- ubuntu.com/security/notices/USN-7125-1 (opens in a new tab)