{"id":"CVE-2026-109380","summary":"modern-tar 0.3.5 through 0.8.5 Memory Exhaustion via Malformed Octal Size Field","details":"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.","modified":"2026-10-13T10:48:27.782150545Z","published":"2026-10-12T20:55:11.774Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/109xxx/CVE-2026-109380.json","cna_assigner":"VulnCheck","cwe_ids":["CWE-1284"]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/109xxx/CVE-2026-109380.json"},{"type":"PACKAGE","url":"https://github.com/ayuhito/modern-tar"},{"type":"ARTICLE","url":"https://github.com/ayuhito/modern-tar/blob/v0.8.5/src/tar/encoding.ts"},{"type":"FIX","url":"https://github.com/ayuhito/modern-tar/commit/181c8cb75351867535057817ada4802a90fe416e"},{"type":"FIX","url":"https://github.com/ayuhito/modern-tar/pull/195"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-109380"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/modern-tar-0.3.5-through-0.8.5-memory-exhaustion-via-malformed-octal-size-field"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/ayuhito/modern-tar","events":[{"introduced":"5f181c659e12b04496da7aaae76257f77b7df627"},{"last_affected":"54f79c38d93d061d6bf07eb75f0a4c1e78146c4d"}],"database_specific":{"source":"AFFECTED_FIELD","extracted_events":[{"introduced":"0.3.5"},{"last_affected":"0.8.5"}]}}],"versions":["v0.8.5","v0.8.4","v0.8.3","v0.8.2","v0.8.1","v0.8.0","v0.7.7","v0.7.6","v0.7.5","v0.7.4","v0.7.3","v0.7.2","v0.7.1","v0.7.0","v0.6.1","v0.6.0","v0.5.5","v0.5.4","v0.5.3","v0.5.2","v0.5.1","v0.5.0","v0.4.2","v0.4.1","v0.4.0","v0.3.5"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-109380.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"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"}]}