Bug 2545120 - CVE-2026-102514 peazip: peazip: Arbitrary code execution via crafted PEA archive [fedora-all]
Summary: CVE-2026-102514 peazip: peazip: Arbitrary code execution via crafted PEA arch...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: peazip
Version: rawhide
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
Assignee: Artur Frenszek-Iwicki
QA Contact:
URL:
Whiteboard: {"flaws": ["b8d84fd0-823a-4b5a-b63c-4...
Depends On:
Blocks: CVE-2026-102514
TreeView+ depends on / blocked
 
Reported: 2026-10-02 12:09 UTC by Vladimir Vasilev
Modified: 2026-10-02 12:16 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2026-10-02 12:16:51 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Vladimir Vasilev 2026-10-02 12:09:38 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

Out-of-bounds Write (CWE-787) in the PEA archive extraction routine (pea.pas, unpea_procedure) of the first-party pea component in PeaZip 11.2.0 and earlier allows an attacker who convinces a victim to open or extract a crafted .pea archive to execute arbitrary code as the user running PeaZip. While decompressing a PCOMPRESS1 stream, the 32-bit compressed-block-size field of the first block (compsize) is read directly from the archive and used without validation as the length of a blockread into the fixed-size global buffers wbuf1/wbuf2 (1,114,112 bytes) and as the bound of the subsequent copy loop. The existing check "compsize > WBUFSIZE" is applied only to the size of each following block, so the first block escapes it; the same unvalidated value is also used to index wbuf1[compsize], an out-of-bounds read at an attacker-chosen offset. The copy loop additionally copies the requested length instead of the number of bytes actually read, and terminates on equality rather than on an upper bound. Because the project is built without range checking and no archive password, integrity tag or non-default configuration is required, the overflow overwrites adjacent global data; code execution was demonstrated by two independent researchers against the official Linux x86-64 and Windows x64 builds, and the denial-of-service and memory-corruption primitive is cross-platform (Windows, macOS, Linux, BSD).

Comment 1 Artur Frenszek-Iwicki 2026-10-02 12:16:51 UTC
> in PeaZip 11.2.0 and earlier
PeaZip in Fedora Rawhide has already been updated to v11.3.0.

Updates for F45 beta, F44 and F43 are currently in testing:
- F45: https://bodhi.fedoraproject.org/updates/FEDORA-2026-c1d6e75797
- F44: https://bodhi.fedoraproject.org/updates/FEDORA-2026-09c3f6dacb
- F43: https://bodhi.fedoraproject.org/updates/FEDORA-2026-aaf49959d1


Note You need to log in before you can comment on or make changes to this bug.