CVE-2026-58052

NameCVE-2026-58052
Description7-Zip for Windows through 26.01 fails to preserve the Mark-of-the-Web when extracting a crafted RAR5 archive, because its guard that suppresses an archive-supplied Zone.Identifier stream matches the exact name 'Zone.Identifier' while a RAR5 STM record named ':Zone.Identifier:$DATA' is not matched and NTFS canonicalizes it to the same stream, overwriting the propagated Internet-zone marker with ZoneId=0. A second STM record named '::$DATA' overwrites the extracted file's default data stream, letting an attacker defeat SmartScreen/MotW warnings and spoof file content.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
7zip (PTS)bookworm22.01+really26.01+dfsg-0+deb12u1vulnerable
trixie25.01+dfsg-1~deb13u2vulnerable
forky, sid26.02+dfsg-2fixed
p7zip (PTS)bullseye16.02+dfsg-8vulnerable
bullseye (security)16.02+really26.01+dfsg-0+deb11u1vulnerable
bookworm16.02+really26.01+dfsg-0+deb12u1vulnerable
trixie16.02+transitional.1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
7zipsource(unstable)26.02+dfsg-1
p7zipsource(unstable)16.02+transitional.1

Notes

[trixie] - 7zip <ignored> (Only affects Windows NTFS with transparent ADS and :$DATA canonicalization, i.e. not the current ntfs-3g)
[bookworm] - 7zip <ignored> (Only affects Windows NTFS with transparent ADS and :$DATA canonicalization, i.e. not the current ntfs-3g)
[bookworm] - p7zip <ignored> (Only affects Windows NTFS with transparent ADS and :$DATA canonicalization, i.e. not the current ntfs-3g)
[bullseye] - p7zip <ignored> (Only affects Windows NTFS with transparent ADS and :$DATA canonicalization, i.e. not the current ntfs-3g)
Since p7zip/16.02+transitional.1 src:p7zip is only an empty source package
depending on 7zip. Mark this version as fixed version.
https://github.com/bikini/exploitarium/tree/main/7zip-rar5-motw-chain-poc
https://lists.debian.org/debian-lts/2026/07/msg00038.html

Search for package or bug name: Reporting problems