CVE Catalog

CVE-2026-71267

CriticalCVSS 9.8
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.34%

27th percentile - higher than 27% of all known CVEs

Summary

microtar's mtar_write_file_header and mtar_write_dir_header functions (src/microtar.c) copy a caller-supplied entry name into the 100-byte field of a stack-allocated mtar_header_t via strcpy(h.name, name), with no check that strlen(name) is less than 100 before the copy.

Risk Assessment

An attacker can supply a long entry name, causing a buffer overflow, leading to program crash or potentially remote code execution.

Recommendation

Update microtar to the latest version. Also use safe copy functions with length limits.

Original NVD description (English source)

microtar's mtar_write_file_header and mtar_write_dir_header functions (src/microtar.c) copy a caller-supplied entry name into the 100-byte field of a stack-allocated mtar_header_t via strcpy(h.name, name), with no check that strlen(name) is less than 100 before the copy.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS