Intel

AIKIDO-2026-10422

modern-tar is vulnerable to Integer Overflow

Integer Overflow Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.

51

Medium Risk

This Affects:

JSmodern-tar
0.7.0 - 0.7.5
Fixed in 0.7.6

TL;DR

Affected versions of this package contain an integer overflow issue in block-size rounding logic, where very large values above 2^31 can wrap during padding calculations and cause the parser to use incorrect block sizes. This can break parsing behavior, corrupt pipeline state, or trigger unexpected failures when processing crafted input. An attacker may be able to exploit this by supplying a malicious file or payload with oversized header metadata, causing the parser to miscalculate boundaries and potentially induce denial of service or unsafe downstream behavior.

Who does this affect?

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

Background info

modern-tar is vulnerable to Integer Overflow in versions 0.7.0 - 0.7.5.

How to fix this

Upgrade the modern-tar library to the patch version.