7-Zip Fixes High-Severity XZ Archive Buffer Overflow

· Original article ↗

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

People

Products

Related Articles