Skip to main content
Vulnerability Database/CVE-2026-102514

CVE-2026-102514: PeaZip Archive Extraction RCE Vulnerability

CVE-2026-102514 is a remote code execution flaw in PeaZip 11.2.0 and earlier that allows attackers to execute arbitrary code through crafted .pea archives. This post explains its impact, affected versions, and mitigation steps.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2026-102514 Overview

CVE-2026-102514 is an out-of-bounds write vulnerability [CWE-787] in the PEA archive extraction routine of PeaZip 11.2.0 and earlier. The flaw resides in the unpea_procedure function within pea.pas, part of the first-party pea component. An attacker who convinces a user to open or extract a crafted .pea archive can execute arbitrary code in the context of the user running PeaZip. The vulnerability affects official Linux x86-64 and Windows x64 builds, with the underlying memory-corruption primitive confirmed cross-platform on Windows, macOS, Linux, and BSD. No archive password, integrity tag, or non-default configuration is required to trigger the condition.

Critical Impact

Arbitrary code execution as the local user through a single crafted .pea archive, with no authentication required and demonstrated on official Linux and Windows binaries.

Affected Products

  • PeaZip 11.2.0 and earlier (Windows x64 and win32 builds)
  • PeaZip 11.2.0 and earlier (Linux x86-64 and aarch64, GTK2/GTK3/Qt6 builds)
  • PeaZip 11.2.0 and earlier (macOS Intel and Apple Silicon, BSD x86-64)

Discovery Timeline

  • 2026-10-01 - CVE-2026-102514 published to NVD
  • 2026-10-02 - Last updated in NVD database

Technical Details for CVE-2026-102514

Vulnerability Analysis

The defect occurs while decompressing a PCOMPRESS1 stream inside unpea_procedure. The 32-bit compressed-block-size field (compsize) of the first block is read directly from the attacker-supplied archive and used without validation. This value controls the length of a blockread into fixed-size global buffers wbuf1 and wbuf2, each 1,114,112 bytes. The same unvalidated value also bounds the subsequent copy loop and is used to index wbuf1[compsize], producing an out-of-bounds read at an attacker-chosen offset. Because the PeaZip binaries are built without range checking, the overflow overwrites adjacent global data and yields a reliable code-execution primitive.

Root Cause

The existing bounds check compsize > WBUFSIZE is applied only to subsequent blocks, so the first block bypasses validation entirely. The copy loop compounds the issue by iterating over the requested length instead of the number of bytes actually read, and by terminating on equality rather than on an upper bound. Two independent researchers demonstrated code execution against the official Linux x86-64 and Windows x64 builds.

Attack Vector

Exploitation requires local user interaction: the victim must open or extract a malicious .pea archive. Delivery vectors include email attachments, drive-by downloads, and shared network drives. The attack succeeds without credentials, prompts, or password-protected archives.

text
// Vulnerable logic in pea.pas (unpea_procedure), conceptual summary
// compsize is read from attacker-controlled archive header
blockread(archive, wbuf1, compsize);   // first block skips "compsize > WBUFSIZE" check
for i := 0 to compsize do              // bound uses requested length, not bytes read
  wbuf2[i] := wbuf1[compsize] xor ...; // OOB read at attacker-chosen offset + OOB write

Source: Secur0 CVE-2026-102514 Analysis

Stop Remote Code Execution Before It Runs

Singularity™ Endpoint detects and blocks exploit attempts at machine speed, including zero-days and novel attack techniques.

Stop Exploit Attempts

Detection Methods for CVE-2026-102514

Indicators of Compromise

  • .pea archive files received from untrusted sources, especially those with a first-block compsize field exceeding WBUFSIZE (1,114,112 bytes).
  • Unexpected child processes spawned by peazip, pea, or unpea binaries, such as shells, scripting hosts, or network clients.
  • Crashes or abnormal termination of PeaZip during extraction, which may indicate failed exploitation attempts triggering memory corruption.

Detection Strategies

  • Inspect .pea headers at the mail gateway or endpoint and flag archives whose first PCOMPRESS1 block declares an oversized compressed-block length.
  • Monitor process-lineage telemetry for PeaZip spawning interpreters (cmd.exe, powershell.exe, /bin/sh, bash, python) that would be atypical for an archive utility.
  • Correlate file-write events in user profile directories immediately following PeaZip extraction activity to catch dropped secondary payloads.

Monitoring Recommendations

  • Enable EDR rules that alert on code execution originating from archive utilities and on anomalous memory-region allocations in peazip processes.
  • Centralize PeaZip version inventory and alert on hosts running versions <= 11.2.0 of the pea component.
  • Review historical extraction logs for .pea archives processed in the days preceding the patch date.

How to Mitigate CVE-2026-102514

Immediate Actions Required

  • Upgrade PeaZip and the bundled pea component to version 1.33 or later, which adds validation of the first compressed-block size on extraction.
  • Block inbound .pea attachments at email and web gateways until patched builds are deployed across the fleet.
  • Instruct users to avoid opening .pea archives from untrusted senders and to verify archive origin before extraction.

Patch Information

The PeaZip maintainers addressed the issue in pea.pas version 1.33, released on 2026-08-27. The fix adds validation of the first compressed-block size during PEA extraction and updates the trusted hash constants in externalprograms.pas to reference the hardened pea binaries. See the upstream fix in the PeaZip GitHub commit 90ddbaee.

text
// peazip-sources/dev/pea.pas changelog (patch)
+ 1.33     20260827  G.Tani      *** IN PROGRESS
+                                Fixed some PEA files erroneously reported as containing relative paths
+                                Fixed validation of first compressed block size on extraction of PEA archives
+                                Updated some app colors

Source: PeaZip GitHub commit 90ddbaee

Workarounds

  • Disable file-type associations for .pea archives so they do not open PeaZip on double-click.
  • Route PeaZip extraction through a sandboxed, non-privileged account or ephemeral virtual machine when processing untrusted archives.
  • Where possible, use alternative archive formats (.zip, .7z) handled by non-PEA code paths until the patched build is installed.
bash
# Verify installed PeaZip version and block vulnerable builds on Linux
peazip --version
# If version <= 11.2.0, remove or upgrade
sudo apt remove peazip   # Debian/Ubuntu
# Then install PeaZip >= 11.3.0 containing pea.pas 1.33

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.