Vulnerabilities · 2012 · Libexpat Project
CVE-2012-1148
Libexpat Project Libexpat vulnerability
Memory leak in the poolGrow function in expat/lib/xmlparse.c in expat before 2.1.0 allows context-dependent attackers to cause a denial of service (memory consumption) via a large number of crafted XML files that cause improperly-handled reallocation failures when expanding entities.
Affected products
Libexpat, Mac Os X. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Libexpat Project Libexpat runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- secunia.com/advisories/49504 · Vendor Advisory
- expat.cvs.sourceforge.net/viewvc/expat/expat/lib/xmlparse.c?r1=1.166&r2=1.167 · Patch
- lists.apple.com/archives/security-announce/2015/Dec/msg00005.html
- rhn.redhat.com/errata/RHSA-2012-0731.html
- rhn.redhat.com/errata/RHSA-2016-0062.html
- rhn.redhat.com/errata/RHSA-2016-2957.html
- secunia.com/advisories/51024
- secunia.com/advisories/51040
- nvd.nist.gov/vuln/detail/CVE-2012-1148
- cve.org/CVERecord?id=CVE-2012-1148
More vulnerabilities in Libexpat Project products
CVE-2026-24515CVE-2025-66382CVE-2025-59375CVE-2024-50602CVE-2024-45492CVE-2024-45491CVE-2024-45490CVE-2024-28757All 41
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.