Skip to content

CVE-2026-109380 modern-tar 0.3.5 through 0.8.5 Memory Exhaustion via Malformed Octal Size Field

HighCVSS 8.7 EPSS 0.45%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: partial
Technology
Red Hat

Description

modern-tar 0.3.5 through 0.8.5 contains a memory exhaustion vulnerability that allows attackers to produce negative entry sizes via non-octal bytes parsed by readOctal(). Attackers can supply a crafted, optionally gzip-compressed, archive to unpackTar() that buffers chunks indefinitely, exhausting process memory and suppressing later entries.

Upgrade path

1 package: 1 fixed.

PackageAffectedFixed inStatus
npm modern-tar >= 0.3.5, <= 0.8.5 after 0.8.5 Fixed

Affected products

ProductAffected versionsFixed in
npm modern-tar >= 0.3.5, <= 0.8.5 No fix listed

References