CVE-2016-9296 json
A null pointer dereference bug affects the 16.02 and many old versions of p7zip.
published 2016-11-12 9 y ago modified 2026-06-17 4 mo ago also EUVD-2016-10107
- cvss
- 7.5
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 7.0%
- EPSS 7.0% chance of exploitation in 30 days, percentile 94%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- p7zip Debian 13, Debian 12 16.02+dfsg-2
debian advisories DEBIAN-CVE-2016-9296
- p7zip openSUSE Tumbleweed 16.02-2.1
opensuse advisories openSUSE-SU-2024:10322-1
- p7zip Alpine 3.17, Alpine 3.16, Alpine 3.15 +10 more 16.02-r1
alpine advisories ALPINE-CVE-2016-9296
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- p7zip Azure Linux 3.0 16.02-23
- p7zip CBL-Mariner 2.0 16.02-22
azure linux advisories AZL-35091AZL-6782
Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2016-9296 updated cvss 3.3
p7zip: Null pointer dereference in 7zIn.cpp
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
7.02% chance of exploitation in the next 30 days, higher than 94% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- sourceforge.net https://sourceforge.net/p/p7zip/discussion/383043/thread/648d34db/ referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
Classification
- Weakness
-
- CWE-476 NULL Pointer Dereference
References
-
github.com
/yangke/7zip-null-pointer-dereference
issue-tracking, patch, third-party-advisory
-
sourceforge.net
/p/p7zip/discussion/383043/thread/648d34db/
exploit, third-party-advisory
-
securityfocus.com
/bid/94294
vdb-entry, third-party-advisory
-
sourceforge.net
/p/p7zip/bugs/185/
issue-tracking, third-party-advisory
Sources
- CVE List CVE-2016-9296
- NVD CVE-2016-9296
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.