7.5
CWE
119
Advisory Published
Updated

CVE-2012-1162: Buffer Overflow

First published: Thu Jul 12 2012(Updated: )

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."

Credit: secalert@redhat.com

Affected SoftwareAffected VersionHow to fix
libzip=0.10

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2012-1162?

    CVE-2012-1162 is classified as a medium severity vulnerability due to its potential to cause application crashes and execute arbitrary code.

  • How do I fix CVE-2012-1162?

    To mitigate CVE-2012-1162, users should upgrade to a version of libzip that is 0.10 or higher, as newer versions contain patches for this vulnerability.

  • What type of vulnerability is CVE-2012-1162?

    CVE-2012-1162 is a heap-based buffer overflow vulnerability that may be exploited via specially crafted zip archive files.

  • Who is affected by CVE-2012-1162?

    CVE-2012-1162 affects users of libzip version 0.10, which is utilized in various applications for zip file handling.

  • What can attackers do exploit CVE-2012-1162?

    Attackers can exploit CVE-2012-1162 to cause a denial of service by crashing applications and potentially executing arbitrary code.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203