CVE-2026-71267: microtar - Buffer Overflow
- Cve: CVE-2026-71267
- Name: microtar - Buffer Overflow
- 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.
- Impact: Attackers can cause memory corruption leading to potential code execution or application crash.
- Remediation: Update to a version that validates filename length before copying or apply patches that fix the buffer overflow.
- Vulnerability type: buffer_overflow
- Vulnerability impact: remote_code_execution, denial_of_service
- Requirement type: none
- Labels source: projectdiscovery
- Severity: critical
- Cvss score: 9.8
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.00553
- Epss percentile: 0.471
- Assignee: 309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c
- Published at: 2026-08-05T13:24:50Z
- Age in days: 111
- Modified at: 2026-10-24T15:10:00Z
- References total: 2
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-71267
- Nvd status: deferred
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, products total, products, oss, projects total, projects, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-121 | Stack-based Buffer Overflow |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/rxi/microtar | nvd | |
| https://github.com/rxi/microtar/blob/master/src/microtar.c | nvd |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts