Intel

AIKIDO-2026-986821

tar is vulnerable to Denial of Service

Denial of ServiceCVE-2026-59873 Published 3 days ago

75

High Risk

This Affects:

JStar
0.0.0 - 7.5.18
Fixed in 7.5.19
Are you affected? Scan for Free

TL;DR

The vulnerability stems from the library lacking hard upper bounds on total decompressed data volume, entry counts, or decompression ratios. During extraction, the Unpack stream in src/extract.ts blindly processes incoming entries without tracking global resource consumption. Because existing limits like the maxReadSize option only govern internal read chunk sizes rather than cumulative disk writes, an attacker can forge a TAR header claiming a massive file size backed by highly compressible data. The library will continuously unpack and write this payload, lacking any mechanism to abort, until the physical storage of the host is completely exhausted and the service crashes.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

tar is vulnerable to Denial of Service in versions 0.0.0 - 7.5.18.

How to fix this

Upgrade the tar library to the patch version.