cve.bz

CVE-2026-125742 7-Zip before 26.06 Heap Out-of-Bounds Write via LZX Decoder in CAB Extraction

8.5 highEPSS 0.2%

High (8.5) in 7-zip 7-zip. EPSS 0.2% estimated probability of exploitation activity in the next 30 days.

On this page
7-Zip before 26.06 contains a heap out-of-bounds write vulnerability in the LZX decoder that lets attackers corrupt memory when a continuation CAB volume declares a smaller window. Attackers can entice victims to extract crafted multi-volume CAB archives, where a stale _pos value bypasses bounds checks, enabling arbitrary code execution.

Severity

CVSS 4.0

8.5 high
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

CVSS 3.1

7.8 high
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS
0.2% estimated probability of exploitation activity in the next 30 days; 8th percentile. Scored 2026-11-13. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: total, assessed 2026-11-12. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-787 Out-of-bounds Write
Published
Modified
Assigned by
VulnCheck (CNA)
NVD analysis
Awaiting analysis
Record from
the NVD, synced

Ask an AI about this CVE

Show the promptExplain CVE-2026-125742 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-125742?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-125742?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-125742 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Badge for a README or a site

CVE-2026-125742

An image that stays current: it is drawn from the data each time it is fetched (a host that proxies images, as GitHub does, may show its copy for a while). Markdown:

[![CVE-2026-125742](https://cve.bz/cve/badge/CVE-2026-125742.svg)](https://cve.bz/cve/CVE-2026-125742)

HTML:

<a href="https://cve.bz/cve/CVE-2026-125742"><img src="https://cve.bz/cve/badge/CVE-2026-125742.svg" alt="CVE-2026-125742"></a>

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
7-Zipbefore 26.06

Fix and patched versions

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian127zip, p7zipno fix listedDEBIAN-CVE-2026-125742
Debian137zipno fix listedDEBIAN-CVE-2026-125742
Debian13p7zip16.02+transitional.1DEBIAN-CVE-2026-125742
Debian147zip26.06+dfsg-1DEBIAN-CVE-2026-125742
Ubuntu14.04:LTS, 16.04:LTS, 18.04:LTS and 2 morep7zipno fix listedUBUNTU-CVE-2026-125742
Ubuntu26.04:LTS, 26.10, Pro:22.04:LTS and 1 more7zipno fix listedUBUNTU-CVE-2026-125742

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.

References

Check your stackJSON