Intel

AIKIDO-2026-732519

tar is vulnerable to Denial of Service

CVE-2026-59874Published Jul 18, 2026
July 18, 2026

75

CVE Score

High

Denial of Service

Are you affected? Scan for Free

TL;DR

When scanning an existing archive before appending replacements, the library advances its read position based on the parsed entry size rounded to a 512-byte block boundary. By crafting a tar header with a valid checksum and a negative base-256 encoded size of -512, an attacker can manipulate the body skip calculation to exactly offset the standard 512-byte header advancement. This results in zero net progress, causing the scanner to repeatedly parse the exact same header indefinitely without ever reaching the append step or terminating, completely pinning the worker process.

How do I fix this?

Upgrade the tar library to the patch version.

Who does this affect?

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

Package

Versions

0.0.0 - 7.5.17

Fixed in 7.5.18

Background info

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

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea