CVE-2024-39684 Affecting rapidjson package, versions *


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.42% (39th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UBUNTU2610-RAPIDJSON-21206169
  • published18 Oct 2026
  • disclosed9 Jul 2024

Introduced: 9 Jul 2024

CVE-2024-39684  (opens in a new tab)

How to fix?

There is no fixed version for Ubuntu:26.10 rapidjson.

NVD Description

Note: Versions mentioned in the description apply only to the upstream rapidjson package and not the rapidjson package as distributed by Ubuntu. See How to fix? for Ubuntu:26.10 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1