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.
CVE-2012-1148
- No confirmed exploitation signals yet
A fix is available — apply it.
- CVSS v3
- —
- EG Score
- 0.0(none)
- EPSS
- 88.0%
- KEV
- Not listed
Published
July 3, 2012
Last Modified
April 29, 2026
References (36)
- secalert@redhathttp://expat.cvs.sourceforge.net/viewvc/expat/expat/lib/xmlparse.c?r1=1.166&r2=1.167
- secalert@redhathttp://lists.apple.com/archives/security-announce/2015/Dec/msg00005.html
- secalert@redhathttp://rhn.redhat.com/errata/RHSA-2012-0731.html
- secalert@redhathttp://rhn.redhat.com/errata/RHSA-2016-0062.html
- secalert@redhathttp://rhn.redhat.com/errata/RHSA-2016-2957.html
- secalert@redhathttp://secunia.com/advisories/49504
- secalert@redhathttp://secunia.com/advisories/51024
- secalert@redhathttp://secunia.com/advisories/51040
- secalert@redhathttp://sourceforge.net/projects/expat/files/expat/2.1.0/
- secalert@redhathttp://sourceforge.net/tracker/?func=detail&atid=110127&aid=2958794&group_id=10127
- secalert@redhathttp://www.debian.org/security/2012/dsa-2525
- secalert@redhathttp://www.mandriva.com/security/advisories?name=MDVSA-2012:041
- secalert@redhathttp://www.securityfocus.com/bid/52379
- secalert@redhathttp://www.securitytracker.com/id/1034344
- secalert@redhathttp://www.ubuntu.com/usn/USN-1527-1
Patch Availability(8)
| Vendor / Ecosystem | Fixed in / Patch | Released | Source |
|---|---|---|---|
| ubuntu | libxmlrpc-core-c3 (1.16.33-3.1ubuntu5.1) @ precise | 2026-05-29 | ubuntu |
| ubuntu | libexpat1 (2.0.1-7ubuntu3.11.10.1) @ oneiric | 2026-05-29 | ubuntu |
| ubuntu | libxmltok1t64 (1.2-4.1ubuntu3.2) @ oracular | 2026-05-29 | ubuntu |
| ubuntu | python2.4 (2.4.5-1ubuntu4.4) @ hardy | 2026-05-29 | ubuntu |
| ubuntu | python2.5 (2.5.2-2ubuntu6.2) @ hardy | 2026-05-29 | ubuntu |
| ubuntu | libxmltok1-dev (1.2-3ubuntu0.16.04.1~esm2) @ xenial | 2026-05-29 | ubuntu |
| redhat | expat | 2016-12-15 | redhat |
| redhat | expat-0:2.0.1-11.el6_2 | 2012-06-13 | redhat |
Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.
All Vendor Advisories
(8)
Every vendor that published an advisory referencing this CVE — pulled from our cve_vendor_advisories aggregation. Click any row for the vendor's original advisory page.
- Red HatRHSA-2012:0731MODERATE2012-03-03
RHSA-2012:0731 — Moderate
- Red HatRHSA-2016:2957MODERATE2012-03-03
RHSA-2016:2957 — Moderate
- UbuntuUSN-1527-1LOW
Expat vulnerabilities
- UbuntuUSN-1527-2LOW
XML-RPC for C and C++ vulnerabilities
- UbuntuUSN-1613-1LOW
Python 2.5 vulnerabilities
- UbuntuUSN-1613-2LOW
Python 2.4 vulnerabilities
- UbuntuUSN-5455-1LOW
xmltok library vulnerabilities
- UbuntuUSN-7307-1LOW
xmltok library vulnerability
Data Freshness Timeline
(refreshed 10× in last 7d / 43× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-07-06 16:23 UTCEPSS rescore
- 2026-07-06 02:19 UTCEPSS rescore
- 2026-07-06 02:19 UTCEPSS rescore
- 2026-07-05 14:29 UTCOSV refresh
- 2026-07-05 02:26 UTCEPSS rescore
- 2026-07-04 06:27 UTCEPSS rescore
- 2026-07-02 14:01 UTCEPSS rescore
- 2026-07-01 15:02 UTCEPSS rescore
- 2026-06-30 23:19 UTCEPSS rescore
- 2026-06-30 23:19 UTCEPSS rescore
- 2026-06-29 14:02 UTCEPSS rescore
- 2026-06-28 14:03 UTCEPSS rescore
- 2026-06-28 04:53 UTCEPSS rescore
- 2026-06-28 04:53 UTCEPSS rescore
- 2026-06-27 03:05 UTCEPSS rescore
- 2026-06-27 03:05 UTCEPSS rescore
- 2026-06-25 13:46 UTCEPSS rescore
- 2026-06-25 13:46 UTCEPSS rescore
- 2026-06-24 14:02 UTCEPSS rescore
- 2026-06-24 14:02 UTCEPSS rescore
- 2026-06-23 21:30 UTCEPSS rescore
- 2026-06-22 14:22 UTCEPSS rescore
- 2026-06-22 14:22 UTCEPSS rescore
- 2026-06-21 14:53 UTCEPSS rescore
- 2026-06-21 01:56 UTCEPSS rescore
Show 61 moreShow fewer
- 2026-06-21 01:56 UTCEPSS rescore
- 2026-06-18 17:49 UTCEPSS rescore
- 2026-06-18 17:49 UTCEPSS rescore
- 2026-06-17 17:49 UTCEPSS rescore
- 2026-06-17 17:49 UTCEPSS rescore
- 2026-06-17 01:43 UTCOSV refresh
- 2026-06-16 17:49 UTCEPSS rescore
- 2026-06-16 17:49 UTCEPSS rescore
- 2026-06-15 17:44 UTCEPSS rescore
- 2026-06-14 23:14 UTCEPSS rescore
- 2026-06-14 23:14 UTCEPSS rescore
- 2026-06-13 22:57 UTCEPSS rescore
- 2026-06-12 23:08 UTCEPSS rescore
- 2026-06-11 13:56 UTCEPSS rescore
- 2026-06-10 22:14 UTCEPSS rescore
- 2026-06-10 13:18 UTCEPSS rescore
- 2026-06-08 14:14 UTCEPSS rescore
- 2026-06-08 14:14 UTCEPSS rescore
- 2026-06-07 15:22 UTCEPSS rescore
- 2026-06-07 15:22 UTCEPSS rescore
- 2026-06-06 13:45 UTCEPSS rescore
- 2026-06-06 13:45 UTCEPSS rescore
- 2026-06-05 22:44 UTCEPSS rescore
- 2026-06-05 22:44 UTCEPSS rescore
- 2026-06-05 06:08 UTCEPSS rescore
- 2026-06-05 06:08 UTCEPSS rescore
- 2026-06-04 13:09 UTCEPSS rescore
- 2026-06-02 20:10 UTCEPSS rescore
- 2026-06-02 20:10 UTCEPSS rescore
- 2026-06-01 13:49 UTCEPSS rescore
- 2026-05-31 22:28 UTCEPSS rescore
- 2026-05-31 22:28 UTCEPSS rescore
- 2026-05-31 00:14 UTCEPSS rescore
- 2026-05-31 00:14 UTCEPSS rescore
- 2026-05-29 13:41 UTCEPSS rescore
- 2026-05-29 04:06 UTCEG score recompute
- 2026-05-29 04:06 UTCVendor advisory
- 2026-05-29 04:05 UTCGHSA enrichment
- 2026-05-28 13:42 UTCEPSS rescore
- 2026-05-28 13:42 UTCEPSS rescore
- 2026-05-27 13:38 UTCEPSS rescore
- 2026-05-27 13:38 UTCEPSS rescore
- 2026-05-26 13:41 UTCEPSS rescore
- 2026-05-26 13:41 UTCEPSS rescore
- 2026-05-26 07:16 UTCEPSS rescore
- 2026-05-26 07:16 UTCEPSS rescore
- 2026-05-26 07:16 UTCEPSS rescore
- 2026-05-24 16:43 UTCEPSS rescore
- 2026-05-23 04:35 UTCOSV refresh
- 2026-05-22 21:15 UTCEPSS rescore
- 2026-05-22 21:15 UTCEPSS rescore
- 2026-05-22 21:15 UTCEPSS rescore
- 2026-05-21 22:39 UTCEPSS rescore
- 2026-05-20 22:37 UTCEPSS rescore
- 2026-05-20 22:37 UTCEPSS rescore
- 2026-05-20 22:37 UTCEPSS rescore
- 2026-05-20 11:21 UTCEPSS rescore
- 2026-05-20 11:21 UTCEPSS rescore
- 2026-05-20 11:21 UTCEPSS rescore
- 2026-05-18 21:29 UTCEPSS rescore
- 2026-05-18 21:29 UTCEPSS rescore
Frequently asked(4)
What is CVE-2012-1148?
When was CVE-2012-1148 disclosed?
Is CVE-2012-1148 actively exploited?
How do I remediate CVE-2012-1148?
Dependency Blast Radius
Explore the affected products and dependency analysis for CVE-2012-1148
Is Your Infrastructure Affected by CVE-2012-1148?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.