High severity · published Nov 12, 2016
CVE-2016-9296
A null pointer dereference bug affects the 16.02 and many old versions of p7zip
7.5
CVSS
7%
EPSS
No
On KEV
Description
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.
CVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
None
Integrity
None
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)7.0% · higher than 94% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
P7
P7zip · 7-zip
16.02 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2016-9296
CVE.org
https://www.cve.org/CVERecord?id=CVE-2016-9296
Third Party Advisory
http://www.securityfocus.com/bid/94294
Issue Tracking
https://github.com/yangke/7zip-null-pointer-dereference
Issue Tracking
https://sourceforge.net/p/p7zip/bugs/185/
Exploit
https://sourceforge.net/p/p7zip/discussion/383043/thread/648d34db/
More from P7zip
9.8
CVE-2026-111497
Out-of-Bounds Write in Google Brotli Decoder
7.8
CVE-2022-47069
p7zip 16.02 was discovered to contain a heap-buffer-overflow vulnerability via the function NArchive::NZip::CInArchive::FindCd(bool) at CPP/7zip/Archive/Zip/ZipIn.cpp
7.8
CVE-2018-5996
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…
7.8
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…
–
CVE-2015-1038
p7zip 9.20.1 allows remote attackers to write to arbitrary files via a symlink attack in an archive
