Loop with Unreachable Exit Condition ('Infinite Loop') Affecting nodejs-packaging package, versions <0:2021.06-6.module+el8.10.0+40048+6d99f608


Severity

Recommended
high

Based on Rocky Linux security rating.

Threat Intelligence

EPSS
0.42% (35th 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-ROCKY8-NODEJSPACKAGING-18384969
  • published29 Jul 2026
  • disclosed8 Jul 2026

Introduced: 8 Jul 2026

NewCVE-2026-59874  (opens in a new tab)
CWE-835  (opens in a new tab)

How to fix?

Upgrade Rocky-Linux:8 nodejs-packaging to version 0:2021.06-6.module+el8.10.0+40048+6d99f608 or higher.
This issue was patched in RLSA-2026:47059.

NVD Description

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

node-tar is a tar archive manipulation library for Node.js. Prior to 7.5.18, tar.replace accepts a checksum-valid tar header with a negative base-256 encoded entry size, causing the archive scanner to make no progress while repeatedly parsing the same header. This issue is fixed in version 7.5.18.

CVSS Base Scores

version 3.1