Home

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.

PUBLISHED Reserved 2026-05-01 | Published 2026-06-01 | Updated 2026-06-02 | Assigner VulnCheck




HIGH: 8.7CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

HIGH: 8.8CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Problem types

Stack-based Buffer Overflow

Product status

Default status
affected

Any version
affected

Credits

Byambadalai Sumiya (@ByamB4) finder

Saidakbarxon Maxsudxonov finder

mms (@3291710458) finder

References

github.com/rxi/microtar/issues/28 technical-description exploit

github.com/rxi/microtar/issues/29 issue-tracking

github.com/rxi/microtar/issues/30 issue-tracking

www.vulncheck.com/...based-buffer-overflow-via-raw-to-header third-party-advisory

cve.org (CVE-2026-43623)

nvd.nist.gov (CVE-2026-43623)

Download JSON