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.
What to do
Fixed builds are available from Alpine, Debian: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 18.04 | p7zip | Not affected vulnerable_code_not_present | ||
| Ubuntu 16.04 | p7zip | Not affected vulnerable_code_not_present | ||
| Ubuntu 14.04 | p7zip | Not affected vulnerable_code_not_present | ||
| Debian 13 | p7zip | Fixed | 16.02+dfsg-2 | DEBIAN-CVE-2016-9296 |
| Debian 12 | p7zip | Fixed | 16.02+dfsg-2 | DEBIAN-CVE-2016-9296 |
| Alpine Linux 3.17 | p7zip | Fixed | 16.02-r1 | ALPINE-CVE-2016-9296 |
| Alpine Linux 3.16 | p7zip | Fixed | 16.02-r1 | ALPINE-CVE-2016-9296 |
| Alpine Linux 3.15 | p7zip | Fixed | 16.02-r1 | ALPINE-CVE-2016-9296 |
| Alpine Linux 3.14 | p7zip | Fixed | 16.02-r1 | ALPINE-CVE-2016-9296 |
| Alpine Linux 3.13 | p7zip | Fixed | 16.02-r1 | ALPINE-CVE-2016-9296 |
| Alpine Linux 3.12 | p7zip | Fixed | 16.02-r1 | ALPINE-CVE-2016-9296 |
| Alpine Linux 3.11 | p7zip | Fixed | 16.02-r1 | ALPINE-CVE-2016-9296 |
| Alpine Linux 3.10 | p7zip | Fixed | 16.02-r1 | ALPINE-CVE-2016-9296 |
| Alpine Linux 3.9 | p7zip | Fixed | 16.02-r1 | ALPINE-CVE-2016-9296 |
| Alpine Linux 3.8 | p7zip | Fixed | 16.02-r1 | ALPINE-CVE-2016-9296 |
| Alpine Linux 3.7 | p7zip | Fixed | 16.02-r1 | ALPINE-CVE-2016-9296 |
| Alpine Linux 3.6 | p7zip | Fixed | 16.02-r1 | ALPINE-CVE-2016-9296 |
| Alpine Linux 3.5 | p7zip | Fixed | 16.02-r1 | ALPINE-CVE-2016-9296 |
References
- http://www.securityfocus.com/bid/94294
- https://sourceforge.net/p/p7zip/bugs/185/
- https://sourceforge.net/p/p7zip/discussion/383043/thread/648d34db/
- https://github.com/yangke/7zip-null-pointer-dereference
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.