Heap-based buffer overflow in the NCompress::NShrink::CDecoder::CodeReal method in 7-Zip before 18.00 and p7zip allows remote attackers to cause a denial of service (out-of-bounds write) or potentially execute arbitrary code via a crafted ZIP archive.
The product writes data past the end, or before the beginning, of the intended buffer.
Link | Tags |
---|---|
https://www.debian.org/security/2018/dsa-4104 | third party advisory vendor advisory |
https://lists.debian.org/debian-lts-announce/2018/02/msg00003.html | third party advisory mailing list |
https://landave.io/2018/01/7-zip-multiple-memory-corruptions-via-rar-and-zip/ | third party advisory exploit technical description |
http://www.securitytracker.com/id/1040831 | vdb entry |
https://0patch.blogspot.si/2018/02/two-interesting-micropatches-for-7-zip.html | |
https://usn.ubuntu.com/3913-1/ | vendor advisory |
https://github.com/p7zip-project/p7zip/issues/7 |