Description
A security flaw has been discovered in Tencent RapidJSON up to 1.1.0. This affects the function Writer::WriteString in the library include/rapidjson/writer.h. Performing a manipulation of the argument length results in integer overflow. The attack may be initiated remotely. The patch is named 297637bc0a0f00dc504dbc1a47ebdaa577f8ae19. To fix this issue, it is recommended to deploy a patch.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Tencent | RapidJSON | 1.0, 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 | — |
Show 6 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 26.04 LTS | rapidjson | 1.1.0+dfsg2-7.6ubuntu1.1+esm1 | USN-9324-1 |
| Ubuntu Pro 24.04 LTS | rapidjson | 1.1.0+dfsg2-7.2ubuntu0.1~esm3 | USN-9324-1 |
| Ubuntu Pro 22.04 LTS | rapidjson | 1.1.0+dfsg2-7ubuntu0.1~esm3 | USN-9324-1 |
| Ubuntu Pro 20.04 LTS | rapidjson | 1.1.0+dfsg2-5ubuntu1+esm3 | USN-9324-1 |
| Ubuntu Pro 18.04 LTS | rapidjson | 1.1.0+dfsg2-3ubuntu0.1~esm3 | USN-9324-1 |
| Ubuntu Pro 16.04 LTS | rapidjson | No fix yet | — |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | opencc +1 | No fix yet | — |
Advisories 1
- USN-9324-1 rapidjson vulnerability Ubuntu Security Notices (USN) · Dec 3, 2026
References
- VDB-444244 | Tencent RapidJSON writer.h WriteString integer overflow vdb-entry technical-description
- VDB-444244 | CTI Indicators (IOB, IOC, IOA) signature permissions-required
- CVE-2026-137415 | CVE Analysis and Report third-party-advisory
- Submit #1064065 | Tencent RapidJSON 1.1.0 Memory Corruption third-party-advisory
- https://github.com/Tencent/rapidjson/issues/2336 issue-tracking
- https://github.com/Tencent/rapidjson/pull/2416 issue-tracking patch
- https://github.com/Tencent/rapidjson/commit/297637bc0a0f00dc504dbc1a47ebdaa577f8ae19 patch
- https://github.com/Tencent/rapidjson/ product