CVE-2026-43623 Details
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.
A stack-based buffer overflow vulnerability has been identified in microtar versions through 0.1.0. The issue arises in the raw_to_header() function within src/microtar.c, where strcpy() is used to copy non-null-terminated name and linkname fields from a TAR archive into a destination buffer. This flaw allows attackers to overwrite adjacent stack memory by crafting a TAR archive that exploits the lack of null termination in these fields. The vulnerability is triggered when the library processes the manipulated TAR archives using mtar_open(), mtar_find(), or mtar_read_header().
Users are advised to update to the patched version of microtar, where the vulnerability has been addressed by replacing strcpy() with bounded copy operations that ensure proper null termination.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jun 1, 2026CISA-ADP
Assessed Jun 2, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/rxi/microtar/issues/28 | [email protected] | ExploitIssue TrackingTechnical DescriptionVendor |
| https://github.com/rxi/microtar/issues/29 | [email protected] | ExploitIssue TrackingTechnical DescriptionVendor |
| https://github.com/rxi/microtar/issues/30 | [email protected] | ExploitIssue TrackingTechnical DescriptionVendor |
| https://www.vulncheck.com/advisories/microtar-stack-based-buffer-overflow-via-raw-to-header | [email protected] | AdvisoryBundle |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-121 | Stack-based Buffer Overflow | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| microtar | <= 0.1.0 (semver) |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 22, 2026 | CVE Translated | [email protected] |
| Jul 14, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 1, 2026 | New CVE Received | [email protected] |
Volerion