CVE-2016-9296
A null pointer dereference bug affects the 16.02 and many old versions of p7zip. A lack of null...
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
7.5
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.
- Record
CVE-2016-9296- CVSS 3.0
- 7.5 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - CVSS 2.0
- 5.0 Medium
AV:N/AC:L/Au:N/C:N/I:N/A:P - Weakness
- CWE-476
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2016-9296- Updated
- 2026-11-02
EUVDEUVD-2016-10107 No score
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.
- Record
EUVD-2016-10107- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-mqw8-2gg2-v87m
7.5
A null pointer dereference bug affects the 16.02 and many old versions of p7zip. A lack of null...
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.
- Record
GHSA-mqw8-2gg2-v87m- CVSS 3.0
- 7.5 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Weakness
- CWE-476
- Updated
- 2026-11-02
OSVALPINE-CVE-2016-9296
7.5
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.
- Record
ALPINE-CVE-2016-9296- CVSS 3.0
- 7.5 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVAZL-35091
7.5
CVE-2016-9296 affecting package p7zip for versions less than 16.02-23
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.
- Record
AZL-35091- CVSS 3.0
- 7.5 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
Show 6 moreShow less
OSVAZL-6782
7.5
CVE-2016-9296 affecting package p7zip for versions less than 16.02-22
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.
- Record
AZL-6782- CVSS 3.0
- 7.5 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSV
7.5
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.
- Record
CVE-2016-9296- CVSS 3.0
- 7.5 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVDEBIAN-CVE-2016-9296
7.5
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.
- Record
DEBIAN-CVE-2016-9296- CVSS 3.0
- 7.5 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/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-2016-9296
7.5
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.
- Record
UBUNTU-CVE-2016-9296- CVSS 3.0
- 7.5 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVopenSUSE-SU-2024:10322-1 No score
p7zip-16.02-2.1 on GA media
These are all security issues fixed in the p7zip-16.02-2.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:10322-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
p7zipAlpine:v3.10 |
before 16.02-r1 | 16.02-r1 |
p7zipAlpine:v3.11 |
before 16.02-r1 | 16.02-r1 |
p7zipAlpine:v3.12 |
before 16.02-r1 | 16.02-r1 |
p7zipAlpine:v3.13 |
before 16.02-r1 | 16.02-r1 |
p7zipAlpine:v3.14 |
before 16.02-r1 | 16.02-r1 |
p7zipAlpine:v3.15 |
before 16.02-r1 | 16.02-r1 |
p7zipAlpine:v3.16 |
before 16.02-r1 | 16.02-r1 |
p7zipAlpine:v3.17 |
before 16.02-r1 | 16.02-r1 |
p7zipAlpine:v3.5 |
before 16.02-r1 | 16.02-r1 |
p7zipAlpine:v3.6 |
before 16.02-r1 | 16.02-r1 |
Show 9 moreShow less
| Package | Affected | Fixed |
|---|---|---|
p7zipAlpine:v3.7 |
before 16.02-r1 | 16.02-r1 |
p7zipAlpine:v3.8 |
before 16.02-r1 | 16.02-r1 |
p7zipAlpine:v3.9 |
before 16.02-r1 | 16.02-r1 |
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-2 | 16.02+dfsg-2 |
p7zipDebian:13 |
before 16.02+dfsg-2 | 16.02+dfsg-2 |
p7zipopenEuler:20.03-LTS-SP2 |
before 16.02-3.oe1 | 16.02-3.oe1 |
p7zipopenSUSE:Tumbleweed |
before 16.02-2.1 | 16.02-2.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected | ||
| 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-2016-9296 is a high vulnerability (CVSS 7.5) in 7-zip P7zip, published November 12, 2016. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 7.02%, the 94th percentile. Fixed in p7zip 16.02-r1.
References
securityfocus.com/bid/94294
sourceforge.net/p/p7zip/bugs/185
sourceforge.net/p/p7zip/discussion/383043/thread/648d34db
github.com/yangke/7zip-null-pointer-dereference
nvd.nist.gov/vuln/detail/CVE-2016-9296
github.com/advisories/GHSA-mqw8-2gg2-v87m
Show 12 moreShow less
security.alpinelinux.org/vuln/CVE-2016-9296
security-tracker.debian.org/tracker/CVE-2016-9296
openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2021-1294
nvd.nist.gov/vuln/detail/CVE-2017-17969
nvd.nist.gov/vuln/detail/CVE-2018-5996
nvd.nist.gov/vuln/detail/CVE-2018-10115
ubuntu.com/security/CVE-2016-9296
cve.org/CVERecord?id=CVE-2016-9296
suse.com/security/cve/CVE-2015-1038
suse.com/security/cve/CVE-2016-2334
suse.com/security/cve/CVE-2016-2335
suse.com/security/cve/CVE-2016-9296