7-Zip Mark-of-the-Web Bypass Vulnerability - CVE-2025-0411

7zip Updated 02 Oct 2025

Summary

25/01/2025
N/A
No i
Unrated
Not published

CVE-2025-0411: 7-Zip Mark-of-the-Web Bypass Vulnerability. Affects 7zip versions 22.01+dfsg-10~exp1 – 24.09+dfsg-3. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

7-Zip is a popular open-source file archiver that supports numerous archive formats, providing high compression ratios and a user-friendly interface. It is widely used for compressing and decompressing files, making it a staple in both personal and professional environments. However, a vulnerability has been identified that allows attackers to bypass the Mark-of-the-Web protection mechanism, potentially leading to unauthorized code execution.

Vulnerability Detail

The vulnerability, identified as CVE-2025-0411, exists within the handling of archived files in 7-Zip. When extracting files from a crafted archive that includes the Mark-of-the-Web, 7-Zip fails to propagate this security marker to the extracted files. This oversight allows attackers to execute arbitrary code in the context of the current user, provided they can lure the user into visiting a malicious page or opening a compromised file. The flaw is particularly concerning as it can lead to significant security breaches if exploited.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

As a temporary measure, users can avoid extracting files from untrusted archives or ensure that they are using a secure environment when handling such files. Additionally, users can manually check the properties of extracted files to ensure they are not executing any unauthorized code.

Conclusion

The 7-Zip Mark-of-the-Web Bypass Vulnerability (CVE-2025-0411) poses a significant risk by allowing attackers to execute arbitrary code through a flaw in the handling of archived files. Users are strongly advised to update their software to the latest patched versions to mitigate this risk and ensure their systems remain secure.

See every vulnerability recorded for 7zip →

Share this vulnerability

FAQ

The Mark-of-the-Web is a security feature in Windows that helps protect users from potentially harmful files downloaded from the internet by marking them with a specific attribute.

If you are using versions of 7-Zip prior to 24.09+dfsg-1 for Debian 13 or prior to 16.02+transitional.1 for p7zip on Debian 13, your version is affected by this vulnerability.

If immediate updates are not possible, avoid extracting files from untrusted sources and consider using a different archiving tool until the vulnerability is addressed.

Yes, Vulert can monitor your software for open-source vulnerabilities in real-time using just a manifest file like package-lock.json, without requiring installation.

You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

Related vulnerabilities

Recent vulnerabilities recorded for 7zip.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback