CVE-2026-71267 microtar Stack Buffer Overflow in mtar_write_file_header() and mtar_write_dir_header()

Critical 9.8 Published Updated

A stack buffer overflow in microtar allows attackers to execute arbitrary code or cause denial of service via crafted file names.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-71267?

CVE-2026-71267 is a critical memory corruption vulnerability in rxi microtar, published on 5 Aug 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

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.

Weakness: CWE-121

Which versions are affected by CVE-2026-71267?

How do I fix CVE-2026-71267?

No fix has been published for CVE-2026-71267 yet. Limit exposure of the affected software until one is available.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2026-71267 being exploited?

There is no known exploitation of CVE-2026-71267 in the wild and no public exploit code.

Sources

Also known as GHSA-3h9h-4m9g-9m4r.

Is CVE-2026-71267 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free