CVE-2026-71267: CWE-121 in rxi microtar
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.
AI Analysis
Technical Summary
The vulnerability exists in the rxi microtar library's mtar_write_file_header and mtar_write_dir_header functions, which use strcpy to copy a caller-supplied entry name into a 100-byte stack-allocated buffer (mtar_header_t.name) without checking that the input length is less than 100 bytes. This lack of bounds checking can cause a stack-based buffer overflow (CWE-121), potentially allowing an attacker to execute arbitrary code or cause a denial of service. The vulnerability is publicly documented as CVE-2026-71267 with a CVSS v3.1 score of 9.8.
Potential Impact
Successful exploitation can lead to full compromise of confidentiality, integrity, and availability of the affected system due to stack-based buffer overflow. This may allow remote code execution or application crashes. No known exploits in the wild have been reported yet.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, users should avoid processing untrusted input with the affected functions or apply manual input length validation to ensure entry names do not exceed 99 characters.
CVE-2026-71267: CWE-121 in rxi microtar
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.
CVSS v3.1
Score 9.8critical
Affected software
rxi
microtar
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability exists in the rxi microtar library's mtar_write_file_header and mtar_write_dir_header functions, which use strcpy to copy a caller-supplied entry name into a 100-byte stack-allocated buffer (mtar_header_t.name) without checking that the input length is less than 100 bytes. This lack of bounds checking can cause a stack-based buffer overflow (CWE-121), potentially allowing an attacker to execute arbitrary code or cause a denial of service. The vulnerability is publicly documented as CVE-2026-71267 with a CVSS v3.1 score of 9.8.
Potential Impact
Successful exploitation can lead to full compromise of confidentiality, integrity, and availability of the affected system due to stack-based buffer overflow. This may allow remote code execution or application crashes. No known exploits in the wild have been reported yet.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, users should avoid processing untrusted input with the affected functions or apply manual input length validation to ensure entry names do not exceed 99 characters.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- TuranSec
- Date Reserved
- 2026-08-05T12:23:34.967Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6a7336e4bf8831d539ed913d
Added to database: 08/05/2026, 13:13:08 UTC
Last enriched: 08/12/2026, 14:32:21 UTC
Last updated: 09/17/2026, 22:01:38 UTC
Views: 44
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.