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.
The product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary. This may result in read or write operations on unexpected memory locations that could be linked to other variables, data structures, or internal program data.
Link | Tags |
---|---|
https://landave.io/2018/01/7-zip-multiple-memory-corruptions-via-rar-and-zip/ | exploit third party advisory technical description |
http://www.securitytracker.com/id/1040831 | vdb entry |
https://0patch.blogspot.si/2018/02/two-interesting-micropatches-for-7-zip.html | |
https://github.com/p7zip-project/p7zip/issues/8 | |
https://github.com/p7zip-project/p7zip/issues/32 |