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.
Metrics
CVSS 3.0 7.5/10
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
References
- http://www.securityfocus.com/bid/94294Third Party Advisory, VDB Entry
- https://github.com/yangke/7zip-null-pointer-dereferenceIssue Tracking, Patch, Third Party Advisory
- https://sourceforge.net/p/p7zip/bugs/185/Issue Tracking, Third Party Advisory
- https://sourceforge.net/p/p7zip/discussion/383043/thread/648d34db/Exploit, Third Party Advisory
- http://www.securityfocus.com/bid/94294Third Party Advisory, VDB Entry
- https://github.com/yangke/7zip-null-pointer-dereferenceIssue Tracking, Patch, Third Party Advisory
- https://sourceforge.net/p/p7zip/bugs/185/Issue Tracking, Third Party Advisory
- https://sourceforge.net/p/p7zip/discussion/383043/thread/648d34db/Exploit, Third Party Advisory
Timeline
- Published
- Nov 12, 2016
- Last modified
- Jun 17, 2026
- NVD status
- Modified