Heap-based buffer overflow in the _zip_readcdir function in zip_open.c in libzip 0.10 allows remote attackers to cause a denial of service (application crash) and possibly execute arbitrary code via a zip archive with the number of directories set to 0, related to an "incorrect loop construct."
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 |
---|---|
http://nih.at/listarchive/libzip-discuss/msg00252.html | exploit mailing list |
http://www.openwall.com/lists/oss-security/2012/03/21/2 | exploit mailing list |
http://www.mandriva.com/security/advisories?name=MDVSA-2012:034 | vendor advisory |
http://www.nih.at/libzip/NEWS.html | |
http://www.openwall.com/lists/oss-security/2012/03/29/11 | mailing list |
http://www.gentoo.org/security/en/glsa/glsa-201203-23.xml | vendor advisory |