CVE-2026-73566

node-tar is a tar archive manipulation library for Node.js. Prior to 7.5.21, node-tar's filesFilter in src/list.ts uses the recursive mapHas helper to walk an archive entry path upward with path.dirname() and no segment cap when tar.t(...) or tar.x(...) receives a non-empty member-selection list. A crafted GNU L or PAX x long-path header with thousands of slash-separated segments reaches this.filter(entry.path, entry) in Parser[CONSUMEHEADER] in src/parse.ts before Unpack[CHECKPATH] applies maxDepth, causing an uncatchable RangeError stack overflow that terminates asynchronous and streaming Node.js consumers. This issue is fixed in version 7.5.21.
Configurations

No configuration.

History

23 Oct 2026, 18:10

Type Values Removed Values Added
Summary
  • (es) node-tar es una biblioteca de manipulación de archivos tar para Node.js. Antes de la versión 7.5.21, el filesFilter de node-tar en src/list.ts utiliza la función auxiliar recursiva mapHas para recorrer una ruta de entrada de archivo hacia arriba con path.dirname() y sin límite de segmentos cuando tar.t(...) o tar.x(...) reciben una lista de selección de miembros no vacía. Una cabecera de ruta larga GNU L o PAX x manipulada con miles de segmentos separados por barras alcanza este.filter(entry.path, entry) en Parser[CONSUMEHEADER] en src/parse.ts antes de que Unpack[CHECKPATH] aplique maxDepth, causando un desbordamiento de pila de RangeError inatrapable que termina los consumidores asíncronos y de streaming de Node.js. Este problema está solucionado en la versión 7.5.21.

18 Aug 2026, 02:17

Type Values Removed Values Added
References () https://github.com/isaacs/node-tar/security/advisories/GHSA-r292-9mhp-454m - () https://github.com/isaacs/node-tar/security/advisories/GHSA-r292-9mhp-454m -

13 Aug 2026, 18:18

Type Values Removed Values Added
New CVE

Information

Published : 2026-08-13 18:18

Updated : 2026-10-24 15:10


NVD link : CVE-2026-73566

Mitre link : CVE-2026-73566

CVE.ORG link : CVE-2026-73566


JSON object : View

Products Affected

No product.

CWE
CWE-400

Uncontrolled Resource Consumption

CWE-674

Uncontrolled Recursion