CVE-2026-43623: Stack-based Buffer Overflow in rxi microtar
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.
AI Analysis
Technical Summary
The vulnerability in microtar (<=0.1.0) is a stack-based buffer overflow in the raw_to_header() function located in src/microtar.c. It arises from the use of strcpy() to copy ustar format fields (name or linkname) that are 100 bytes long but may lack null terminators. When processing attacker-supplied TAR archives with non-null-terminated fields, the function can write up to 355 bytes into a 100-byte stack buffer, corrupting adjacent memory. This affects the functions mtar_open(), mtar_find(), and mtar_read_header().
Potential Impact
Successful exploitation can lead to corruption of adjacent stack memory, potentially causing crashes or arbitrary code execution. The vulnerability is remotely exploitable without privileges or user interaction, increasing risk. The CVSS vector indicates network attack vector, low attack complexity, no privileges required, and user interaction needed, with high impact on confidentiality, integrity, and availability.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or temporary mitigation has been published at this time. Users should avoid processing untrusted TAR archives with affected microtar versions until a patch is available.
CVE-2026-43623: Stack-based Buffer Overflow in rxi microtar
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.
CVSS v4.0
Score 8.7high
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in microtar (<=0.1.0) is a stack-based buffer overflow in the raw_to_header() function located in src/microtar.c. It arises from the use of strcpy() to copy ustar format fields (name or linkname) that are 100 bytes long but may lack null terminators. When processing attacker-supplied TAR archives with non-null-terminated fields, the function can write up to 355 bytes into a 100-byte stack buffer, corrupting adjacent memory. This affects the functions mtar_open(), mtar_find(), and mtar_read_header().
Potential Impact
Successful exploitation can lead to corruption of adjacent stack memory, potentially causing crashes or arbitrary code execution. The vulnerability is remotely exploitable without privileges or user interaction, increasing risk. The CVSS vector indicates network attack vector, low attack complexity, no privileges required, and user interaction needed, with high impact on confidentiality, integrity, and availability.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or temporary mitigation has been published at this time. Users should avoid processing untrusted TAR archives with affected microtar versions until a patch is available.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-05-01T18:22:45.640Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a1de306e29bf47b503a54eb
Added to database: 06/01/2026, 19:52:38 UTC
Last enriched: 07/15/2026, 10:32:41 UTC
Last updated: 07/31/2026, 19:22:59 UTC
Views: 95
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.