# CVE-2024-38517: Tencent RapidJSON include/rapidjson/reader.h GenericReader::ParseNumber() Function Template Exponent Parsing Integer Underflow

- Severity: Medium 6.8 (CVSS:3.1, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.38%, higher than 33% of CVEs (2026-12-01)
- Published: 2024-07-09T18:51:50.563Z
- Modified: 2026-06-17T07:40:27.380Z
- Weaknesses: CWE-191
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- Tencent RapidJSON: <= 1.1.0

## References

- <https://msrc.microsoft.com/update-guide/vulnerability/CVE-2024-38517>
- <https://github.com/Tencent/rapidjson/pull/1261/commits/8269bc2bc289e9d343bae51cdf6d23ef0950e001>
- <https://github.com/fmalita/rapidjson/commit/8269bc2bc289e9d343bae51cdf6d23ef0950e001>
- <https://security.netapp.com/advisory/ntap-20240905-0001/>

## Sources

- CVE List: [CVE-2024-38517](https://www.cve.org/CVERecord?id=CVE-2024-38517), CVE Terms of Use, modified 2024-09-05
- NVD: [CVE-2024-38517](https://nvd.nist.gov/vuln/detail/CVE-2024-38517), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-38517 · Whole record: https://cve.day/CVE-2024-38517.json · Rebuilt by cve.day 2026-11-25T22:58:42.694Z
