top of page
perceptive_background_267k.jpg

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 a…

Published:

31 mei 2026 om 22:00:00

Alert date:

1 juni 2026 om 20:04:42

Source:

nvd.nist.gov

Click to open the original link from this advisory

Supply Chain & Dependencies

microtar through version 0.1.0 contains a critical stack-based buffer overflow vulnerability in the raw_to_header() function located in src/microtar.c. The vulnerability allows attackers to corrupt adjacent stack memory by supplying specially crafted TAR archives with non-null-terminated name or linkname fields. The flaw occurs because the function uses strcpy() to copy 100-byte ustar format fields that lack proper null terminators, resulting in up to 355 bytes being written into a 100-byte destination buffer. The vulnerability can be triggered when the functions mtar_open(), mtar_find(), or mtar_read_header() process malicious TAR archives supplied by attackers.

Technical details

Mitigation steps:

Affected products:

microtar

Related links:

Related CVE's:

Related threat actors:

IOC's:

This article was created with the assistance of AI technology by Perceptive.

© 2025 by Perceptive Security. All rights reserved.

email: info@perceptivesecurity.com

Deze website toont informatie afkomstig van externe bronnen; Perceptive aanvaardt geen verantwoordelijkheid voor de juistheid, volledigheid of actualiteit van deze informatie.

bottom of page