CVE-2017-17969
Heap-based buffer overflow in the NCompress::NShrink::CDecoder::CodeReal method in 7-Zip before...
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.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Required
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
7.8
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.
- Record
CVE-2017-17969- CVSS 3.0
- 7.8 High
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - CVSS 2.0
- 6.8 Medium
AV:N/AC:M/Au:N/C:P/I:P/A:P - Weakness
- CWE-787
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2017-17969- Updated
- 2026-11-02
EUVDEUVD-2017-9112 No score
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.
- Record
EUVD-2017-9112- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-5mfm-p22h-8c37
7.8
Heap-based buffer overflow in the NCompress::NShrink::CDecoder::CodeReal method in 7-Zip before...
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.
- Record
GHSA-5mfm-p22h-8c37- CVSS 3.0
- 7.8 High
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Weakness
- CWE-787
- Updated
- 2026-11-02
OSVALPINE-CVE-2017-17969
7.8
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.
- Record
ALPINE-CVE-2017-17969- CVSS 3.0
- 7.8 High
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVAZL-35092
7.8
CVE-2017-17969 affecting package p7zip for versions less than 16.02-23
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.
- Record
AZL-35092- CVSS 3.0
- 7.8 High
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
Show 9 moreShow less
OSVAZL-6783
7.8
CVE-2017-17969 affecting package p7zip for versions less than 16.02-22
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.
- Record
AZL-6783- CVSS 3.0
- 7.8 High
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSV
7.8
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.
- Record
CVE-2017-17969- CVSS 3.0
- 7.8 High
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVDEBIAN-CVE-2017-17969
7.8
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.
- Record
DEBIAN-CVE-2017-17969- CVSS 3.0
- 7.8 High
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVOESA-2021-1294
7.8
p7zip security update
7za for Linux system to archive file as 7z file format
Security Fix(es):
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.(CVE-2017-17969)
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.(CVE-2018-5996)
Incorrect initialization logic of RAR decoder objects in 7-Zip 18.03 and before can lead to usage of uninitialized memory, allowing remote attackers to cause a denial of service (segmentation fault) or execute arbitrary code via a crafted RAR archive.(CVE-2018-10115)
A null pointer dereference bug affects the 16.02 and many old versions of p7zip. A lack of null pointer check for the variable folders.PackPositions in function CInArchive::ReadAndDecodePackedStreams in CPP/7zip/Archive/7z/7zIn.cpp, as used in the 7z.so library and in 7z applications, will cause a crash and a denial of service when decoding malformed 7z files.(CVE-2016-9296)
- Record
OESA-2021-1294- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2017-17969
7.8
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.
- Record
UBUNTU-CVE-2017-17969- CVSS 3.0
- 7.8 High
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVMGASA-2018-0123 No score
Updated p7zip packages fix security vulnerability
Heap-based buffer overflow vulnerability in the NCompress::NShrink::CDecoder::CodeReal method in p7zip. A remote attacker can take advantage of this flaw to cause a denial-of-service or, potentially the execution of arbitrary code with the privileges of the user running p7zip, if a specially crafted shrinked ZIP archive is processed (CVE-2017-17969).
- Record
MGASA-2018-0123- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:11137-1 No score
p7zip-16.02-11.3 on GA media
These are all security issues fixed in the p7zip-16.02-11.3 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:11137-1- Updated
- 2026-11-02
OSVSUSE-SU-2018:0464-1 No score
Security update for p7zip
This update for p7zip fixes the following issues:
Security issues fixed:
- CVE-2016-1372: Fixed multiple vulnerabilities when processing crafted 7z files (bsc#984650)
- CVE-2017-17969: Fixed a heap-based buffer overflow in a shrink decoder (bsc#1077725)
- CVE-2018-5996: Fixed memory corruption in RAR decompression. The complete RAR decoder was removed as it also has license issues (bsc#1077724 bsc#1077978)
- Record
SUSE-SU-2018:0464-1- Updated
- 2026-11-02
OSVUSN-3913-1 No score
p7zip vulnerabilities
It was discovered that p7zip did not correctly handle certain malformed archives. If a user or automated system were tricked into processing a specially crafted archive with p7zip, then p7zip could be made to crash, possibly leading to abitrary code execution.
- Record
USN-3913-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
p7zipAlpine:v3.10 |
before 16.02-r2 | 16.02-r2 |
p7zipAlpine:v3.11 |
before 16.02-r2 | 16.02-r2 |
p7zipAlpine:v3.12 |
before 16.02-r2 | 16.02-r2 |
p7zipAlpine:v3.13 |
before 16.02-r2 | 16.02-r2 |
p7zipAlpine:v3.14 |
before 16.02-r2 | 16.02-r2 |
p7zipAlpine:v3.15 |
before 16.02-r2 | 16.02-r2 |
p7zipAlpine:v3.16 |
before 16.02-r2 | 16.02-r2 |
p7zipAlpine:v3.17 |
before 16.02-r2 | 16.02-r2 |
p7zipAlpine:v3.5 |
before 16.02-r2 | 16.02-r2 |
p7zipAlpine:v3.6 |
before 16.02-r2 | 16.02-r2 |
Show 22 moreShow less
| Package | Affected | Fixed |
|---|---|---|
p7zipAlpine:v3.7 |
before 16.02-r2 | 16.02-r2 |
p7zipAlpine:v3.8 |
before 16.02-r2 | 16.02-r2 |
p7zipAlpine:v3.9 |
before 16.02-r2 | 16.02-r2 |
p7zipAzure Linux:3 |
before 16.02-23 | 16.02-23 |
p7zipAzure Linux:2 |
before 16.02-22 | 16.02-22 |
p7zipDebian:12 |
before 16.02+dfsg-5 | 16.02+dfsg-5 |
p7zipDebian:13 |
before 16.02+dfsg-5 | 16.02+dfsg-5 |
p7zipDebian:7 |
before 9.20.1~dfsg.1-4+deb7u3, plus listed versions 9.20.1~dfsg.1-49.20.1~dfsg.1-4+deb7u19.20.1~dfsg.1-4+deb7u2 |
9.20.1~dfsg.1-4+deb7u3 |
p7zipDebian:8 |
before 9.20.1~dfsg.1-4.1+deb8u3, plus listed versions 9.20.1~dfsg.1-4.19.20.1~dfsg.1-4.1+deb8u19.20.1~dfsg.1-4.1+deb8u2 |
9.20.1~dfsg.1-4.1+deb8u3 |
p7zipDebian:9 |
before 16.02+dfsg-3+deb9u1, plus listed versions 16.02+dfsg-3 |
16.02+dfsg-3+deb9u1 |
p7zipMageia:6 |
before 16.02-2.1.mga6 | 16.02-2.1.mga6 |
p7zipopenEuler:20.03-LTS-SP2 |
before 16.02-3.oe1 | 16.02-3.oe1 |
p7zipSUSE:Linux Enterprise Desktop 12 SP2 |
before 9.20.1-7.3.1 | 9.20.1-7.3.1 |
p7zipSUSE:Linux Enterprise Desktop 12 SP3 |
before 9.20.1-7.3.1 | 9.20.1-7.3.1 |
p7zipSUSE:Linux Enterprise Server for Raspberry Pi 12 SP2 |
before 9.20.1-7.3.1 | 9.20.1-7.3.1 |
p7zipSUSE:Linux Enterprise Server 12 SP2 |
before 9.20.1-7.3.1 | 9.20.1-7.3.1 |
p7zipSUSE:Linux Enterprise Server for SAP Applications 12 SP2 |
before 9.20.1-7.3.1 | 9.20.1-7.3.1 |
p7zipSUSE:Linux Enterprise Server 12 SP3 |
before 9.20.1-7.3.1 | 9.20.1-7.3.1 |
p7zipSUSE:Linux Enterprise Server for SAP Applications 12 SP3 |
before 9.20.1-7.3.1 | 9.20.1-7.3.1 |
p7zipUbuntu:14.04:LTS |
before 9.20.1~dfsg.1-4+deb7u3build0.14.04.1, plus listed versions 9.20.1~dfsg.1-49.20.1~dfsg.1-4+deb7u1build0.14.04.19.20.1~dfsg.1-4+deb7u2build0.14.04.1 |
9.20.1~dfsg.1-4+deb7u3build0.14.04.1 |
p7zipUbuntu:16.04:LTS |
before 9.20.1~dfsg.1-4.2ubuntu0.1, plus listed versions 9.20.1~dfsg.1-4.2 |
9.20.1~dfsg.1-4.2ubuntu0.1 |
p7zipopenSUSE:Tumbleweed |
before 16.02-11.3 | 16.02-11.3 |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2017-17969 is a high vulnerability (CVSS 7.8) in 7-zip, published January 30, 2018. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 4.99%, the 92nd percentile. Fixed in p7zip 16.02-r2.
References
debian.org/security/2018/dsa-4104
lists.debian.org/debian-lts-announce/2018/02/msg00003.html
landave.io/2018/01/7-zip-multiple-memory-corruptions-via-rar-and-zip
securitytracker.com/id/1040831
0patch.blogspot.si/2018/02/two-interesting-micropatches-for-7-zip.html
usn.ubuntu.com/3913-1
Show 24 moreShow less
github.com/p7zip-project/p7zip/issues/7
nvd.nist.gov/vuln/detail/CVE-2017-17969
github.com/advisories/GHSA-5mfm-p22h-8c37
security.alpinelinux.org/vuln/CVE-2017-17969
security-tracker.debian.org/tracker/CVE-2017-17969
advisories.mageia.org/MGASA-2018-0123.html
bugs.mageia.org/show_bug.cgi?id=22523
openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2021-1294
nvd.nist.gov/vuln/detail/CVE-2018-5996
nvd.nist.gov/vuln/detail/CVE-2018-10115
nvd.nist.gov/vuln/detail/CVE-2016-9296
suse.com/support/update/announcement/2018/suse-su-20180464-1
bugzilla.suse.com/1077724
bugzilla.suse.com/1077725
bugzilla.suse.com/1077978
bugzilla.suse.com/984650
suse.com/security/cve/CVE-2016-1372
suse.com/security/cve/CVE-2017-17969
suse.com/security/cve/CVE-2018-5996
ubuntu.com/security/CVE-2017-17969
ubuntu.com/security/notices/USN-3913-1
cve.org/CVERecord?id=CVE-2017-17969
ubuntu.com/security/CVE-2016-2335
suse.com/security/cve/CVE-2021-3465