| Name | CVE-2026-58052 |
| Description | 7-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. |
| Source | CVE (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 Package | Release | Version | Status |
|---|
| 7zip (PTS) | bookworm | 22.01+really26.01+dfsg-0+deb12u1 | vulnerable |
| trixie | 25.01+dfsg-1~deb13u2 | vulnerable |
| forky, sid | 26.02+dfsg-2 | fixed |
| p7zip (PTS) | bullseye | 16.02+dfsg-8 | vulnerable |
| bullseye (security) | 16.02+really26.01+dfsg-0+deb11u1 | vulnerable |
| bookworm | 16.02+really26.01+dfsg-0+deb12u1 | vulnerable |
| trixie | 16.02+transitional.1 | fixed |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|
| 7zip | source | (unstable) | 26.02+dfsg-1 | | | |
| p7zip | source | (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