Improper Null Termination Affecting nodejs24-libs package, versions <1:24.18.1-1.amzn2023.0.2


Severity

Recommended
high

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.29% (22nd 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-AMZN2023-NODEJS24LIBS-18910323
  • published18 Aug 2026
  • disclosed8 Jul 2026

Introduced: 8 Jul 2026

CVE-2026-59875  (opens in a new tab)
CWE-170  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2023 nodejs24-libs to version 1:24.18.1-1.amzn2023.0.2 or higher.
This issue was patched in ALAS2023-2026-2059.

NVD Description

Note: Versions mentioned in the description apply only to the upstream nodejs24-libs package and not the nodejs24-libs package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2023 relevant fixed versions and status.

node-tar is a tar archive manipulation library for Node.js. Prior to 7.5.17, node-tar does not strip NUL bytes from PAX path and linkpath records in src/pax.ts, allowing a crafted archive with values to reach fs.lstat or fs.open and terminate the process with an uncaught exception. This issue is fixed in version 7.5.17.

CVSS Base Scores

version 3.1