CVE-2024-39684: Tencent RapidJSON include/rapidjson/reader.h GenericReader::ParseNumber() Function Template Exponent Parsing Integer Overflow
Vulnerability summary
CVE-2024-39684 is a high (CVSS 7.8) Integer Overflow or Wraparound vulnerability in tencent rapidjson. EPSS estimates a 0.42% chance of exploitation in the next 30 days, higher than 36.3% of scored vulnerabilities.
Not severe (CVSS 6.8, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 0 · Related 1Timeline
- 09-07-2024PublishedVulnerability first disclosed.
- 05-09-2024Last modifiedVulnerability information updated.
Description
Tencent RapidJSON is vulnerable to privilege escalation due to an integer overflow 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 overflow vulnerability (when the file is parsed), leading to elevation of privilege.
CVSS metrics
4 scores · 4 sources · 1 version- CVE.orgCNA6.8MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H/E:U/RL:O/RC:CDiffers
- OSV · UbuntuEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS trend
Probability
0.42%
Chance of exploitation in the next 30 days
Percentile
36%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.42% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.
Debian1 product
- rapidjsonAll versions (No fix recorded)
Tencent1 product
- rapidjson≤ 1.1.0
Ubuntu1 product
- rapidjson< 0.12~git20141031-3ubuntu0.1~esm2 | < 1.1.0+dfsg2-3ubuntu0.1~esm2 | < 1.1.0+dfsg2-5ubuntu1+esm2 | < 1.1.0+dfsg2-7ubuntu0.1~esm2 | < 1.1.0+dfsg2-7.2ubuntu0.1~esm2 | All versions (No fix recorded)
3 vendors · 3 products