NULL Pointer Dereference Affecting p7zip package, versions <16.02+dfsg-2


Severity

Recommended
low

Based on Debian security rating.

Threat Intelligence

EPSS
5.81% (93rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DEBIAN13-P7ZIP-5691917
  • published12 Nov 2016
  • disclosed12 Nov 2016

Introduced: 12 Nov 2016

CVE-2016-9296  (opens in a new tab)
CWE-476  (opens in a new tab)

How to fix?

Upgrade Debian:13 p7zip to version 16.02+dfsg-2 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream p7zip package and not the p7zip package as distributed by Debian. See How to fix? for Debian:13 relevant fixed versions and status.

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.