CVE-2026-102514
published high CVSS 4.0 · 8.4Out-of-bounds write in PeaZip PEA extractor allows code execution via a crafted .pea archive
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| PeaZip | — | PeaZip0 to < 11.3.0 · Other versions: unaffected · Platforms: Windows, macOS, Linux, BSD | Affected | Not stated | Secur0 |
Description
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).
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.4 / 10
- Severity
- high
- Provider
- Secur0 · cna
- Vector string
- CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| PeaZip | PeaZip | 0 to < 11.3.0 (affected · semver)Default: unaffected | Secur0 · cna |
Weaknesses
3- CWE-787 CWE-787 Out-of-bounds Write
- CWE-125 CWE-125 Out-of-bounds Read
- CWE-1284 CWE-1284 Improper Validation of Specified Quantity in Input
References
2Provider assertions
2Secur0 · cna
Out-of-bounds write in PeaZip PEA extractor allows code execution via a crafted .pea archive
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 58bb785936051e7f72f014111766b96cf4f3096abba878ce89dadbbbbde0233c
- Ingested
- 14 Oct 2026, 20:24:43 UTC
- Source record
- Official CVE record