{"id":"CVE-2026-109380","state":"PUBLISHED","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.","publishedAt":"2026-10-12T20:55:11.774Z","updatedAt":"2026-10-13T15:40:11.463Z","severity":{"score":8.7,"label":"High","version":"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","source":"VulnCheck"},"assigner":"VulnCheck","products":["ayuhito modern-tar"],"affected":[{"vendor":"ayuhito","product":"modern-tar","packageURL":"pkg:npm/modern-tar","defaultStatus":"unaffected","versions":[{"version":"0.3.5","status":"affected","lessThanOrEqual":"0.8.5","versionType":"semver"}],"repo":"https://github.com/ayuhito/modern-tar"}],"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"],"weaknesses":["CWE-1284"],"ingestedAt":"2026-10-29T20:10:33.477Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/109xxx/CVE-2026-109380.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-109380","state":"PUBLISHED","datePublished":"2026-10-12T20:55:11.774Z","dateUpdated":"2026-10-13T15:40:11.463Z","assignerShortName":"VulnCheck","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateReserved":"2026-10-12T14:23:25.691Z"},"containers":{"cna":{"title":"modern-tar 0.3.5 through 0.8.5 Memory Exhaustion via Malformed Octal Size Field","descriptions":[{"lang":"en","value":"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":[{"vendor":"ayuhito","product":"modern-tar","packageURL":"pkg:npm/modern-tar","defaultStatus":"unaffected","versions":[{"version":"0.3.5","status":"affected","lessThanOrEqual":"0.8.5","versionType":"semver"}],"repo":"https://github.com/ayuhito/modern-tar"}],"references":[{"url":"https://github.com/ayuhito/modern-tar/pull/195","tags":["issue-tracking","patch"],"name":"GitHub Pull Request #195"},{"url":"https://github.com/ayuhito/modern-tar/commit/181c8cb75351867535057817ada4802a90fe416e","tags":["patch"],"name":"Patch Commit"},{"url":"https://github.com/ayuhito/modern-tar/blob/v0.8.5/src/tar/encoding.ts","tags":["technical-description"],"name":"Vulnerable code in encoding.ts"},{"url":"https://github.com/ayuhito/modern-tar","tags":["product"]},{"url":"https://www.vulncheck.com/advisories/modern-tar-0.3.5-through-0.8.5-memory-exhaustion-via-malformed-octal-size-field","name":"VulnCheck Advisory: modern-tar 0.3.5 through 0.8.5 Memory Exhaustion via Malformed Octal Size Field","tags":["third-party-advisory"]}],"metrics":[{"format":"CVSS","cvssV4_0":{"version":"4.0","vectorString":"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","attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"NONE","userInteraction":"NONE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE","vulnAvailabilityImpact":"HIGH","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":8.7,"baseSeverity":"HIGH"}},{"format":"CVSS","cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH","baseScore":7.5,"baseSeverity":"HIGH"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-1284","lang":"en","description":"Improper Validation of Specified Quantity in Input","type":"CWE"}]}],"providerMetadata":{"shortName":"VulnCheck","orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateUpdated":"2026-10-12T20:55:11.774Z"},"datePublic":"2026-10-08T00:00:00.000Z","credits":[{"lang":"en","value":"Lum Humolli","type":"finder"}],"x_generator":{"engine":"vulncheck-endgame"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-10-13T15:39:56.714376Z","id":"CVE-2026-109380","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-10-13T15:40:11.463Z"}}]}}}