7.8high

CVE-2018-5996

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

Published 8 y ago · modified 4 mo ago · JSON

CVSS
7.8
v3.0 · NVD
CISA KEV
No
not known exploited
EPSS
2.9%
percentile 87%
Public exploits
0
none known

Summary

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.

Exploit prediction (EPSS)

2.85% probability of exploitation in the next 30 days, higher than 87% of all scored CVEs.

CVSS scores

Assigned byVersionScoreVector
NVD3.07.8CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
NVD2.06.8AV:N/AC:M/Au:N/C:P/I:P/A:P

Classification

Weakness
  • CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer

References

  • landave.io /2018/01/7-zip-multiple-memory-corruptions-via-rar-and-zip/ · x_refsource_MISC, x_transferred
  • securitytracker.com /id/1040831 · vdb-entry, x_refsource_SECTRACK, x_transferred
  • 0patch.blogspot.si /2018/02/two-interesting-micropatches-for-7-zip.html · x_refsource_MISC, x_transferred
  • github.com /p7zip-project/p7zip/issues/8
  • github.com /p7zip-project/p7zip/issues/32

Sources

vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.