New 7-Zip Flaw Could Let Malicious XZ Archives Run Code During Extraction

7-Zip is one of the most popular file compression tools. Many people use it to open ZIP, 7z, RAR, TAR, and XZ files. However, a new vulnerability has been found in 7-Zip. The flaw could allow a specially crafted XZ archive to run code during processing. The vulnerability is tracked as CVE-2026-14266. It is a high-severity issue, but it still requires user interaction. This means an attacker cannot directly attack a device over the internet. The victim must open a malicious file or visit a page that causes 7-Zip to process the file.

What Is 7-Zip?

7-Zip is a free tool for creating and opening archive files. It is popular because it is lightweight, fast, and supports many formats.

Many Windows users rely on 7-Zip to extract files from emails, websites, and work folders.

Because it often handles files from outside sources, 7-Zip is important from a security point of view. If the extraction process has a flaw, many users may be affected.

What Happened?

CVE-2026-14266 affects the way 7-Zip processes XZ data.

Technically, the issue is a heap-based buffer overflow. In simple terms, the app may write data outside the memory space it should use.

If an attacker creates a special XZ file, that file can trigger the flaw when opened or extracted.

As a result, the attacker may run code on the victim’s computer. The code runs with the same rights as the 7-Zip process.

What Is an XZ File?

XZ is a file compression format. It is often used in Linux and open source software environments.

XZ files may contain software packages, source code, or compressed data.

For regular users, XZ files may not be as common as ZIP or RAR files. Still, the format is widely used by IT teams, developers, and system administrators.

For this reason, the flaw matters. This is especially true for users who often download technical files from the internet.

Why This Flaw Matters

This flaw matters because opening an archive should feel safe. Many users think they only need to extract the file and move on.

However, if the archive tool has a vulnerability, extraction itself can become risky.

In this case, a malicious XZ file may cause 7-Zip to write outside its allowed memory area. After that, an attacker may try to execute code.

Still, the flaw does not automatically give administrator rights. If 7-Zip runs as a normal user, the attacker’s code also runs with that user’s rights.

The risk becomes higher if 7-Zip is launched with administrator privileges.

Is This a Remote Attack?

The term remote code execution can sound like a no-click internet attack. But this case is different.

The attack still needs user interaction. The victim must open a malicious file, download an unsafe archive, or visit a page that causes the file to be processed.

So, this is not a no-click attack. The attacker still needs the victim to process the file.

Even so, the risk is still serious. Many malware campaigns start with attachments, fake downloads, or compressed files.

Fixed Version

The issue has been fixed in 7-Zip version 26.02.

Users should update to 7-Zip 26.02 or later as soon as possible.

One important point is that 7-Zip usually does not update itself automatically. Users may need to download and install the latest version manually.

For companies, this can be a challenge. IT teams need to make sure all endpoints are running a safe version.

Has It Been Exploited?

At the time of the original report, there was no known active exploitation in the wild.

There was also no public proof-of-concept. This means there was no widely available exploit sample at that time.

Still, users should not delay updates. After details become public, attackers may study the patch and build their own exploit.

Because of this, patching remains the best action.

Who Is Most at Risk?

Users who often open files from outside sources face higher risk.

This may include IT teams, developers, finance staff, HR teams, customer support teams, and anyone who handles email attachments.

The risk also increases when users download files from forums, unofficial websites, or unknown links.

Companies should also pay attention to computers that process many external files. These endpoints should receive patching priority.

What Users Should Do

The first step is to check the installed 7-Zip version. Open 7-Zip and check the About or Help section.

If the version is older than 26.02, update it right away.

Next, avoid opening archive files from unknown sources. Do not extract files from suspicious emails, chats, or websites.

Also, avoid running 7-Zip as administrator unless it is truly needed. This can reduce the impact if a malicious file succeeds.

Steps for IT Teams

IT teams should create an inventory of devices that use 7-Zip. Then, they should check the installed version on each endpoint.

Priority should go to devices that often open files from outside the organization. Examples include user laptops, helpdesk machines, and developer workstations.

Also, deploy 7-Zip 26.02 or later using software management tools. This is safer than relying on users to update manually.

IT teams can also improve email gateway protection. Suspicious archive files should be scanned or blocked before they reach users.

Extra Security Tips

Updating the app is the main step. However, user habits still matter.

Do not open archive files from unknown senders. Check the file name, extension, and download source.

Use active antivirus or EDR protection. Also, keep the operating system updated.

If a file looks suspicious, do not force it open. Ask the sender to confirm it or report it to IT.

Key Takeaway

CVE-2026-14266 shows that archive tools can also become attack paths.

In this case, a malicious XZ archive can trigger a memory issue in 7-Zip. If the attack works, code may run in the context of the 7-Zip process.

Although the attack requires user interaction, the risk still matters. Many cyberattacks begin with files that look normal.

For this reason, users and companies should update 7-Zip to version 26.02 or later. They should also avoid opening archive files from untrusted sources.