Skip to content
Heist/ feed
High

Out-of-bounds write in PeaZip PEA extractor allows code execution via a crafted .pea archive

Type: advisorySource: Official CVE List1 source record

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

Announced Group revision 1
Original source ↗

CVE-2026-102514

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-102514

PeaZip

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "cpes": [
      "cpe:2.3:a:peazip:peazip:*:*:*:*:*:*:*:*"
    ],
    "repo": "https://github.com/peazip/PeaZip",
    "vendor": "PeaZip",
    "modules": [
      "PEA archive extractor (pea component)"
    ],
    "product": "PeaZip",
    "versions": [
      {
        "status": "affected",
        "version": "0",
        "lessThan": "11.3.0",
        "versionType": "semver"
      }
    ],
    "platforms": [
      "Windows",
      "macOS",
      "Linux",
      "BSD"
    ],
    "programFiles": [
      "peazip-sources/dev/pea.pas"
    ],
    "collectionURL": "https://github.com/peazip/PeaZip/releases",
    "defaultStatus": "unaffected",
    "programRoutines": [
      {
        "name": "unpea_procedure"
      }
    ]
  }
]
Related CVEs
CVE-2026-102514

Source reference: /cveMetadata/cveId

Publisher severity

high

Source reference: /containers/cna/metrics

Event
#22792 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement