CVE-2017-17969
publishedp7zip: heap-based buffer overflow in 7zip/Compress/ShrinkDecoder.cpp can allow an attacker to write arbitrary data and cause a crash
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| Alpine Linux | v3.10 | p7zip | Fixed | 16.02-r2 | Package fix record |
| Debian | jessie | p7zip | Advisory build | 9.20.1~dfsg.1-4.1+deb8u3 | DSA-4104-1 |
| SUSE / openSUSE | SLE-12-SP2 | p7zipaarch64 | Advisory build | 9.20.1-7.3.1 | SUSE-SU-2018:0464-1 |
| Ubuntu | xenial | p7zip | Advisory build | 9.20.1~dfsg.1-4.2ubuntu0.1 | USN-3913-1 |
| Alpine Linux | v3.11 | p7zip | Fixed | 16.02-r2 | Package fix record |
| Alpine Linux | v3.12 | p7zip | Fixed | 16.02-r2 | Package fix record |
| Alpine Linux | v3.13 | p7zip | Fixed | 16.02-r2 | Package fix record |
Show 31 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Alpine Linux | v3.14 | p7zip | Fixed | 16.02-r2 | Package fix record |
| Alpine Linux | v3.15 | p7zip | Fixed | 16.02-r2 | Package fix record |
| Alpine Linux | v3.16 | p7zip | Fixed | 16.02-r2 | Package fix record |
| Alpine Linux | v3.17 | p7zip | Fixed | 16.02-r2 | Package fix record |
| Alpine Linux | v3.5 | p7zip | Fixed | 16.02-r2 | Package fix record |
| Alpine Linux | v3.6 | p7zip | Fixed | 16.02-r2 | Package fix record |
| Alpine Linux | v3.7 | p7zip | Fixed | 16.02-r2 | Package fix record |
| Alpine Linux | v3.8 | p7zip | Fixed | 16.02-r2 | Package fix record |
| Alpine Linux | v3.9 | p7zip | Fixed | 16.02-r2 | Package fix record |
| Debian | stretch | p7zip | Advisory build | 16.02+dfsg-3+deb9u1 | DSA-4104-1 |
| Debian | wheezy | p7zip | Advisory build | 9.20.1~dfsg.1-4+deb7u3 | DLA-1268-1 |
| SUSE / openSUSE | SLE-12-SP2 | p7zipppc64le | Advisory build | 9.20.1-7.3.1 | SUSE-SU-2018:0464-1 |
| SUSE / openSUSE | SLE-12-SP2 | p7zips390x | Advisory build | 9.20.1-7.3.1 | SUSE-SU-2018:0464-1 |
| SUSE / openSUSE | SLE-12-SP2 | p7zipx86_64 | Advisory build | 9.20.1-7.3.1 | SUSE-SU-2018:0464-1 |
| SUSE / openSUSE | SLE-12-SP3 | p7zipaarch64 | Advisory build | 9.20.1-7.3.1 | SUSE-SU-2018:0464-1 |
| SUSE / openSUSE | SLE-12-SP3 | p7zipppc64le | Advisory build | 9.20.1-7.3.1 | SUSE-SU-2018:0464-1 |
| SUSE / openSUSE | SLE-12-SP3 | p7zips390x | Advisory build | 9.20.1-7.3.1 | SUSE-SU-2018:0464-1 |
| SUSE / openSUSE | SLE-12-SP3 | p7zipx86_64 | Advisory build | 9.20.1-7.3.1 | SUSE-SU-2018:0464-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | p7zipaarch64 | Advisory build | 16.02-11.3 | OPENSUSE-SU-2024:11137-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | p7zipppc64le | Advisory build | 16.02-11.3 | OPENSUSE-SU-2024:11137-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | p7zips390x | Advisory build | 16.02-11.3 | OPENSUSE-SU-2024:11137-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | p7zipx86_64 | Advisory build | 16.02-11.3 | OPENSUSE-SU-2024:11137-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | p7zip-docaarch64 | Advisory build | 16.02-11.3 | OPENSUSE-SU-2024:11137-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | p7zip-docppc64le | Advisory build | 16.02-11.3 | OPENSUSE-SU-2024:11137-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | p7zip-docs390x | Advisory build | 16.02-11.3 | OPENSUSE-SU-2024:11137-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | p7zip-docx86_64 | Advisory build | 16.02-11.3 | OPENSUSE-SU-2024:11137-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | p7zip-fullaarch64 | Advisory build | 16.02-11.3 | OPENSUSE-SU-2024:11137-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | p7zip-fullppc64le | Advisory build | 16.02-11.3 | OPENSUSE-SU-2024:11137-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | p7zip-fulls390x | Advisory build | 16.02-11.3 | OPENSUSE-SU-2024:11137-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | p7zip-fullx86_64 | Advisory build | 16.02-11.3 | OPENSUSE-SU-2024:11137-1 |
| Ubuntu | xenial | p7zip-full | Advisory build | 9.20.1~dfsg.1-4.2ubuntu0.1 | USN-3913-1 |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
Weaknesses
1- n/a
References
7- 1040831 http://www.securitytracker.com/id/1040831
- https://0patch.blogspot.si/2018/02/two-interesting-micropatches-for-7-zip.html
- https://github.com/p7zip-project/p7zip/issues/7
- https://landave.io/2018/01/7-zip-multiple-memory-corruptions-via-rar-and-zip/
- [debian-lts-announce] 20180202 [SECURITY] [DLA 1268-1] p7zip security update https://lists.debian.org/debian-lts-announce/2018/02/msg00003.html
- USN-3913-1 https://usn.ubuntu.com/3913-1/
- DSA-4104 https://www.debian.org/security/2018/dsa-4104
Provider assertions
2mitre · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 8b0411f8635a892b75347c432103d700ccde04e105c631b0dae1425bdcea51be
- Ingested
- 23 Sep 2026, 07:42:22 UTC
- Source record
- Official CVE record