ZeroHour
Security Affairspublished ()ingested @securityaffairs

Critical 7-Zip Flaw Allows Code Execution by Opening Crafted XZ

criticalVulnerability exploited in the wildimportance 60CVE-2025-11001

Vulnerabilities mentionedAll →

CVEVulnerabilityCVSSEPSSFlagsAffectedExposurePublished
CVE-2025-11001
Directory Traversal RCE in 7-Zip ZIP Symbolic Link Handling

CVE-2025-11001 is a directory traversal vulnerability (CWE-22) in 7-Zip's handling of symbolic links inside ZIP archives, which an attacker can leverage for arbitrary code execution. Exploitation requires interaction with the product — typically a user opening or extracting a crafted ZIP (the CVSS vector is local with user interaction required), though real-world attack vectors vary by implementation — allowing the attacker to escape the intended extraction directory and run code with the privileges of the account doing the extraction, often a service account. Any 7-Zip installation that processes untrusted archives, from desktop users to server-side automation and pipelines, is potentially affected; the disclosure data does not specify a vulnerable version range. Security outlets report a public proof-of-concept and active exploitation in the wild, and the UK NHS has issued an advisory; the flaw carries a high EPSS score (27% probability of exploitation within 30 days, 98th percentile) but is not yet in CISA's KEV catalog.

Do: Update 7-Zip to the latest patched release available from the vendor (the exact fixed version number is not specified in this data). Until patched, avoid opening or auto-extracting ZIP archives from untrusted sources — especially archives containing symbolic links — and audit any server-side jobs, CI pipelines, or gateway services that invoke 7-Zip on external archives, since code executes with the service account's privileges; related coverage also flags code execution via crafted XZ archives, so treat those cautiously as well. Given reports of in-the-wild exploitation and the NHS advisory, prioritize patching shared and high-interaction systems.

7.827%
  • 7-Zip
masstens of millions of installations worldwide
Full article205 words · extracted from securityaffairs.com · click to collapse

7-Zip fixed a vulnerability that could let attackers run code by tricking users into opening malicious XZ-compressed archive files.

7-Zip released version 26.02 to address a remote code execution vulnerability in its handling of XZ-compressed data. The flaw, discovered by researcher Landon Peng, can be triggered through a specially crafted archive. If a user opens the malicious file, an attacker could exploit a heap-based buffer overflow to execute arbitrary code with the user’s privileges.

The developer has not released technical details about the vulnerability, but the version 26.02 code changes suggest the issue involved improper handling of available buffer space during XZ decompression.

Exploitation requires user interaction, such as opening a malicious archive or visiting a harmful page. 7-Zip does not provide automatic updates, so users must install the latest version manually.

Users should manually update to the latest version.

7-Zip vulnerabilities are privileged targets because the software popularity. Attackers could exploit the flaw by sending malicious archives through phishing or social engineering campaigns to install malware.

In November 2025, NHS England reported active exploitation of a remote code execution vulnerability, tracked as CVE-2025-11001 (CVSS score of 7.0).

Follow me on Twitter: @securityaffairs and Facebook and Mastodon

Pierluigi Paganini

(SecurityAffairs – hacking, 7Zip)



Text extracted automatically; images, tables and formatting may be missing. Original: https://securityaffairs.com/195688/security/critical-7-zip-flaw-allows-code-execution-by-opening-crafted-xz-compressed-files-update-it-now.html