CVE-2018-5996 Memory corruption in n/a
Remote attackers can execute arbitrary code or cause denial of service via crafted RAR archives due to memory corruption in 7-Zip and p7zip.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2018-5996?
CVE-2018-5996 is a high-severity memory corruption vulnerability in Debian Debian Linux, published on 31 Jan 2018. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official 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.
Weakness: CWE-119
Which versions are affected by CVE-2018-5996?
It affects 3 products.
Products include 7-Zip 7-Zip, 7-Zip P7zip, Debian Debian Linux.
How do I fix CVE-2018-5996?
Upgrade to a fixed version.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2018-5996 being exploited?
There is no known exploitation of CVE-2018-5996 in the wild and no public exploit code.
Other vulnerabilities in Debian Debian Linux
Sources
Also known as ALPINE-CVE-2018-5996, AZL-35093, AZL-6784, DEBIAN-CVE-2018-5996, GHSA-2jr3-p4jr-g977, UBUNTU-CVE-2018-5996.