PatchSiren cyber security CVE debrief
CVE-2026-109380 ayuhito CVE debrief
A memory exhaustion vulnerability exists in modern-tar versions 0.3.5 through 0.8.5. Attackers can supply a crafted archive to unpackTar() that buffers chunks indefinitely, exhausting process memory. This vulnerability allows attackers to produce negative entry sizes via non-octal bytes parsed by readOctal(), potentially leading to denial of service and impacting system stability. Defenders should assess exposure and prioritize remediation to prevent potential security breaches. The vulnerability is caused by the library's inability to handle malformed octal size fields in tar archives.
- Vendor
- ayuhito
- Product
- modern-tar
- CVSS
- HIGH 8.7
- CISA KEV
- Not listed in stored evidence
- Original CVE published
- 2026-10-12
- Original CVE updated
- 2026-10-12
- Advisory published
- 2026-10-12
- Advisory updated
- 2026-10-12
Who should care
Defenders responsible for systems using modern-tar versions 0.3.5 through 0.8.5 should assess exposure and prioritize remediation to prevent potential security breaches. This includes verifying inventory, upgrading to a patched version, and monitoring for suspicious archive unpacking activity. Additionally, defenders should review compensating controls for exposed systems while remediation is scheduled and verified, and track exceptions, retest remediated
Why it matters
Defenders should care about CVE-2026-109380 because it allows attackers to cause memory exhaustion in modern-tar, potentially leading to denial of service and impacting system stability.
- Potential denial of service due to memory exhaustion
- Possible impact on system stability and performance
Technical summary
The modern-tar library is vulnerable to a memory exhaustion attack when parsing malformed octal size fields in tar archives. This allows attackers to cause memory exhaustion, potentially leading to denial of service and impacting system stability. The vulnerability is caused by the library's inability to handle malformed octal size fields in tar archives, which can be exploited by supplying a crafted archive to unpackTar(). Defenders should prioritize verifying inventory and upgrading to a patched version to prevent potential security breaches.
Defensive priority
Defenders should prioritize verifying inventory and upgrading to a patched version.
Recommended defensive actions
- Verify inventory of modern-tar versions 0.3.5 through 0.8.5
- Upgrade to a patched version
- Monitor for suspicious archive unpacking activity
- Review compensating controls for exposed systems while remediation is scheduled and verified
- Check relevant monitoring, detection, and logs for exposed assets that need extra review
- Track exceptions, retest remediated assets, and close the item only after evidence is documented
- Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up
Evidence notes
The vulnerability allows attackers to produce negative entry sizes via non-octal bytes parsed by readOctal(). The modern-tar library does not properly handle malformed octal size fields in tar archives, leading to memory exhaustion. This can be exploited by supplying a crafted, optionally gzip-compressed, archive to unpackTar(). The vulnerability has been identified in modern-tar versions 0.3.5 through 0.8.5.
Sources and references
Verified primary and authoritative sources
-
CVE-2026-109380 CVE Program record
Publisher, destination, and source semantics verified
URL: https://www.cve.org/CVERecord?id=CVE-2026-109380
CVE Program - Official CVE Program record with source-provided CVE metadata.
-
CVE-2026-109380 NVD vulnerability detail
Publisher, destination, and source semantics verified
URL: https://nvd.nist.gov/vuln/detail/CVE-2026-109380
NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.
Supplemental references
-
modern-tar 0.3.5 through 0.8.5 Memory Exhaustion via Malformed Octal Size Field
Unverified legacy reference
URL: https://raw.githubusercontent.com/CVEProject/cvelistV5/main/cves/2026/109xxx/CVE-2026-109380.json
cve_program_cvelist_v5
-
Source reference
Unverified legacy reference
URL: https://github.com/ayuhito/modern-tar/pull/195
Supplemental source - issue-tracking, patch
-
Source reference
Unverified legacy reference
URL: https://github.com/ayuhito/modern-tar/commit/181c8cb75351867535057817ada4802a90fe416e
Supplemental source - patch
-
Source reference
Unverified legacy reference
URL: https://github.com/ayuhito/modern-tar/blob/v0.8.5/src/tar/encoding.ts
Supplemental source - technical-description
-
Source reference
Unverified legacy reference
URL: https://github.com/ayuhito/modern-tar
Supplemental source - product
-
Source reference
Unverified legacy reference
URL: https://www.vulncheck.com/advisories/modern-tar-0.3.5-through-0.8.5-memory-exhaustion-via-malformed-octal-size-field
Supplemental source - third-party-advisory
Methodology and review provenance
AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.