Buffer overflow in 7-Zip
CVE-2017-17969
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.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.8 (High). Vector: CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.050, 92.4th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- 7-Zip
- 7-Zip P7zip
- Debian Linux — versions 7.0, 8.0, 9.0
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 5 other repositories (andir/nixos-issue-db-example, ARPSyndicate/cvemon, lnick2023/nicenice, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- DSA-4104 (vendor-advisory, Third Party Advisory)
- [debian-lts-announce] 20180202 [SECURITY] [DLA 1268-1] p7zip security update (mailing-list, Mailing List, Third Party Advisory)
- landave.io/2018/01/7-zip-multiple-memory-corruptions-via-rar-and-zip/ (Technical Description, Exploit, Third Party Advisory)
- www.securitytracker.com/id/1040831 (vdb-entry)
- 0patch.blogspot.si/2018/02/two-interesting-micropatches-for-7-zip.html
- USN-3913-1 (vendor-advisory)
- github.com/p7zip-project/p7zip/issues/7