CVE-2026-109380
published high CVSS 4.0 · 8.7modern-tar 0.3.5 through 0.8.5 Memory Exhaustion via Malformed Octal Size Field
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| ayuhito | — | modern-tar0.3.5 through 0.8.5 · Other versions: unaffected | Affected | Not stated | VulnCheck |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.7 / 10
- Severity
- high
- Provider
- VulnCheck · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 7.5 | high | VulnCheck · cna | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| ayuhito | modern-tar | 0.3.5 through 0.8.5 (affected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-1284 Improper Validation of Specified Quantity in Input
References
5- https://github.com/ayuhito/modern-tar
- Vulnerable code in encoding.ts https://github.com/ayuhito/modern-tar/blob/v0.8.5/src/tar/encoding.ts
- Patch Commit https://github.com/ayuhito/modern-tar/commit/181c8cb75351867535057817ada4802a90fe416e
- GitHub Pull Request #195 https://github.com/ayuhito/modern-tar/pull/195
- VulnCheck Advisory: modern-tar 0.3.5 through 0.8.5 Memory Exhaustion via Malformed Octal Size Field https://www.vulncheck.com/advisories/modern-tar-0.3.5-through-0.8.5-memory-exhaustion-via-malformed-octal-size-field
Provider assertions
2VulnCheck · cna
modern-tar 0.3.5 through 0.8.5 Memory Exhaustion via Malformed Octal Size Field
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- ae99e50409a3a24f477888fc8357475122566ac3b85476f6bae322efe652af7e
- Ingested
- 13 Oct 2026, 16:41:44 UTC
- Source record
- Official CVE record