Every CVE Search/ Get API key

CVE-2017-17969

Heap-based buffer overflow in the NCompress::NShrink::CDecoder::CodeReal method in 7-Zip before...

7.8 HighFix available

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

4.99%Up 1.1 points since Apr 14, 2021
90%50%10%1%

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 HighCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS 2.0
6.8 MediumAV: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 HighCVSS: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 HighCVSS: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 HighCVSS: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 HighCVSS: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 HighCVSS: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 HighCVSS: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 HighCVSS: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 HighCVSS: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

Affected packages
PackageAffectedFixed
p7zip
Alpine:v3.10
before 16.02-r2
16.02-r2
p7zip
Alpine:v3.11
before 16.02-r2
16.02-r2
p7zip
Alpine:v3.12
before 16.02-r2
16.02-r2
p7zip
Alpine:v3.13
before 16.02-r2
16.02-r2
p7zip
Alpine:v3.14
before 16.02-r2
16.02-r2
p7zip
Alpine:v3.15
before 16.02-r2
16.02-r2
p7zip
Alpine:v3.16
before 16.02-r2
16.02-r2
p7zip
Alpine:v3.17
before 16.02-r2
16.02-r2
p7zip
Alpine:v3.5
before 16.02-r2
16.02-r2
p7zip
Alpine:v3.6
before 16.02-r2
16.02-r2
Show 22 moreShow less
Affected packages
PackageAffectedFixed
p7zip
Alpine:v3.7
before 16.02-r2
16.02-r2
p7zip
Alpine:v3.8
before 16.02-r2
16.02-r2
p7zip
Alpine:v3.9
before 16.02-r2
16.02-r2
p7zip
Azure Linux:3
before 16.02-23
16.02-23
p7zip
Azure Linux:2
before 16.02-22
16.02-22
p7zip
Debian:12
before 16.02+dfsg-5
16.02+dfsg-5
p7zip
Debian:13
before 16.02+dfsg-5
16.02+dfsg-5
p7zip
Debian: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
p7zip
Debian: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
p7zip
Debian:9
before 16.02+dfsg-3+deb9u1, plus listed versions
16.02+dfsg-3
16.02+dfsg-3+deb9u1
p7zip
Mageia:6
before 16.02-2.1.mga6
16.02-2.1.mga6
p7zip
openEuler:20.03-LTS-SP2
before 16.02-3.oe1
16.02-3.oe1
p7zip
SUSE:Linux Enterprise Desktop 12 SP2
before 9.20.1-7.3.1
9.20.1-7.3.1
p7zip
SUSE:Linux Enterprise Desktop 12 SP3
before 9.20.1-7.3.1
9.20.1-7.3.1
p7zip
SUSE:Linux Enterprise Server for Raspberry Pi 12 SP2
before 9.20.1-7.3.1
9.20.1-7.3.1
p7zip
SUSE:Linux Enterprise Server 12 SP2
before 9.20.1-7.3.1
9.20.1-7.3.1
p7zip
SUSE:Linux Enterprise Server for SAP Applications 12 SP2
before 9.20.1-7.3.1
9.20.1-7.3.1
p7zip
SUSE:Linux Enterprise Server 12 SP3
before 9.20.1-7.3.1
9.20.1-7.3.1
p7zip
SUSE:Linux Enterprise Server for SAP Applications 12 SP3
before 9.20.1-7.3.1
9.20.1-7.3.1
p7zip
Ubuntu: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
p7zip
Ubuntu: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
p7zip
openSUSE:Tumbleweed
before 16.02-11.3
16.02-11.3

History

History
RecordedChangedSources
aliasesEUVD
first indexedCVE 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

Show 24 moreShow less
MoveEnter Open