Skip to main content
CVE-2024-38517VulnerabilityPublished Updated

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

0
Compare

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

CVSS 3.1 base score
7.8High
How severe the flaw is on the 0–10 CVSS scale.
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:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 9 Jul 2024

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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.

Affected software

ProductAffectedFixed in
Ubuntu Pro 24.04 LTSrapidjsonpkg:deb/ubuntu/rapidjson?arch=source&distro=esm-apps/nobleOther threatsAffected
  • <1.1.0+dfsg2-7.2ubuntu0.1~esm1
Fixed in
  • 1.1.0+dfsg2-7.2ubuntu0.1~esm1
Ubuntu Pro 22.04 LTSrapidjsonpkg:deb/ubuntu/rapidjson?arch=source&distro=esm-apps/jammyOther threatsAffected
  • <1.1.0+dfsg2-7ubuntu0.1~esm1
Fixed in
  • 1.1.0+dfsg2-7ubuntu0.1~esm1
Ubuntu Pro 20.04 LTSrapidjsonpkg:deb/ubuntu/rapidjson?arch=source&distro=esm-apps/focalOther threatsAffected
  • <1.1.0+dfsg2-5ubuntu1+esm1
Fixed in
  • 1.1.0+dfsg2-5ubuntu1+esm1
Ubuntu Pro 18.04 LTSrapidjsonpkg:deb/ubuntu/rapidjson?arch=source&distro=esm-apps/bionicOther threatsAffected
  • <1.1.0+dfsg2-3ubuntu0.1~esm1
Fixed in
  • 1.1.0+dfsg2-3ubuntu0.1~esm1
Ubuntu Pro 16.04 LTSrapidjsonpkg:deb/ubuntu/rapidjson?arch=source&distro=esm-apps/xenialOther threatsAffected
  • <0.12~git20141031-3ubuntu0.1~esm1
Fixed in
  • 0.12~git20141031-3ubuntu0.1~esm1

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

Community reviews

Loading reviews…