CVE-2025-23165 Affecting nodejs:20/nodejs-packaging package, versions <0:2021.06-4.module_el8.10.0+3987+dbda4426


Severity

Recommended
high

Based on AlmaLinux security rating.

Threat Intelligence

EPSS
0.56% (46th 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-ALMALINUX8-NODEJS-22277682
  • published7 Nov 2026
  • disclosed4 Jun 2025

Introduced: 4 Jun 2025

CVE-2025-23165  (opens in a new tab)

How to fix?

Upgrade AlmaLinux:8 nodejs:20/nodejs-packaging to version 0:2021.06-4.module_el8.10.0+3987+dbda4426 or higher.
This issue was patched in ALSA-2025:8514.

NVD Description

Note: Versions mentioned in the description apply only to the upstream nodejs:20/nodejs-packaging package and not the nodejs:20/nodejs-packaging package as distributed by AlmaLinux. See How to fix? for AlmaLinux:8 relevant fixed versions and status.

In Node.js, the ReadFileUtf8 internal binding leaks memory due to a corrupted pointer in uv_fs_s.file: a UTF-16 path buffer is allocated but subsequently overwritten when the file descriptor is set. This results in an unrecoverable memory leak on every call. Repeated use can cause unbounded memory growth, leading to a denial of service.

Impact:

  • This vulnerability affects APIs relying on ReadFileUtf8 on Node.js release lines: v20 and v22.

CVSS Base Scores

version 3.1