{"id":"CVE-2026-43623","summary":"microtar 0.1.0 Stack-Based Buffer Overflow via raw_to_header()","details":"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.","modified":"2026-07-16T03:31:08.396363078Z","published":"2026-06-01T18:04:14.379Z","database_specific":{"cna_assigner":"VulnCheck","cwe_ids":["CWE-121"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/43xxx/CVE-2026-43623.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/43xxx/CVE-2026-43623.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-43623"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/microtar-stack-based-buffer-overflow-via-raw-to-header"},{"type":"REPORT","url":"https://github.com/rxi/microtar/issues/28"},{"type":"REPORT","url":"https://github.com/rxi/microtar/issues/29"},{"type":"REPORT","url":"https://github.com/rxi/microtar/issues/30"},{"type":"PACKAGE","url":"https://github.com/rxi/microtar"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/rxi/microtar","events":[{"introduced":"0"},{"fixed":"956791770defa4d06696b30db276e88a09ad3538"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"last_affected":"0.1.0"},{"fixed":"0.1.0"}],"source":["AFFECTED_FIELD","DESCRIPTION"]}}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-43623.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V4","score":"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"}]}