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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Tencent | RapidJSON | <= 1.1.0 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | rapidjson | No fix yet | — |
| Debian 13 | rapidjson | No fix yet | — |
| Debian 12 | rapidjson | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | rapidjson | No fix yet | — |
| Ubuntu 25.10 | rapidjson | No fix yet | — |
Show 5 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 24.04 LTS | rapidjson | 1.1.0+dfsg2-7.2ubuntu0.1~esm2 | — |
| Ubuntu Pro 22.04 LTS | rapidjson | 1.1.0+dfsg2-7ubuntu0.1~esm2 | — |
| Ubuntu Pro 20.04 LTS | rapidjson | 1.1.0+dfsg2-5ubuntu1+esm2 | — |
| Ubuntu Pro 18.04 LTS | rapidjson | 1.1.0+dfsg2-3ubuntu0.1~esm2 | — |
| Ubuntu Pro 16.04 LTS | rapidjson | 0.12~git20141031-3ubuntu0.1~esm2 | — |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | opencc | No fix yet | — |
| Azure Linux 3 | rapidjson | 1.1.0-8 | — |
| Azure Linux 2 (CBL-Mariner) | ceph | 16.2.10-5 | — |
| Azure Linux 2 (CBL-Mariner) | opencc | No fix yet | — |
| Azure Linux 2 (CBL-Mariner) | rapidjson | 1.1.0-8 | — |
Advisories 3
- SCA-2025-0006 Vulnerability affecting picoScan and multiScan SICK PSIRT · Apr 28, 2025
- WID-SEC-2024-1579 Microsoft Windows: Mehrere Schwachstellen BSI CERT-Bund (WID) · Sep 5, 2024
- NCSC-2024-0279 Kwetsbaarheden verholpen in Microsoft Windows NCSC-NL (Netherlands) · Jul 9, 2024