7-Zip Fixes High-Severity XZ Archive Buffer Overflow

Summary
CVE-2026-14266 is a heap-based buffer overflow in 7-Zip’s XZ decoder that could enable code execution when a crafted archive is opened. 7-Zip 26.02 fixes it; bundled copies may need separate vendor patches.
Key points
- The flaw occurs in 7-Zip’s processing of XZ chunked data and can allow code execution in the current process when a crafted archive is opened.
- ZDI rates CVE-2026-14266 7.0 High; exploitation requires local access and user interaction, and the attacker inherits 7-Zip’s privileges.
- 7-Zip 26.02, released June 25, fixes length handling in MixCoder_Code in C/XzDec.c.
- The article reports no public proof of concept or credible in-the-wild exploitation as of July 20, 2026.
- The flawed length handling appears in source back to at least version 21.07, but affected exploitable releases have not been specified.
- Users should update to 7-Zip 26.02 or later; products bundling the vulnerable XZ decoder may require separate vendor fixes.
Article Details
- Vulnerability Types
- Heap-based buffer overflow
- Severity
- High (CVSS 3.0 score 7.0, according to ZDI)
- Exploitation Status
- not_reported
- Exploit Availability
- none_reported
- Patch Status
- available
- Workarounds
- Update 7-Zip to version 26.02 or later.
- For products bundling a vulnerable copy of the 7-Zip XZ decoder, apply the product vendor's fix.
MITRE ATT&CK
CVE
CVE-2026-142667-Zip · 7-ZipA heap-based buffer overflow in 7-Zip’s XZ archive handler, tracked as CVE-2026-14266, could allow code execution when a crafted XZ file is opened, and the issue was fixed in 7-Zip 26.02 on June 25.CVE-2026-48095mcmilk · 7-ZipOn April 27, version 26.01 fixed a batch of them, including the higher-scored CVE-2026-48095, an NTFS-handler heap-write overflow that GitHub Security Lab detailed on May 22 with a working proof-of-concept.
