CVE-2026-140025

PeaZip active content confirmation is bypassed by a trailing dot or space in an archived file name

Published Nov 30, 2026 CVSS 4.0 · 4.6 Medium EPSS n/a KEV · Not listed
Description
Improper Resolution of Path Equivalence (CWE-41) in the active content confirmation of PeaZip from 10.5.0 before 11.3.0 on Windows allows a party who supplies an archive to have an entry opened without the warning the product shows before a file type with active content is handed to the system handler, because grid_obj_open compares each entry of the SECEXTCONST denylist against the listing's extension column for exact string equality, and that column holds ExtractFileExt of the name the archive declares. Windows removes trailing dots and spaces from the final path component, so an entry named payload.exe. resolves to payload.exe, while ExtractFileExt returns . for a name that ends in a dot and returns the extension with the space still attached for a name that ends in a space. Neither value matches any denylist entry. The row is not rejected before that either: checkfiledirname refuses control characters, the reserved characters * ? < > | and ", seven or more consecutive spaces, path separators and : inside the file name, and the Windows reserved device names, but not a trailing dot or a single trailing space. Both forms are legal in the ZIP and 7z name fields and neither can be typed in Explorer. The default configuration is affected, since seccond is 0, which applies the check to active content coming from archives, and the extension list is the SECEXTCONST default, which in the affected releases holds exe, cmd, msi, bat, ps1, vbs and reg. This results in no confirmation being shown for an entry whose name the attacker chooses, where the same entry named without the trailing character is shown one.

Analysis

No analysis available yet

Remediation

Vendor Solution

Upgrade to PeaZip 11.3.0 or later, which rejects an archived name ending in a dot or a space on Windows. Widening the list of extensions that require confirmation does not close this in an affected release, because the comparison is exact string equality and a trailing dot or space leaves every entry of the list unmatched.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Description Improper Resolution of Path Equivalence (CWE-41) in the active content confirmation of PeaZip from 10.5.0 before 11.3.0 on Windows allows a party who supplies an archive to have an entry opened without the warning the product shows before a file type with active content is handed to the system handler, because grid_obj_open compares each entry of the SECEXTCONST denylist against the listing's extension column for exact string equality, and that column holds ExtractFileExt of the name the archive declares. Windows removes trailing dots and spaces from the final path component, so an entry named payload.exe. resolves to payload.exe, while ExtractFileExt returns . for a name that ends in a dot and returns the extension with the space still attached for a name that ends in a space. Neither value matches any denylist entry. The row is not rejected before that either: checkfiledirname refuses control characters, the reserved characters * ? < > | and ", seven or more consecutive spaces, path separators and : inside the file name, and the Windows reserved device names, but not a trailing dot or a single trailing space. Both forms are legal in the ZIP and 7z name fields and neither can be typed in Explorer. The default configuration is affected, since seccond is 0, which applies the check to active content coming from archives, and the extension list is the SECEXTCONST default, which in the affected releases holds exe, cmd, msi, bat, ps1, vbs and reg. This results in no confirmation being shown for an entry whose name the attacker chooses, where the same entry named without the trailing character is shown one.
Title PeaZip active content confirmation is bypassed by a trailing dot or space in an archived file name
First Time appeared Peazip
Peazip peazip
Weaknesses CWE-41
CPEs cpe:2.3:a:peazip:peazip:*:*:*:*:*:windows:*:*
Vendors & Products Peazip
Peazip peazip
References
Metrics cvssV4_0

{'score': 4.6, 'vector': 'CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N'}

Weaknesses
  • CWE-41

    Improper Resolution of Path Equivalence

Sources

Status
PUBLISHED
Assigner
Secur0
Published
Updated
Nov 30, 2026, 7:59 PM
Reserved
Nov 30, 2026, 6:06 PM
Status
Received
Published
Nov 30, 2026, 8:17 PM
Modified
Nov 30, 2026, 8:17 PM