p7zip: memory corruption in RAR decompression
Published Jan 31, 2018
9.8
CRITICALCVSS 3.0
EPSS 2.88%
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.
Affected products
No data.
Configuration 2
- 7.0
- 8.0
- 9.0
No data.
Red Hat Enterprise Linux 8
p7zip
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 8 | p7zip | Not affected | n/a |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
1 other source (Red Hat) ▾
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
AV:N/AC:M/Au:N/C:P/I:P/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2021–2026- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (31 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 2.88% (0.02875) | 86.34th | v5 (v2026.06.15) |
| Sep 22, 2026 | 2.88% (0.02875) | 86.22th | v5 (v2026.06.15) |
| Sep 21, 2026 | 4.44% (0.04443) | 90.99th | v5 (v2026.06.15) |
| Sep 6, 2026 | 2.88% (0.02875) | 85.91th | v5 (v2026.06.15) |
| Sep 5, 2026 | 4.44% (0.04443) | 90.79th | v5 (v2026.06.15) |
| Aug 30, 2026 | 2.88% (0.02875) | 85.84th | v5 (v2026.06.15) |
| Aug 28, 2026 | 4.44% (0.04443) | 90.74th | v5 (v2026.06.15) |
| Aug 24, 2026 | 2.88% (0.02875) | 85.75th | v5 (v2026.06.15) |
| Aug 23, 2026 | 4.44% (0.04443) | 90.70th | v5 (v2026.06.15) |
| Jun 15, 2026 | 2.91% (0.02906) | 85.11th | v5 (v2026.06.15) |
| Nov 21, 2025 | 4.48% (0.04477) | 88.60th | v4 (v2025.03.14) |
| Nov 18, 2025 | 1.48% (0.01480) | 79.35th | v4 (v2025.03.14) |
| May 22, 2025 | 4.48% (0.04477) | 88.51th | v4 (v2025.03.14) |
| Mar 30, 2025 | 8.19% (0.08194) | 91.39th | v4 (v2025.03.14) |
| Mar 29, 2025 | 33.62% (0.33617) | 95.23th | v4 (v2025.03.14) |
| Mar 17, 2025 | 8.19% (0.08194) | 91.58th | v4 (v2025.03.14) |
| Jan 11, 2025 | 1.92% (0.01918) | 88.33th | v3 (v2023.03.01) |
| Dec 17, 2024 | 4.36% (0.04364) | 92.27th | v3 (v2023.03.01) |
| Jun 17, 2024 | 2.15% (0.02154) | 89.36th | v3 (v2023.03.01) |
| Feb 16, 2024 | 1.86% (0.01857) | 87.95th | v3 (v2023.03.01) |
| Jan 11, 2024 | 1.55% (0.01555) | 85.80th | v3 (v2023.03.01) |
| Dec 11, 2023 | 1.34% (0.01341) | 84.53th | v3 (v2023.03.01) |
| Mar 7, 2023 | 1.09% (0.01094) | 82.13th | v3 (v2023.03.01) |
| Mar 6, 2023 | 3.25% (0.03249) | 84.24th | v2 (v2022.01.01) |
| Oct 28, 2022 | 3.25% (0.03249) | 83.74th | v2 (v2022.01.01) |
| Apr 1, 2022 | 3.16% (0.03161) | 82.35th | v2 (v2022.01.01) |
| Feb 4, 2022 | 3.16% (0.03161) | 65.03th | v2 (v2022.01.01) |
| Feb 3, 2022 | 1.86% (0.01859) | 47.93th | v1 |
| Jan 6, 2022 | 1.86% (0.01859) | 47.41th | v1 |
| Sep 1, 2021 | 1.86% (0.01859) | 75.73th | v1 |
| Apr 14, 2021 | 1.86% (0.01859) | 0.00th | v1 |
References (9)
- http://www.securitytracker.com/id/1040831 vdb-entry
- https://0patch.blogspot.si/2018/02/two-interesting-micropatches-for-7-zip.html
- https://access.redhat.com/security/cve/CVE-2018-5996 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1538470 Issue Tracking
- https://github.com/p7zip-project/p7zip/issues/32
- https://github.com/p7zip-project/p7zip/issues/8
- https://landave.io/2018/01/7-zip-multiple-memory-corruptions-via-rar-and-zip/ ExploitTechnical DescriptionThird Party Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2018-5996
- https://www.cve.org/CVERecord?id=CVE-2018-5996
Change history (0)
No recorded changes yet.