If you run 7-Zip on Windows, install the latest version now. The free archiving tool carries a vulnerability that lets an attacker run malicious code when the program encounters a specially crafted file or website, as PCMag Middle East reports. An advisory published last week warned that the flaw could be abused to execute rogue code through vulnerable 7-Zip installations.
The bug was uncovered by researcher Landon Peng, and full technical details are being withheld to keep attackers from weaponising it. What is known is that the problem lies in how 7-Zip handles the XZ data compression format: specially crafted XZ data triggers a coding error that causes a buffer overflow, where extra data spills into adjacent memory and overwrites it. The vulnerability is tracked as CVE-2026-14266 and has been rated critical by security analysts at Rescana.
What does the vulnerability actually do?
Opening a malicious XZ file can hand an attacker the ability to run code with 7-Zip’s own permissions. “An attacker can leverage this vulnerability to execute code in the context of the current process,” says the advisory from the Zero Day Initiative, the independent disclosure programme researchers use to report flaws. “User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file.”
That user-interaction requirement is the whole attack model. 7-Zip is one of the most common ways Windows users open compressed archives received by email, messaging apps, and downloads, so a poisoned XZ file circulated online is a plausible delivery route for malware. Researchers at The Hacker News note that as of 20 July there was no public proof-of-concept and no credible report of exploitation in the wild.
Why won’t 7-Zip just update itself?
7-Zip patched the flaw in version 26.02, released on 25 June, but the program has no auto-update feature — so you have to fetch and install the new version manually. That is the crux of this story. The vulnerability is fixable in minutes, yet the fix only reaches machines whose owners go looking for it. Set-and-forget PCs, shared office machines, and rarely touched installations will keep running the vulnerable version until someone intervenes.
This is the same structural weakness that has dogged WinRAR, another free and popular archiving tool that also lacks automatic updates. Attackers have repeatedly kept targeting outdated WinRAR users long after patches shipped, precisely because so many people never installed them. The absence of auto-updates turns a one-off patch into a long tail of exposure — the sort of persistent, low-effort target attackers love.
The lack of automated fixes stands in contrast to how the wider Windows ecosystem is trying to move: Microsoft has been leaning on AI-assisted bug hunting to push out large batches of fixes through Windows Update. 7-Zip’s model puts the responsibility squarely back on the user.
What should you do now?
Check your installed 7-Zip version and, if it is earlier than 26.02, download and install the latest release from the official 7-Zip site. There is no in-app prompt coming to remind you, so treat this as a manual task on every Windows machine you use to open archives.
Beyond patching, the safest habit is the oldest one: do not open unsolicited compressed files, especially XZ archives, from senders or websites you do not trust. That advice sounds tired, but with a flaw that only fires when a user opens the file, it remains the most effective line of defence you control.


Leave a Reply