CVE-2026-43623
microtar 0.1.0 Stack-Based Buffer Overflow via raw_to_header()
- State
- Published
- Severity
- 8.7 High
- Published
- Jun 1, 2026
- Updated
- Jul 14, 2026
- Reserved
- May 1, 2026
Description
microtar through 0.1.0 contains a stack-based buffer overflow vulnerability in the raw_to_header() function in src/microtar.c that allows attackers to corrupt adjacent stack memory by supplying a crafted TAR archive with non-null-terminated name or linkname fields. The function uses strcpy() to copy 100-byte ustar format fields that lack null terminators, causing writes of up to 355 bytes into a 100-byte destination buffer when mtar_open(), mtar_find(), or mtar_read_header() process attacker-supplied TAR archives.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 8.7 High | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N | VulnCheck |
| 3.1 | 8.8 High | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H | VulnCheck |
Weaknesses
- CWE-121 Stack-based Buffer Overflow
Affected Products
| Product | Versions |
|---|---|
microtarrxi |
|
References
- https://github.com/rxi/microtar/issues/28issue-tracking
- https://github.com/rxi/microtar/issues/29issue-tracking
- https://github.com/rxi/microtar/issues/30issue-tracking
- https://www.vulncheck.com/advisories/microtar-stack-based-buffer-overflow-via-raw-to-headerthird-party-advisory
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.