cve.bz

CVE-2018-5996

7.8 highExploit referenceEPSS 2.9%

High (7.8). EPSS 2.9% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.0

7.8 high
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS
2.9% (unchanged from 2.9% a week ago; 2.9% 30 days ago) estimated probability of exploitation activity in the next 30 days; 87th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2018-5996 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2018-5996?via=ask-ai-copy and https://cve.bz/cve/CVE-2018-5996?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2018-5996 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
7-zip:7-zipbefore 18.00
7-zip:p7zipbefore 18.0
debian:debian_linux7.0
debian:debian_linux8.0
debian:debian_linux9.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13p7zip-rar16.02-2DEBIAN-CVE-2018-5996
Ubuntu16.04:LTSp7zip-rarno fix listedUBUNTU-CVE-2018-5996
SUSELinux Enterprise Desktop 12 SP2, Linux Enterprise Desktop 12 SP3, Linux Enterprise Server 12 SP2 and 4 morep7zip9.20.1-7.3.1SUSE-SU-2018:0464-1
Alpinev3.5, v3.6, v3.7 and 10 morep7zip16.02-r3ALPINE-CVE-2018-5996
Azure Linux2p7zip16.02-22AZL-6784
Azure Linux3p7zip16.02-23AZL-35093

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · Alpine.

Red Hat

Red Hat rates this Important.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8p7zipNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2018-5996.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-119 (12).

References

Check your stackJSON