Memory leak in the poolGrow function in expat/lib/xmlparse.c in expat before 2.1.0 allows…
Priority LOW 29CWE-399Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- — Not recorded in CVSS 2.0
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · Partial
- Fix status
- Partial Red Hat: 10 fixed, 8 without a fix
Attack profile from CVSS 2.0 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-399 and the CVSS impact.
Summary
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.
Why it matters now
EPSS 0.0343 89th percentileScored 2026-11-07
Fix Partial Red Hat: 2 advisoriesRed Hat: 10 fixed, 8 without a fix
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
CPE configurations NVD · 10
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:libexpat_project:libexpat:*:*:*:*:*:*:*:* | up to 2.0.1 | Vulnerable | libexpat project |
| cpe:2.3:a:libexpat_project:libexpat:1.95.1:*:*:*:*:*:*:* | 1.95.1 | Vulnerable | libexpat project |
| cpe:2.3:a:libexpat_project:libexpat:1.95.2:*:*:*:*:*:*:* | 1.95.2 | Vulnerable | libexpat project |
| cpe:2.3:a:libexpat_project:libexpat:1.95.4:*:*:*:*:*:*:* | 1.95.4 | Vulnerable | libexpat project |
| cpe:2.3:a:libexpat_project:libexpat:1.95.5:*:*:*:*:*:*:* | 1.95.5 | Vulnerable | libexpat project |
| cpe:2.3:a:libexpat_project:libexpat:1.95.6:*:*:*:*:*:*:* | 1.95.6 | Vulnerable | libexpat project |
| cpe:2.3:a:libexpat_project:libexpat:1.95.7:*:*:*:*:*:*:* | 1.95.7 | Vulnerable | libexpat project |
| cpe:2.3:a:libexpat_project:libexpat:1.95.8:*:*:*:*:*:*:* | 1.95.8 | Vulnerable | libexpat project |
| cpe:2.3:a:libexpat_project:libexpat:2.0.0:*:*:*:*:*:*:* | 2.0.0 | Vulnerable | libexpat project |
| cpe:2.3:o:apple:mac_os_x:*:*:*:*:*:*:*:* | up to 10.11.1 | Vulnerable | Apple |
- cpe:2.3:a:libexpat_project:libexpat:*:*:*:*:*:*:*:* Versions up to 2.0.1 Vulnerable ·libexpat project
- cpe:2.3:a:libexpat_project:libexpat:1.95.1:*:*:*:*:*:*:* Versions 1.95.1 Vulnerable ·libexpat project
- cpe:2.3:a:libexpat_project:libexpat:1.95.2:*:*:*:*:*:*:* Versions 1.95.2 Vulnerable ·libexpat project
- cpe:2.3:a:libexpat_project:libexpat:1.95.4:*:*:*:*:*:*:* Versions 1.95.4 Vulnerable ·libexpat project
- cpe:2.3:a:libexpat_project:libexpat:1.95.5:*:*:*:*:*:*:* Versions 1.95.5 Vulnerable ·libexpat project
- cpe:2.3:a:libexpat_project:libexpat:1.95.6:*:*:*:*:*:*:* Versions 1.95.6 Vulnerable ·libexpat project
- cpe:2.3:a:libexpat_project:libexpat:1.95.7:*:*:*:*:*:*:* Versions 1.95.7 Vulnerable ·libexpat project
- cpe:2.3:a:libexpat_project:libexpat:1.95.8:*:*:*:*:*:*:* Versions 1.95.8 Vulnerable ·libexpat project
- cpe:2.3:a:libexpat_project:libexpat:2.0.0:*:*:*:*:*:*:* Versions 2.0.0 Vulnerable ·libexpat project
- cpe:2.3:o:apple:mac_os_x:*:*:*:*:*:*:*:* Versions up to 10.11.1 Vulnerable ·Apple
Remediation
Red Hat 2 advisories
- RHSA-2016:2957 Released 2016-12-15 · Red Hat rating ImportantRed Hat JBoss Core Services Apache HTTP 2.4.23 Release
- Red Hat JBoss Core Services
- RHSA-2012:0731 Released 2012-06-13 · Red Hat rating Moderateexpat security update
- RHEL Desktop Workstation (v. 5 client) expat-1.95.8-11.el5_8, expat-devel-1.95.8-11.el5_8, expat-devel-1.95.8-11.el5_8.i386
- Red Hat Enterprise Linux (v. 5 server) expat-1.95.8-11.el5_8, expat-1.95.8-11.el5_8.i386, expat-1.95.8-11.el5_8.ia64 +5
- Red Hat Enterprise Linux Desktop (v. 5 client) expat-1.95.8-11.el5_8, expat-1.95.8-11.el5_8.i386
- Red Hat Enterprise Linux Desktop (v. 6) expat-2.0.1-11.el6_2
- Red Hat Enterprise Linux Desktop Optional (v. 6) expat-2.0.1-11.el6_2, expat-devel-2.0.1-11.el6_2
- Red Hat Enterprise Linux HPC Node (v. 6) expat-2.0.1-11.el6_2
- Red Hat Enterprise Linux HPC Node Optional (v. 6) expat-2.0.1-11.el6_2, expat-devel-2.0.1-11.el6_2
- Red Hat Enterprise Linux Server (v. 6) expat-2.0.1-11.el6_2, expat-2.0.1-11.el6_2.ppc, expat-devel-2.0.1-11.el6_2 +1
- Red Hat Enterprise Linux Workstation (v. 6) expat-2.0.1-11.el6_2, expat-devel-2.0.1-11.el6_2
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Directory Server 8 | Affected | No fix yet |
| Red Hat Enterprise Linux 4 | Affected | No fix planned: Will not fix |
| Red Hat Enterprise Linux 5 | Affected | No fix planned: Will not fix |
| Red Hat Enterprise Linux 6 | Affected | No fix planned: Will not fix |
| Red Hat JBoss Core Services | Affected | No fix yet |
| Red Hat JBoss Enterprise Application Platform 6 | Affected | No fix yet |
| Red Hat JBoss Enterprise Web Server 2 | Affected | No fix yet |
| Red Hat JBoss Enterprise Web Server 3 | Affected | No fix yet: Fix deferred |
| RHEL Desktop Workstation (v. 5 client) | Fixed | RHSA-2012:0731 |
| Red Hat Enterprise Linux (v. 5 server) | Fixed | RHSA-2012:0731 |
| Red Hat Enterprise Linux Desktop (v. 5 client) | Fixed | RHSA-2012:0731 |
| Red Hat Enterprise Linux Desktop (v. 6) | Fixed | RHSA-2012:0731 |
| Red Hat Enterprise Linux Desktop Optional (v. 6) | Fixed | RHSA-2012:0731 |
| Red Hat Enterprise Linux HPC Node (v. 6) | Fixed | RHSA-2012:0731 |
| Red Hat Enterprise Linux HPC Node Optional (v. 6) | Fixed | RHSA-2012:0731 |
| Red Hat Enterprise Linux Server (v. 6) | Fixed | RHSA-2012:0731 |
| Red Hat Enterprise Linux Workstation (v. 6) | Fixed | RHSA-2012:0731 |
| Red Hat JBoss Core Services | Fixed | RHSA-2016:2957 |
Timeline
- 2026-10-02 Threatist record created from CVE-2012-1148
- 2026-10-03 Alias added: GHSA-hm5h-j86h-82pc
References
Advisory 9
Sources
- CVE-2012-1148 · CVE Program
- CVE-2012-1148 · NVD
- FIRST EPSS
- GHSA-hm5h-j86h-82pc · GitHub Advisory Database · CC BY 4.0
- CVE-2012-1148 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences