CVE-2024-39684
published medium CVSS 3.1 · 6.8Tencent RapidJSON include/rapidjson/reader.h GenericReader::ParseNumber() Function Template Exponent Parsing Integer Overflow
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Tencent | — | RapidJSON<= 1.1.0 | Affected | Not stated | GitHub_M |
| tencent | — | rapidjson0 through 1.1.0 · Other versions: unknown | Affected | Not stated | CISA-ADP |
| Amazon Linux | AL2023 | Release evaluation | No Fix Planned | Not stated | Amazon Linux assessment |
| Ubuntu | bionic | rapidjson | Advisory build | 1.1.0+dfsg2-3ubuntu0.1~esm2 | USN-8189-1 |
| Ubuntu | focal | rapidjson | Advisory build | 1.1.0+dfsg2-5ubuntu1+esm2 | USN-8189-1 |
| Ubuntu | jammy | rapidjson | Advisory build | 1.1.0+dfsg2-7ubuntu0.1~esm2 | USN-8189-1 |
| Ubuntu | noble | rapidjson | Advisory build | 1.1.0+dfsg2-7.2ubuntu0.1~esm2 | USN-8189-1 |
| Ubuntu | xenial | rapidjson | Advisory build | 0.12~git20141031-3ubuntu0.1~esm2 | USN-8189-1 |
Show 5 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Ubuntu | bionic | rapidjson-dev | Advisory build | 1.1.0+dfsg2-3ubuntu0.1~esm2 | USN-8189-1 |
| Ubuntu | focal | rapidjson-dev | Advisory build | 1.1.0+dfsg2-5ubuntu1+esm2 | USN-8189-1 |
| Ubuntu | jammy | rapidjson-dev | Advisory build | 1.1.0+dfsg2-7ubuntu0.1~esm2 | USN-8189-1 |
| Ubuntu | noble | rapidjson-dev | Advisory build | 1.1.0+dfsg2-7.2ubuntu0.1~esm2 | USN-8189-1 |
| Ubuntu | xenial | rapidjson-dev | Advisory build | 0.12~git20141031-3ubuntu0.1~esm2 | USN-8189-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.8 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Tencent | RapidJSON | <= 1.1.0 (affected) | GitHub_M · cna |
| tencent | rapidjson | 0 through 1.1.0 (affected · custom)Default: unknown | CISA-ADP · adp |
Weaknesses
1- CWE-190 CWE-190: Integer Overflow or Wraparound
References
2Provider assertions
3GitHub_M · cna
Tencent RapidJSON include/rapidjson/reader.h GenericReader::ParseNumber() Function Template Exponent Parsing Integer Overflow
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 20b75479f0aab2f9a688cf8daf51722b011f06e7fa40c52a0309825c98b50320
- Ingested
- 23 Sep 2026, 08:25:18 UTC
- Source record
- Official CVE record