CVE-2024-39684

Publication date 9 July 2024

Last updated 23 April 2026


Ubuntu priority

Cvss 3 Severity Score

7.8 · High

Score breakdown

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.

Read the notes from the security team

Status

Package Ubuntu Release Status
rapidjson 26.04 LTS resolute
Vulnerable
25.10 questing
Vulnerable
25.04 plucky Ignored end of life, was needed
24.10 oracular Ignored end of life, was needs-triage
24.04 LTS noble
Fixed 1.1.0+dfsg2-7.2ubuntu0.1~esm2
23.10 mantic Ignored end of life, was needs-triage
22.04 LTS jammy
Fixed 1.1.0+dfsg2-7ubuntu0.1~esm2
20.04 LTS focal
Fixed 1.1.0+dfsg2-5ubuntu1+esm2
18.04 LTS bionic
Fixed 1.1.0+dfsg2-3ubuntu0.1~esm2
16.04 LTS xenial
Fixed 0.12~git20141031-3ubuntu0.1~esm2

Get expanded security coverage with Ubuntu Pro

Reduce your average CVE exposure time from 98 days to 1 day with expanded CVE patching, ten-years security maintenance and optional support for the full stack of open-source applications. Free for personal use.

Get Ubuntu Pro 30-day free trial

Notes


fabian

It is unclear what the cve is about, see upstream issue: https://github.com/Tencent/rapidjson/issues/2303 However, after inspecting the git history, the following commit could be related: https://github.com/Tencent/rapidjson/commit/f5e5d47fac0f654749c4d6267015005b74643dff

Severity score breakdown

Parameter Value
Base score 7.8 · High
Attack vector Local
Attack complexity Low
Privileges required None
User interaction Required
Scope Unchanged
Confidentiality High
Integrity impact High
Availability impact High
Vector CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

References

Related Ubuntu Security Notices (USN)

    • USN-8189-1
    • RapidJSON vulnerability
    • 20 April 2026

Other references


Access our resources on patching vulnerabilities