CVE-2012-1162 Memory corruption in n/a
Remote attackers can cause a crash or execute code via a crafted zip archive in libzip, requiring user interaction to open the file.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2012-1162?
CVE-2012-1162 is a high-severity memory corruption vulnerability in n/a, published on 12 Jul 2012. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
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."
Weakness: CWE-119
Which versions are affected by CVE-2012-1162?
It affects 1 product.
Products include Nih Libzip.
How do I fix CVE-2012-1162?
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-2012-1162 being exploited?
There is no known exploitation of CVE-2012-1162 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as DEBIAN-CVE-2012-1162, GHSA-m749-r8jf-5h5g.