CVE-2018-5996: 7-Zip - Buffer Overflow
- Cve: CVE-2018-5996
- Name: 7-Zip - Buffer Overflow
- Description: Insufficient exception handling in the method NCompress::NRar3::CDecoder::Code of 7-Zip before 18.00 and p7zip can lead to multiple memory corruptions within the PPMd code, allows remote attackers to cause a denial of service (segmentation fault) or execute arbitrary code via a crafted RAR archive.
- Impact: Attackers can cause segmentation faults or execute arbitrary code, leading to system crashes or full compromise.
- Remediation: Update to version 18.00 or later.
- Vulnerability type: buffer_overflow
- Vulnerability impact: denial_of_service, remote_code_execution
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.8
- Cvss vector: CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- Epss score: 0.02851
- Epss percentile: 0.87067
- Assignee: [email protected]
- Published at: 2018-01-31T18:29:00Z
- Age in days: 3219
- Modified at: 2026-06-17T02:01:08Z
- Patch available: yes
- Public exploits total: 1
- References total: 5
- Products total: 3
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2018-5996
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-119 | Improper Restriction of Operations within the Bounds of a Memory Buffer |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://landave.io/2018/01/7-zip-multiple-memory-corruptions-via-rar-and-zip/ | nvd | 2018-01-31 |
References
Same in every row:
- Source: nvd
Products
Same in every row:
- Platform bound: no
- Sources: nvd
| Product | Affected | Url |
|---|---|---|
| 7-zip:7-zip | < 18.00 | /v1/products/7-zip/7-zip |
| 7-zip:p7zip | < 18.0 | /v1/products/7-zip/p7zip |
| debian:debian_linux | = 9.0, = 8.0, = 7.0 | /v1/products/debian/debian_linux |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| p7zip-project/p7zip | fix, issues | yes | /v1/repositories/p7zip-project/p7zip |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2018-01-31
- Exposed hosts: 4706702
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, remote, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports