Vulnerabilities · 2016 · 7-zip
CVE-2016-9296
7-zip P7zip vulnerability
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.
Affected products
P7zip. The exact versions are in the references.
What to do now
- Check your exposureFind out whether 7-zip P7zip runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/yangke/7zip-null-pointer-dereference · Patch
- www.securityfocus.com/bid/94294 · Third Party Advisory
- sourceforge.net/p/p7zip/bugs/185/ · Third Party Advisory
- sourceforge.net/p/p7zip/discussion/383043/thread/648d34db/ · Exploit
- nvd.nist.gov/vuln/detail/CVE-2016-9296
- cve.org/CVERecord?id=CVE-2016-9296
More vulnerabilities in 7-zip products
CVE-2025-55188CVE-2025-53817CVE-2025-53816CVE-2025-11001CVE-2025-0411CVE-2024-11612CVE-2024-11477CVE-2023-40481All 24
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.