Every CVE Search/ Get API key

CVE-2024-39684

Tencent RapidJSON include/rapidjson/reader.h GenericReader::ParseNumber() Function Template Exponent Parsing Integer Overflow

6.8 MediumFix available

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

0.42%Up 0.4 points since Jul 10, 2024
90%50%10%1%

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 MediumCVSS: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 MediumCVSS: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 HighCVSS: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 HighCVSS: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 HighCVSS: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 HighCVSS: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 HighCVSS: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

Affected packages
PackageAffectedFixed
rapidjson
Azure Linux:3
before 1.1.0-8
1.1.0-8
rapidjson
Azure Linux:2
before 1.1.0-8
1.1.0-8
ceph
Azure Linux:2
before 16.2.10-5
16.2.10-5
opencc
Azure Linux:2
through 1.1.1-3 None known
opencc
Azure Linux:3
through 1.1.1-3 None known
rapidjson
Alpaquita:23
1.1.0-r4 and later None known
rapidjson
Alpaquita:25
1.1.0-r8 and later None known
rapidjson
Alpaquita:stream
1.1.0-r4 and later None known
rapidjson
Debian: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
rapidjson
Debian:13
All versions, plus listed versions
1.1.0+dfsg2-7.41.1.0+dfsg2-7.6
None known
Show 9 moreShow less
Affected packages
PackageAffectedFixed
rapidjson
Debian:14
All versions, plus listed versions
1.1.0+dfsg2-7.41.1.0+dfsg2-7.6
None known
rapidjson
Ubuntu: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
rapidjson
Ubuntu: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
rapidjson
Ubuntu: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
rapidjson
Ubuntu: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
rapidjson
Ubuntu: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
rapidjson
Ubuntu:25.10
All versions, plus listed versions
1.1.0+dfsg2-7.3ubuntu1
None known
rapidjson
Ubuntu:26.10
All versions, plus listed versions
1.1.0+dfsg2-7.6ubuntu1
None known
rapidjson
Ubuntu:26.04:LTS
All versions, plus listed versions
1.1.0+dfsg2-7.3ubuntu11.1.0+dfsg2-7.6ubuntu1
None known

History

History
RecordedChangedSources
factsOSV
aliasesEUVD
first indexedCVE 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

MoveEnter Open