Out-of-Bounds Affecting p7zip-rar package, versions *


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
4.48% (89th 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-UBUNTU1604-P7ZIPRAR-1175707
  • published22 Oct 2025
  • disclosed31 Jan 2018

Introduced: 31 Jan 2018

CVE-2018-5996  (opens in a new tab)
CWE-119  (opens in a new tab)

How to fix?

There is no fixed version for Ubuntu:16.04 p7zip-rar.

NVD Description

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

Insufficient exception handling in the method NCompress::NRar3::CDecoder::Code of 7-Zip before 18.00 and p7zip can lead to multiple memory corruptions within the PPMd code, allows remote attackers to cause a denial of service (segmentation fault) or execute arbitrary code via a crafted RAR archive.