Skip to content
CVE PROGRAM SOURCE RECORD8.7 High

CVE-2026-43623

microtar 0.1.0 Stack-Based Buffer Overflow via raw_to_header()

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

rxi microtar

Default version status: affected

  • 0 to ≤ 0.1.0affected
pkg:github/rxi/microtar

References