CVE-2017-17969 json
Heap-based buffer overflow in the NCompress::NShrink::CDecoder::CodeReal method in 7-Zip before 18.00 and p7zip allows remote attackers to…
published 8y ago modified 4mo ago also EUVD-2017-9112
- cvss
- 7.8
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 5.0%
- EPSS 5.0% chance of exploitation in 30 days, percentile 92%
- public exploits
- 0
- none known
Summary
Heap-based buffer overflow in the NCompress::NShrink::CDecoder::CodeReal method in 7-Zip before 18.00 and p7zip allows remote attackers to cause a denial of service (out-of-bounds write) or potentially execute arbitrary code via a crafted ZIP archive.
Patch / fix
- 7-zip 7-zip 18.00
- 7-zip p7zip 18.0
- p7zip Debian 13, Debian 12 16.02+dfsg-5
debian advisories DEBIAN-CVE-2017-17969
- p7zip Ubuntu 14.04 LTS 9.20.1~dfsg.1-4+deb7u3build0.14.04.1
- p7zip Ubuntu 16.04 LTS 9.20.1~dfsg.1-4.2ubuntu0.1
ubuntu advisories UBUNTU-CVE-2017-17969
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- p7zip SLES for SAP 12 SP3, SLES for SAP 12 SP2, SLES for Raspberry Pi 12 SP2 +4 more 9.20.1-7.3.1
suse advisories SUSE-SU-2018:0464-1
- p7zip openSUSE Tumbleweed 16.02-11.3
opensuse advisories openSUSE-SU-2024:11137-1
- p7zip Alpine 3.17, Alpine 3.16, Alpine 3.15 +10 more 16.02-r2
alpine advisories ALPINE-CVE-2017-17969
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- p7zip Azure Linux 3.0 16.02-23
- p7zip CBL-Mariner 2.0 16.02-22
azure linux advisories AZL-35092AZL-6783
Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT
Is CVE-2017-17969 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2017-17969 updated cvss 9.1
p7zip: heap-based buffer overflow in 7zip/Compress/ShrinkDecoder.cpp can allow an attacker to write arbitrary data and cause a crash
-
Red Hat Enterprise Linux 8 p7zipnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
4.99% chance of exploitation in the next 30 days, higher than 92% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- landave.io https://landave.io/2018/01/7-zip-multiple-memory-corruptions-via-rar-and-zip/ referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 7.8 | CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
Classification
- Weakness
-
- CWE-787 Out-of-bounds Write
References
-
landave.io
/2018/01/7-zip-multiple-memory-corruptions-via-rar-and-zip/
exploit, technical-description, third-party-advisory
-
debian.org
/security/2018/dsa-4104
vendor-advisory, third-party-advisory
-
usn.ubuntu.com
/3913-1/
vendor-advisory
-
lists.debian.org
/debian-lts-announce/2018/02/msg00003.html
mailing-list, third-party-advisory
-
securitytracker.com
/id/1040831
vdb-entry
- 0patch.blogspot.si /2018/02/two-interesting-micropatches-for-7-zip.html
- github.com /p7zip-project/p7zip/issues/7
Sources
- CVE List CVE-2017-17969
- NVD CVE-2017-17969
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.