cve.bz

CVE-2023-40481 7-zip 7-zip: Out-of-bounds Write

7.8 highEPSS 14%

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

On this page
7-Zip SquashFS File Parsing Out-Of-Bounds Write Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of 7-Zip. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file. The specific flaw exists within the parsing of SQFS files. The issue results from the lack of proper validation of user-supplied data, which can result in a write past the end of an allocated buffer. An attacker can leverage this vulnerability to execute code in the context of the current process. Was ZDI-CAN-18589.

Severity

CVSS 3.0

7.8 high
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS
14% (unchanged from 14% a week ago; 14% 30 days ago) estimated probability of exploitation activity in the next 30 days; 97th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2024-06-05. 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
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2023-40481 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-40481?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-40481?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-2023-40481 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.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
7-zip:7-zip22.01

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11p7zip16.02+really25.01+dfsg-0+deb11u1DLA-4576-1
Debian127zip22.01+really25.01+dfsg-0+deb12u1DEBIAN-CVE-2023-40481
Debian12p7zip16.02+really25.01+dfsg-0+deb12u1DEBIAN-CVE-2023-40481
Debian13p7zip16.02+transitional.1DEBIAN-CVE-2023-40481
Debian13, 147zip23.01+dfsg-1DEBIAN-CVE-2023-40481
UbuntuPro:22.04:LTS7zipno fix listedUBUNTU-CVE-2023-40481

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.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-24-256-20Rockwell Automation AADvance Trusted SIS Workstation2024-09-12Critical ManufacturingRockwell Automation AADvance Trusted SIS Workstation: <=2.00.01none listed

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

References

Check your stackJSON