CVE-2012-1148

CVE-2012-1148 is a medium-severity vulnerability in Libexpat Project Libexpat with a CVSS 2.0 base score of 5.0. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-399.

Key facts

Description

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.

Frequently asked questions

What is CVE-2012-1148?
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.
How severe is CVE-2012-1148?
CVE-2012-1148 has a CVSS 2.0 base score of 5.0, rated medium severity.
Is CVE-2012-1148 being actively exploited?
It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 4% (88th percentile), an estimate of the probability of exploitation in the next 30 days.
What products are affected by CVE-2012-1148?
CVE-2012-1148 primarily affects Libexpat Project Libexpat. In total, 10 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
How do I fix CVE-2012-1148?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
When was CVE-2012-1148 published?
CVE-2012-1148 was published on 2012-07-03 and last updated on 2026-06-16.

References

Affected products (10)

More vulnerabilities in Libexpat Project Libexpat

All CVEs affecting Libexpat Project Libexpat →

Other CWE-399 (Resource Management Errors) vulnerabilities

Browse all CWE-399 (Resource Management Errors) vulnerabilities →