{"id":"CVE-2026-109380","revision":"dfe4903590d8473a9142849e678623b2","records":[{"revision":"dfe4903590d8473a9142849e678623b2","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-109380","aliases":[],"title":"modern-tar 0.3.5 through 0.8.5 Memory Exhaustion via Malformed Octal Size Field","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.","state":0,"publishedAt":"2026-10-12T20:55:11.774+00:00","modifiedAt":"2026-10-13T15:40:11.463+00:00","affected":[{"ecosystem":"Vendor product","name":"modern-tar","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"ayuhito\",\n                    \"product\": \"modern-tar\",\n                    \"defaultStatus\": \"unaffected\",\n                    \"versions\": [\n                        {\n                            \"version\": \"0.3.5\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"semver\",\n                            \"lessThanOrEqual\": \"0.8.5\"\n                        }\n                    ],\n                    \"packageURL\": \"pkg:npm/modern-tar\",\n                    \"repo\": \"https://github.com/ayuhito/modern-tar\"\n                }"}],"metrics":[{"system":"CVSS 4.0","vector":"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","score":8.7,"severity":"HIGH"},{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"severity":"HIGH"}],"references":["https://github.com/ayuhito/modern-tar/pull/195","https://github.com/ayuhito/modern-tar/commit/181c8cb75351867535057817ada4802a90fe416e","https://github.com/ayuhito/modern-tar/blob/v0.8.5/src/tar/encoding.ts","https://github.com/ayuhito/modern-tar","https://www.vulncheck.com/advisories/modern-tar-0.3.5-through-0.8.5-memory-exhaustion-via-malformed-octal-size-field"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-109380","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-109380","identifiers":["CVE-2026-109380"]},"retained":false,"historicalAffected":[]}],"coverage":[]}