CRITICAL 9.8 NVD

CVE-2026-71267

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 `name` field of a

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 `name` 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. Any application that calls these functions with an externally-influenced filename longer than 99 characters (e.g. when archiving user-supplied or attacker-controlled filenames) triggers a stack buffer overflow.

References

Published: 2026-08-05 · Source: NVD · Feed updated: 2026-08-05
This critical severity vulnerability with a CVSS score of 9.8 was published on 2026-08-05 via NVD.

Risk Timeline

CVE Disclosed2026-08-05 · -1 days ago

Remediation Resources

vulnfeed aggregates 9263 vulnerabilities from NVD, CISA KEV, Ubuntu, Debian, Red Hat, Kubernetes, Exploit-DB, OSS-Security, GitHub and OpenStack — updated every 4 hours.