Skip to content
Medium 4.6

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

CVE-2026-140025 First seen on SecPulse

Affected packages

PackageAffected → Fixed
peazippeazip
≥ 10.5.0, < 11.3.0→ 11.3.0
Original description The description as published by the source.

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 b…

Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details