DescriptionA 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 library and in 7z applications, will cause a crash and a denial of service when decoding malformed 7z files.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more)
NVD severitymedium
Debian Bugs844344

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
p7zip (PTS)stretch (security), stretch16.02+dfsg-3+deb9u1fixed
bookworm, sid, bullseye16.02+dfsg-8fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
p7zipsourcewheezy(not affected)
p7zipsourcejessie(not affected)


[jessie] - p7zip <not-affected> (Vulnerable code with potential NULL pointer dereference introduced later)
[wheezy] - p7zip <not-affected> (Vulnerable code with potential NULL pointer dereference introduced later)
no security impact

Search for package or bug name: Reporting problems