high7.5
CVE-2026-109380
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 r…
Impact
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.
Affected products
| Product | Affected versions |
|---|---|
| Modern-Tar 0.3.5 | through 0.8.5 |
Versions were read from the advisory text. No structured product data has been published for this record yet.
Weakness classification
References
- NVD record
- CVE.org record
- https://github.com/ayuhito/modern-tar
- https://github.com/ayuhito/modern-tar/blob/v0.8.5/src/tar/encoding.ts
- https://github.com/ayuhito/modern-tar/commit/181c8cb75351867535057817ada4802a90fe416e
- https://github.com/ayuhito/modern-tar/pull/195
- https://www.vulncheck.com/advisories/modern-tar-0.3.5-through-0.8.5-memory-exhaustion-via-malformed-octal-size-field