
CVE catalog
CVE-2024-38517
RapidJSON vulnerability
Tencent RapidJSON is vulnerable to privilege escalation due to an integer underflow 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 underflow vulnerability (when the file is parsed), leading to elevation of privilege.
- Severity
- High · CVSS 7.8
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.38% · Oct 27, 2026
Projects and upstream resources
Reported versions and fixes
Each observation applies to its named package, distribution, and release. Distribution backports can fix a vulnerability while retaining an older upstream version number.
Version impact has not been established. The original provider fields are retained below.
Provider details and historical evidence
Original provider fields
{
"package_releases": [
{
"name": "rapidjson",
"status": "fixed",
"release": "sid",
"version": "1.1.0+dfsg2-7.6"
},
{
"name": "rapidjson",
"status": "fixed",
"release": "forky",
"version": "1.1.0+dfsg2-7.6"
},
{
"name": "rapidjson",
"status": "fixed",
"release": "trixie",
"version": "1.1.0+dfsg2-7.4"
},
{
"name": "rapidjson",
"status": "vulnerable",
"release": "bookworm",
"version": "1.1.0+dfsg2-7.1"
}
],
"fixed_versions": [
{
"bug": 1083185,
"name": "rapidjson",
"type": "source",
"origin": null,
"release": "sid",
"urgency": "not yet assigned",
"fixed_version": "1.1.0+dfsg2-7.4"
},
{
"bug": 1083185,
"name": "rapidjson",
"type": "source",
"origin": null,
"release": "forky",
"urgency": "not yet assigned",
"fixed_version": "1.1.0+dfsg2-7.4"
},
{
"bug": 1083185,
"name": "rapidjson",
"type": "source",
"origin": null,
"release": "trixie",
"urgency": "not yet assigned",
"fixed_version": "1.1.0+dfsg2-7.4"
},
{
"bug": 1083185,
"name": "rapidjson",
"type": "source",
"origin": null,
"release": "bookworm",
"urgency": "not yet assigned",
"fixed_version": ""
}
],
"distribution_packages": [
{
"name": "rapidjson",
"distro": "ubuntu",
"release": "noble",
"ecosystem": "deb",
"fixed_version": "not yet fixed"
},
{
"name": "rapidjson",
"distro": "ubuntu",
"release": "noble",
"ecosystem": "deb",
"fixed_version": "1.1.0+dfsg2-7.2ubuntu0.1~esm1"
},
{
"name": "rapidjson-dev",
"distro": "ubuntu",
"release": "noble",
"ecosystem": "deb",
"fixed_version": "1.1.0+dfsg2-7.2ubuntu0.1~esm1"
},
{
"name": "rapidjson-doc",
"distro": "ubuntu",
"release": "noble",
"ecosystem": "deb",
"fixed_version": "1.1.0+dfsg2-7.2ubuntu0.1~esm1"
},
{
"name": "rapidjson",
"distro": "ubuntu",
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.1.0+dfsg2-7.2ubuntu0.1~esm1"
}
]
}
],
"release": "pro",
"versions": [
"1.1.0+dfsg2-7.1",
"1.1.0+dfsg2-7.2"
],
"ecosystem": "deb",
"fixed_version": "1.1.0+dfsg2-7.2ubuntu0.1~esm1",
"provider_record_id": "USN-7125-1"
},
{
"name": "rapidjson",
"distro": "ubuntu",
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.1.0+dfsg2-7.2ubuntu0.1~esm1"
}
]
}
],
"release": "pro",
"versions": [
"1.1.0+dfsg2-7.1",
"1.1.0+dfsg2-7.2"
],
"ecosystem": "deb",
"fixed_version": "1.1.0+dfsg2-7.2ubuntu0.1~esm1",
"provider_record_id": "UBUNTU-CVE-2024-38517"
}
]
}Publisher notes
[bookworm] rapidjson: Minor issue
OpenFactory catalog packages
Matching against OpenFactory catalog package versions is in progress.
[Debian 12 (Bookworm)]
- [rapidjson-dev]Unknown
Source package: [rapidjson]
Details (2)
1.1.0+dfsg2-7.1· all · bookwormAffected
usn · rapidjson · debian · bookworm; usn · rapidjson · debian · 12
1.1.0+dfsg2-7.1· all · bookwormAffected
usn · rapidjson · debian · bookworm; usn · rapidjson · debian · 12
- [rapidjson-doc]Unknown
Source package: [rapidjson]
Details (2)
1.1.0+dfsg2-7.1· all · bookwormAffected
usn · rapidjson · debian · bookworm; usn · rapidjson · debian · 12
1.1.0+dfsg2-7.1· all · bookwormAffected
usn · rapidjson · debian · bookworm; usn · rapidjson · debian · 12
[Debian 13 (Trixie)]
- [rapidjson-dev]Unknown
Source package: [rapidjson]
Details (2)
1.1.0+dfsg2-7.4· all · trixieFixed · Fixed:
1.1.0+dfsg2-7.4usn · rapidjson · debian · 13
1.1.0+dfsg2-7.4· all · trixieFixed · Fixed:
1.1.0+dfsg2-7.4usn · rapidjson · debian · 13
- [rapidjson-doc]Unknown
Source package: [rapidjson]
Details (2)
1.1.0+dfsg2-7.4· all · trixieFixed · Fixed:
1.1.0+dfsg2-7.4usn · rapidjson · debian · 13
1.1.0+dfsg2-7.4· all · trixieFixed · Fixed:
1.1.0+dfsg2-7.4usn · rapidjson · debian · 13
Observed:
References
- [https://osv.dev/vulnerability/DEBIAN-CVE-2024-38517]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2024-38517]
- [https://osv.dev/vulnerability/USN-7125-1]
- [https://security-tracker.debian.org/tracker/CVE-2024-38517]
- [https://security.access.redhat.com/data/csaf/v2/vex/2024/cve-2024-38517.json]
- [https://ubuntu.com/security/notices/USN-7125-1]
- [https://wid.cert-bund.de/.well-known/csaf/white/2024/wid-sec-w-2024-1579.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [Ubuntu Security Notices (USN)]