Skip to content
OpenAdvisories
Unscored CVE-2018-5996 EUVD-2018-17761GHSA-2jr3-p4jr-g977

Insufficient exception handling in the method NCompress::NRar3::CDecoder::Code of 7-Zip before 18.00 and p7zip can lead to multiple memory …

Published Jan 31, 2018 · Updated Jan 10, 2025 · Assigned by mitre

Description

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 13 p7zip-rar 16.02-2 —
Debian 12 p7zip-rar 16.02-2 —
ReleasePackageFixed inAdvisory
Ubuntu 16.04 LTS p7zip-rar No fix yet —
ReleasePackageFixed inAdvisory
SLES 12 SP3 p7zip 9.20.1-7.3.1 SUSE-SU-2018:0464-1
SLES 12 SP2 p7zip 9.20.1-7.3.1 SUSE-SU-2018:0464-1
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 12 SP3 p7zip 9.20.1-7.3.1 SUSE-SU-2018:0464-1
SLES for SAP 12 SP2 p7zip 9.20.1-7.3.1 SUSE-SU-2018:0464-1
ReleasePackageFixed inAdvisory
Alpine v3.17 p7zip 16.02-r3 —
Alpine v3.16 p7zip 16.02-r3 —
Alpine v3.15 p7zip 16.02-r3 —
Alpine v3.14 p7zip 16.02-r3 —
Alpine v3.13 p7zip 16.02-r3 —
Show 8 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.12 p7zip 16.02-r3 —
Alpine v3.11 p7zip 16.02-r3 —
Alpine v3.10 p7zip 16.02-r3 —
Alpine v3.9 p7zip 16.02-r3 —
Alpine v3.8 p7zip 16.02-r3 —
Alpine v3.7 p7zip 16.02-r3 —
Alpine v3.6 p7zip 16.02-r3 —
Alpine v3.5 p7zip 16.02-r3 —

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 p7zip 16.02-23 —
Azure Linux 2 (CBL-Mariner) p7zip 16.02-22 —

Advisories 1

References