NULL pointer dereference in 7-Zip P7zip
CVE-2016-9296
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS 0.070, 94.3th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- 7-Zip P7zip — versions 16.02
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 2 other repositories (andir/nixos-issue-db-example, yangke/7zip-null-pointer-dereference). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- www.securityfocus.com/bid/94294 (Third Party Advisory, VDB Entry, vdb-entry)
- sourceforge.net/p/p7zip/bugs/185/ (Third Party Advisory, Issue Tracking)
- sourceforge.net/p/p7zip/discussion/383043/thread/648d34db/ (Exploit, Third Party Advisory)
- github.com/yangke/7zip-null-pointer-dereference (Patch, Third Party Advisory, Issue Tracking)