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.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| npm modern-tar | >= 0.3.5, <= 0.8.5 | after 0.8.5 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| npm modern-tar | >= 0.3.5, <= 0.8.5 | No fix listed |
References
- Red Hat CVE page vendor-advisory
- Red Hat Bugzilla 2549954 issue-tracking
- www.cve.org
- nvd.nist.gov
- github.com product
- Vulnerable code in encoding.ts technical-description
- Patch Commit patch
- GitHub Pull Request #195 issue-tracking patch
- VulnCheck Advisory: modern-tar 0.3.5 through 0.8.5 Memory Exhaustion via Malformed Octal Size Field third-party-advisory
- ENISA EUVD EUVD-2026-97878 third-party-advisory