← Vulnerability feed

Vulnerability record · CVE-2023-31102 · published 3 November 2023

CVE-2023-31102: 7-Zip Ppmd7 integer underflow allows invalid read via crafted 7Z archive

7 Zip · 7 Zip

7-Zip before 23.00 contains an integer underflow in Ppmd7.c that leads to an invalid read when processing a crafted 7Z archive. The flaw is reachable when a user opens or extracts a malicious archive, and it can corrupt memory in a way that affects confidentiality, integrity and availability.

7.8 CVSS 3.1 High EPSS 57% · top 1.0% CWE-191 · CWE-191
7.8CVSS 3.1 base score
57%EPSS exploitation probability, 30 days
NoNot in CISA KEV
3Affected product versions listed by NVD
10References
17 Jun 2026Last modified by NVD

Description

Ppmd7.c in 7-Zip before 23.00 allows an integer underflow and invalid read operation via a crafted 7Z archive.

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 19 September 2026. Confidence: medium.

high priorityCVSS 7.8 with local vector and user interaction, combined with a very high EPSS percentile, makes this a high-priority fix for environments where users open untrusted archives.

What it is

7-Zip before 23.00 contains an integer underflow in Ppmd7.c that leads to an invalid read when processing a crafted 7Z archive. The flaw is reachable when a user opens or extracts a malicious archive, and it can corrupt memory in a way that affects confidentiality, integrity and availability.

Impact

An attacker who gets a victim to open a crafted 7Z archive can trigger an out-of-bounds read and memory corruption, potentially leading to code execution in the context of the 7-Zip process or a crash.

Attack surface

The vector is local (AV:L) with user interaction required (UI:R) and no privileges required (PR:N), meaning the attacker must deliver a malicious 7Z file and convince the user to open or extract it. No authentication is needed on the target system.

Exploitation

CISA KEV does not list this CVE, but EPSS is high at roughly 0.57 (99th percentile), indicating elevated likelihood of exploitation activity; reference tags are advisory and issue-tracking only, with no public exploit tag supplied.

What to do

  • Upgrade 7-Zip to version 23.00 or later on all endpoints and build systems.
  • Apply the NetApp advisory updates for Active IQ Unified Manager and OnCommand Workflow Automation where 7-Zip components are bundled.
  • Block or quarantine untrusted 7Z archives at email and web gateways until patching is complete.
  • Restrict execution of 7-Zip binaries to approved users and paths where feasible.
  • Inventory third-party software that embeds 7-Zip and track it for the same fix.

Detection

  • Monitor for 7-Zip process crashes or abnormal termination events tied to archive extraction.
  • Alert on 7z.exe or 7za.exe spawning child processes or making unexpected network connections after opening an archive.
  • Scan file shares and mail attachments for 7Z archives from untrusted sources and inspect them in a sandbox.
  • Use EDR to flag memory-read anomalies or access violations in 7-Zip modules during extraction.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Affected products

3 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2023-31102 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

10.0CVE-2021-44228Apache Log4j2 JNDI lookup remote code executionApache Log4j2 versions 2.0-beta9 through 2.15.0 (excluding 2.12.2, 2.12.3, and 2.3.1) do not protect against attacker-controlled LDAP and other JNDI …KEVEPSS 100%analysed9.8CVE-2016-3427Oracle Java SE JMX Improper Access Control VulnerabilityCVE-2016-3427 is an unspecified vulnerability in Oracle Java SE 6u113, 7u99, 8u77, Java SE Embedded 8u77, and JRockit R28.3.9, reached through vector…KEVEPSS 92%analysed8.8CVE-2023-41993Apple WebKit improper check allows arbitrary code executionCVE-2023-41993 is a WebKit flaw where processing web content can lead to arbitrary code execution, addressed with improved checks. Apple states it is…KEVEPSS 24%analysed8.8CVE-2023-4863libwebp Heap Buffer Overflow via Crafted WebP ImageA heap buffer overflow in libwebp allows an out-of-bounds memory write when processing a crafted WebP image. It affects Google Chrome before 116.0.58…KEVEPSS 100%analysed8.1CVE-2018-11776Apache Struts namespace handling flaw enables remote code executionApache Struts 2.3 through 2.3.34 and 2.5 through 2.5.16 can execute remote code when alwaysSelectFullNamespace is enabled and results or url tags are…KEVEPSS 100%analysed8.1CVE-2017-12617Apache Tomcat Default Servlet JSP upload leads to remote code executionApache Tomcat with HTTP PUT enabled (for example, the Default servlet readonly parameter set to false) allows an attacker to upload a JSP file throug…KEVEPSS 100%analysed7.8CVE-2021-3156Sudo off-by-one heap overflow allows root privilege escalationSudo before 1.9.5p2 contains an off-by-one error leading to a heap-based buffer overflow. Triggering it via 'sudoedit -s' with a command-line argumen…KEVEPSS 100%analysed7.8CVE-2019-13272Linux kernel ptrace credential mishandling allows local root escalationThe Linux kernel before 5.1.17 mishandles credential recording in ptrace_link (kernel/ptrace.c) when a process creates a ptrace relationship, and als…KEVEPSS 52%analysed

Source: NIST National Vulnerability Database (record CVE-2023-31102), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.