Live threats

All CVEs / Libexpat Project

CVE-2012-1148Libexpat Project Libexpat

Medium 5.0 No auth needed

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Libexpat.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
libexpat_projectlibexpat≤ 2.0.1
libexpat_projectlibexpat1.95.1
libexpat_projectlibexpat1.95.2
libexpat_projectlibexpat1.95.4
libexpat_projectlibexpat1.95.5
libexpat_projectlibexpat1.95.6
libexpat_projectlibexpat1.95.7
libexpat_projectlibexpat1.95.8
libexpat_projectlibexpat2.0.0
applemac_os_x≤ 10.11.1

Official sources

References

Links published by the sources. Open them with care.