CVE-2026-109380

high

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.

References

https://www.vulncheck.com/advisories/modern-tar-0.3.5-through-0.8.5-memory-exhaustion-via-malformed-octal-size-field

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://euvd.enisa.europa.eu/vulnerability/EUVD-2026-97878

Details

Source: Mitre, NVD

Published: 2026-10-12

Updated: 2026-10-12

Risk Information

CVSS v2

Base Score: 7.8

Vector: CVSS2#AV:N/AC:L/Au:N/C:N/I:N/A:C

Severity: High

CVSS v3

Base Score: 7.5

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Severity: High

CVSS v4

Base Score: 8.7

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

Severity: High