Memory exhaustion in modern-tar via malformed octal size field
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- —
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- No fix listed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA.
Summary
modern-tar from 0.3.5 through 0.8.5 parses size fields containing bytes that are not octal digits in readOctal(), which yields negative entry sizes (CWE-1284). An unauthenticated remote attacker can supply a crafted archive, optionally gzip-compressed, to unpackTar() that buffers chunks indefinitely, exhausting process memory and suppressing later entries.
Written with Claude Haiku 5.5 from the sources below · 2026-10-29
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
The sources list no fixed version for modern-tar.
Written with Claude Haiku 5.5 from the sources below · 2026-10-29
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
Not affected: 3 products
- Red Hat Enterprise Linux 10
- Red Hat Enterprise Linux 9
- Red Hat Hardened Images
Timeline
- 2026-10-12 Threatist record created from CVE-2026-109380
- 2026-10-13 Alias added: GHSA-m6wr-6wgx-82mm
- 2026-10-13 Affected versions changed · Red Hat
- 2026-10-13 CVSS score added · Red Hat
- 2026-10-13 CISA SSVC decision points changed
References
Sources
- CVE-2026-109380 · CVE Program
- CVE-2026-109380 · NVD
- FIRST EPSS
- GHSA-m6wr-6wgx-82mm · GitHub Advisory Database · CC BY 4.0
- CVE-2026-109380 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences