CVE-2012-1148Libexpat Project Libexpat
Medium 5.0 No auth needed
Follow: this CVE · Libexpat Project · Libexpat Project Libexpat We alert you by email or Slack (account required).
- Priority
- 45
- CVSS 2.0
- 5.0
- EPSS
- 3.4% probability of exploitation in 30 days · percentile 90
- Auth required
- No
- Published
- Jul 3, 2012
- Updated
- Jun 16, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-399
- Vector
AV:N/AC:L/Au:N/C:N/I:N/A:P
What happens
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.
What to do
- Apply the vendor's security update for Libexpat.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| libexpat_project | libexpat | ≤ 2.0.1 |
| libexpat_project | libexpat | 1.95.1 |
| libexpat_project | libexpat | 1.95.2 |
| libexpat_project | libexpat | 1.95.4 |
| libexpat_project | libexpat | 1.95.5 |
| libexpat_project | libexpat | 1.95.6 |
| libexpat_project | libexpat | 1.95.7 |
| libexpat_project | libexpat | 1.95.8 |
| libexpat_project | libexpat | 2.0.0 |
| apple | mac_os_x | ≤ 10.11.1 |
Official sources
References
Links published by the sources. Open them with care.
- expat.cvs.sourceforge.net Patch
- lists.apple.com
- rhn.redhat.com
- rhn.redhat.com
- rhn.redhat.com
- secunia.com Vendor Advisory
- secunia.com
- secunia.com
- sourceforge.net
- sourceforge.net
- www.debian.org
- www.mandriva.com
- www.securityfocus.com
- www.securitytracker.com
- www.ubuntu.com
- www.ubuntu.com
- www.ubuntu.com
- support.apple.com