Integer Overflow to Buffer Overflow Affecting rapidjson package, versions [0,]


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.14% (34th 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 Learn

Learn about Integer Overflow to Buffer Overflow vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-CONAN-RAPIDJSON-10078257
  • published8 May 2025
  • disclosed9 Jul 2024
  • creditUnknown

Introduced: 9 Jul 2024

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

How to fix?

There is no fixed version for rapidjson.

Overview

Affected versions of this package are vulnerable to Integer Overflow to Buffer Overflow in the GenericReader::ParseNumber() function of include/rapidjson/reader.h file. An attacker can elevate privileges by sending a crafted file that triggers the overflow when parsed.

CVSS Base Scores

version 4.0
version 3.1