CVE-2024-39684
Tencent RapidJSON include/rapidjson/reader.h GenericReader::ParseNumber() Function Template Exponent Parsing Integer Overflow
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.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Required
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
CVE List Score used
6.8
Tencent RapidJSON include/rapidjson/reader.h GenericReader::ParseNumber() Function Template Exponent Parsing Integer Overflow
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.
- Record
CVE-2024-39684- CVSS 3.1
- 6.8 Medium
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 - Weakness
- CWE-190
- Updated
- 2026-11-02
EUVDEUVD-2024-38186
6.8
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.
- Record
EUVD-2024-38186- CVSS 3.1
- 6.8 Medium
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 - Updated
- 2026-11-03
NVD
7.8
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.
- Record
CVE-2024-39684- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Weakness
- CWE-190
- Updated
- 2026-11-02
OSVBELL-CVE-2024-39684
7.8
- Record
BELL-CVE-2024-39684- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSV
7.8
Tencent RapidJSON include/rapidjson/reader.h GenericReader::ParseNumber() Function Template Exponent Parsing Integer Overflow
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.
- Record
CVE-2024-39684- CVSS 3.1
- 7.8 High
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 - Updated
- 2026-11-02
OSVDEBIAN-CVE-2024-39684
7.8
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.
- Record
DEBIAN-CVE-2024-39684- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
Show 7 moreShow less
OSVUBUNTU-CVE-2024-39684
7.8
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.
- Record
UBUNTU-CVE-2024-39684- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVAZL-43255 No score
CVE-2024-39684 affecting package rapidjson for versions less than 1.1.0-8
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.
- Record
AZL-43255- Updated
- 2026-11-05
OSVAZL-43297 No score
CVE-2024-39684 affecting package rapidjson for versions less than 1.1.0-8
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.
- Record
AZL-43297- Updated
- 2026-11-02
OSVAZL-43315 No score
CVE-2024-39684 affecting package ceph for versions less than 16.2.10-5
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.
- Record
AZL-43315- Updated
- 2026-11-02
OSVAZL-43618 No score
CVE-2024-39684 affecting package opencc 1.1.1-3
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.
- Record
AZL-43618- Updated
- 2026-11-02
OSVAZL-45423 No score
CVE-2024-39684 affecting package opencc 1.1.1-3
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.
- Record
AZL-45423- Updated
- 2026-11-05
OSVUSN-8189-1 No score
rapidjson vulnerability
It was discovered that RapidJSON did not properly protect against integer overflows in certain instances when parsing JSON text. A remote attacker could possibly use this issue to craft a malicious JSON file, that when read by RapidJSON, would lead to an elevation of privilege, resulting in the potential disclosure of sensitive information.
- Record
USN-8189-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
rapidjsonAzure Linux:3 |
before 1.1.0-8 | 1.1.0-8 |
rapidjsonAzure Linux:2 |
before 1.1.0-8 | 1.1.0-8 |
cephAzure Linux:2 |
before 16.2.10-5 | 16.2.10-5 |
openccAzure Linux:2 |
through 1.1.1-3 | None known |
openccAzure Linux:3 |
through 1.1.1-3 | None known |
rapidjsonAlpaquita:23 |
1.1.0-r4 and later | None known |
rapidjsonAlpaquita:25 |
1.1.0-r8 and later | None known |
rapidjsonAlpaquita:stream |
1.1.0-r4 and later | None known |
rapidjsonDebian:12 |
All versions, plus listed versions 1.1.0+dfsg2-7.11.1.0+dfsg2-7.21.1.0+dfsg2-7.31.1.0+dfsg2-7.41.1.0+dfsg2-7.6 |
None known |
rapidjsonDebian:13 |
All versions, plus listed versions 1.1.0+dfsg2-7.41.1.0+dfsg2-7.6 |
None known |
Show 9 moreShow less
| Package | Affected | Fixed |
|---|---|---|
rapidjsonDebian:14 |
All versions, plus listed versions 1.1.0+dfsg2-7.41.1.0+dfsg2-7.6 |
None known |
rapidjsonUbuntu:Pro:16.04:LTS |
before 0.12~git20141031-3ubuntu0.1~esm2, plus listed versions 0.12~git20141031-30.12~git20141031-3ubuntu0.1~esm1 |
0.12~git20141031-3ubuntu0.1~esm2 |
rapidjsonUbuntu:Pro:18.04:LTS |
before 1.1.0+dfsg2-3ubuntu0.1~esm2, plus listed versions 0.12~git20141031+dfsg-11.1.0+dfsg2-31.1.0+dfsg2-3ubuntu0.1~esm1 |
1.1.0+dfsg2-3ubuntu0.1~esm2 |
rapidjsonUbuntu:Pro:20.04:LTS |
before 1.1.0+dfsg2-5ubuntu1+esm2, plus listed versions 1.1.0+dfsg2-51.1.0+dfsg2-5ubuntu11.1.0+dfsg2-5ubuntu1+esm1 |
1.1.0+dfsg2-5ubuntu1+esm2 |
rapidjsonUbuntu:Pro:22.04:LTS |
before 1.1.0+dfsg2-7ubuntu0.1~esm2, plus listed versions 1.1.0+dfsg2-71.1.0+dfsg2-7ubuntu0.1~esm1 |
1.1.0+dfsg2-7ubuntu0.1~esm2 |
rapidjsonUbuntu:Pro:24.04:LTS |
before 1.1.0+dfsg2-7.2ubuntu0.1~esm2, plus listed versions 1.1.0+dfsg2-7.11.1.0+dfsg2-7.21.1.0+dfsg2-7.2ubuntu0.1~esm1 |
1.1.0+dfsg2-7.2ubuntu0.1~esm2 |
rapidjsonUbuntu:25.10 |
All versions, plus listed versions 1.1.0+dfsg2-7.3ubuntu1 |
None known |
rapidjsonUbuntu:26.10 |
All versions, plus listed versions 1.1.0+dfsg2-7.6ubuntu1 |
None known |
rapidjsonUbuntu:26.04:LTS |
All versions, plus listed versions 1.1.0+dfsg2-7.3ubuntu11.1.0+dfsg2-7.6ubuntu1 |
None known |
History
| Recorded | Changed | Sources |
|---|---|---|
| facts | OSV | |
| aliases | EUVD | |
| first indexed | CVE List, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2024-39684 is a medium vulnerability (CVSS 6.8) in Tencent Rapidjson, published July 9, 2024. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.42%, the 36th percentile. Fixed in rapidjson 1.1.0-8.
References
msrc.microsoft.com/update-guide/vulnerability/CVE-2024-39684
security.netapp.com/advisory/ntap-20240905-0003
nvd.nist.gov/vuln/detail/CVE-2024-39684
docs.bell-sw.com/security/cves/CVE-2024-39684
security-tracker.debian.org/tracker/CVE-2024-39684
ubuntu.com/security/CVE-2024-39684
cve.org/CVERecord?id=CVE-2024-39684
ubuntu.com/security/notices/USN-8189-1