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


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
7.02% (94th 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-ECHOLATEST-P7ZIP-17966149
  • published14 Jul 2026
  • 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 Echo:latest 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 Echo. See How to fix? for Echo:latest 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.