Loop with Unreachable Exit Condition ('Infinite Loop') Affecting nodejs:24/nodejs-devel package, versions <1:24.18.0-2.module_el8.10.0+4237+cde4efc3


Severity

Recommended
high

Based on AlmaLinux 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-ALMALINUX8-NODEJS-18426165
  • published30 Jul 2026
  • disclosed28 Jul 2026

Introduced: 28 Jul 2026

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

How to fix?

Upgrade AlmaLinux:8 nodejs:24/nodejs-devel to version 1:24.18.0-2.module_el8.10.0+4237+cde4efc3 or higher.
This issue was patched in ALSA-2026:47060.

NVD Description

Note: Versions mentioned in the description apply only to the upstream nodejs:24/nodejs-devel package and not the nodejs:24/nodejs-devel package as distributed by AlmaLinux. See How to fix? for AlmaLinux: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