CVE-2023-31102: 7-Zip 7Z File Parsing Integer Underflow Remote Code Execution Vulnerability

Published Aug 23, 2023
·
Updated

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

Other sources

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.

Affected Software

5 affected components
7-Zip 7-Zip
All of the following
Linux Linux kernel
7-Zip 7-Zip<22.01
NetApp Active Iq Unified Manager Windows
NetApp OnCommand Workflow Automation

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade 7-Zip to a version that resolves this vulnerability.

    Fixed in 23.00

Event History

Aug 23, 2023
Advisory Published
12:00 AM
Data Sourced
12:00 AM
DescriptionSeverityAffected Software
Updated
via ZDI·12:00 AM
Affected Software
Nov 3, 2023
CVE Published
via MITRE·12:00 AM
Nov 13, 2023
Data Sourced
03:18 PM
Weakness
Nov 19, 2023
Updated
11:19 PM
Description
Nov 20, 2023
Updated
12:15 AM
DescriptionAffected Software
Aug 2, 2024
Data Sourced
via MITRE·02:45 PM
Description
Sep 6, 2024
Data Sourced
via NVD·02:35 PM
DescriptionSeverityWeaknessAffected Software
Updated
via NVD·02:35 PM
SeverityWeaknessAffected Software

Frequently Asked Questions

1

What is CVE-2023-31102?

CVE-2023-31102 is a vulnerability in 7-Zip that allows remote attackers to execute arbitrary code on affected installations.

2

How can this vulnerability be exploited?

This vulnerability can be exploited by visiting a malicious page or opening a malicious file.

3

What is the affected software?

The affected software is 7-Zip.

4

How severe is CVE-2023-31102?

CVE-2023-31102 has a severity rating of 7.8 (high).

5

How can I fix CVE-2023-31102?

To fix CVE-2023-31102, update to the latest version of 7-Zip.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203