Heap-based Buffer Overflow Affecting ndevilla/iniparser package, versions [,4.2.6)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Not Defined

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-UNMANAGED-NDEVILLAINIPARSER-8732762
  • published19 Feb 2025
  • disclosed19 Feb 2025
  • creditUnknown

Introduced: 19 Feb 2025

NewCVE-2025-0633  (opens in a new tab)
CWE-122  (opens in a new tab)

How to fix?

Upgrade ndevilla/iniparser to version 4.2.6 or higher.

Overview

Affected versions of this package are vulnerable to Heap-based Buffer Overflow through the iniparser_dumpsection_ini function. An attacker can read out-of-bounds memory by manipulating the input to trigger a heap overflow.

CVSS Scores

version 4.0
version 3.1