Bug 2241004 (CVE-2023-31102) - CVE-2023-31102 p7zip: 7Z File Parsing Integer Underflow Remote Code Execution Vulnerability
Summary: CVE-2023-31102 p7zip: 7Z File Parsing Integer Underflow Remote Code Execution...
Status: NEW
Alias: CVE-2023-31102
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Product Security
QA Contact:
Depends On: 2241102 2241103
Blocks: 2241005
TreeView+ depends on / blocked
Reported: 2023-09-27 16:33 UTC by Guilherme de Almeida Suckevicz
Modified: 2023-10-18 15:04 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
An integer underflow flaw is present in p7zip due to the improper validation of user-supplied data, which leads to remote code execution. This flaw allows an attacker to use a specially crafted file to trigger code execution, leading to a complete compromise of the system.
Clone Of:
Last Closed:

Attachments (Terms of Use)

Description Guilherme de Almeida Suckevicz 2023-09-27 16:33:51 UTC
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 7Z files. The issue results from the lack of proper validation of user-supplied data, which can result in an integer underflow before writing to memory. An attacker can leverage this vulnerability to execute code in the context of the current process.


Comment 2 Avinash Hanwate 2023-09-28 05:42:06 UTC
Created p7zip tracking bugs for this issue:

Affects: epel-all [bug 2241102]
Affects: fedora-all [bug 2241103]

Note You need to log in before you can comment on or make changes to this bug.