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.
Published: 2026-11-30
Score: 4.6 Medium
EPSS: n/a
KEV: No
AI Analysis

Analysis and contextual insights are available on OpenCVE Cloud.

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 yet.

History

Mon, 30 Nov 2026 19:15:00 +0000

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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: Secur0

Published:

Updated: 2026-11-30T19:59:45.122Z

Reserved: 2026-11-30T18:06:33.664Z

Link: CVE-2026-140025

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-11-30T20:17:56.727

Modified: 2026-11-30T20:17:56.727

Link: CVE-2026-140025

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.

Weaknesses
  • CWE-41

    Improper Resolution of Path Equivalence