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.
The product dereferences a pointer that it expects to be valid but is NULL.
Link | Tags |
---|---|
http://www.securityfocus.com/bid/94294 | third party advisory vdb entry |
https://sourceforge.net/p/p7zip/bugs/185/ | third party advisory issue tracking |
https://sourceforge.net/p/p7zip/discussion/383043/thread/648d34db/ | third party advisory exploit |
https://github.com/yangke/7zip-null-pointer-dereference | patch third party advisory issue tracking |