CVE-2026-71267
published critical CVSS 3.1 · 9.8microtar Stack Buffer Overflow in mtar_write_file_header() and mtar_write_dir_header()
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| rxi | — | microtar0 and later · Other versions: unaffected | Affected | Not stated | TuranSec |
Description
microtar's mtar_write_file_header and mtar_write_dir_header functions (src/microtar.c) copy a caller-supplied entry name into the 100-byte field of a stack-allocated mtar_header_t via strcpy(h.name, name), with no check that strlen(name) is less than 100 before the copy.
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
- 3.1
- Base score
- 9.8 / 10
- Severity
- critical
- Provider
- TuranSec · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| rxi | microtar | 0 and later (affected · custom)Default: unaffected | TuranSec · cna |
Weaknesses
1- CWE-121
References
2Provider assertions
2TuranSec · cna
microtar Stack Buffer Overflow in mtar_write_file_header() and mtar_write_dir_header()
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 4828dc8d8e7b1929faf2ad840020a88611fd02e95c2746712197f5584cc83619
- Ingested
- 23 Sep 2026, 09:29:33 UTC
- Source record
- Official CVE record