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

- Severity: High 8.7 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.45%, higher than 40% of CVEs (2026-12-01)
- Published: 2026-10-12T20:55:11.774Z
- Modified: 2026-10-16T19:18:44.867Z
- Weaknesses: CWE-1284
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- ayuhito modern-tar: from 0.3.5 up to 0.8.5

## Every score

- VulnCheck: CVSS:4.0 8.7 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N`
- VulnCheck: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/ayuhito/modern-tar/pull/195> (issue-tracking, patch)
- <https://github.com/ayuhito/modern-tar/commit/181c8cb75351867535057817ada4802a90fe416e> (patch)
- <https://github.com/ayuhito/modern-tar/blob/v0.8.5/src/tar/encoding.ts> (technical-description)
- <https://github.com/ayuhito/modern-tar> (product)
- <https://www.vulncheck.com/advisories/modern-tar-0.3.5-through-0.8.5-memory-exhaustion-via-malformed-octal-size-field> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-109380](https://www.cve.org/CVERecord?id=CVE-2026-109380), CVE Terms of Use, modified 2026-10-13
- NVD: [CVE-2026-109380](https://nvd.nist.gov/vuln/detail/CVE-2026-109380), Public domain, modified 2026-10-16

---

Page: https://cve.day/CVE-2026-109380 · Whole record: https://cve.day/CVE-2026-109380.json · Rebuilt by cve.day 2026-11-25T22:59:43.673Z
