Out-of-bounds write in PeaZip PEA extractor allows code execution via a crafted .pea archive
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- Active
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-787 and the CVSS impact.
Summary
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).
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
- Fix · CNA PeaZip (PeaZip) Fixed in 11.3.0
Vendor assessments
Timeline
- 2026-10-02 Threatist record created from CVE-2026-102514
- 2026-10-03 Alias added: GHSA-6592-qv35-5gx2
- 2026-10-15 Weakness changed · CNA
References
More PeaZip vulnerabilities
- TI-2025-24020 In PeaZip through 10.4.0, there is a Mark-of-the-Web Bypass Vulnerability. CVSS 3.1HIGH 7.8
- TI-2026-74741 Path traversal in PeaZip archive preview runs arbitrary programs CVSS 4.0HIGH 8.4
- TI-2026-67381 PeaZip before 11.3.0, in a non-default configuration, is vulnerable to OS command… CVSS 4.0HIGH 7.1
- TI-2023-06296 PeaZip Library dragdropfilesdll.dll uncontrolled search path CVSS 3.1HIGH 7.8
- TI-2026-74758 PeaZip runs programs from crafted archive entries without a prompt CVSS 4.0MEDIUM 4.6
Sources
- CVE-2026-102514 · CVE Program
- CVE-2026-102514 · NVD
- FIRST EPSS
- GHSA-6592-qv35-5gx2 · GitHub Advisory Database · CC BY 4.0
- CVE-2026-102514 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences