Patch Ticker
EnglishEN
Elevated

node-tar archive handling can exhaust memory or CPU

CVE-2026-140240

A Node.js tool that unpacks archives can be stalled by a tiny file.

CVE
CVE-2026-140240 (opens in a new tab)
Score
CVSS 7.1
First seen
7.1
Products

Mitigation

Update node-tar to 8.0.2.

Summary

A very small crafted tar archive can make node-tar use up memory or CPU. Services that extract untrusted archives with the default async API are affected, through version 8.0.2 excluded.

Exploit code is public

Affected when

  • CVE-2026-140240 extracting untrusted archives with the default async API
  • CVE-2026-140240 using filesFilter with a caller-supplied file list

2 other Incidents of this product in the last 30 days

Incidents by product: node-tar

Other recent Incidents of node-tar

All Incidents of 2026-12-02

Distribution packages (2) (every link below opens in a new tab)

Sources: Debian Security Tracker

Read the advisory · github.com (opens in a new tab)