expat: Memory leak in poolGrow
Published Jul 3, 2012
7.5
HIGHCVSS 3.0
EPSS 3.56%
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.
Affected products
No data.
Configuration 1
- ≤ 2.0.1
- 1.95.1
- 1.95.2
- 1.95.4
- 1.95.5
- 1.95.6
- 1.95.7
- 1.95.8
- 2.0.0
No data.
Red Hat Enterprise Linux 5
expat-0:1.95.8-11.el5_8
Fixed · RHSA-2012:0731
Red Hat Enterprise Linux 6
expat-0:2.0.1-11.el6_2
Fixed · RHSA-2012:0731
Red Hat JBoss Core Services
expat
Fixed · RHSA-2016:2957
Red Hat Directory Server 8
expat
Affected
Red Hat Enterprise Linux 4
expat
Will not fix
Red Hat Enterprise Linux 5
xmlrpc-c
Will not fix
Red Hat Enterprise Linux 6
compat-expat1
Will not fix
Red Hat Enterprise Linux 6
mingw32-expat
Will not fix
Red Hat JBoss Core Services
expat
Affected
Red Hat JBoss Enterprise Application Platform 6
expat
Affected
Red Hat JBoss Enterprise Web Server 2
expat
Affected
Red Hat JBoss Enterprise Web Server 3
expat
Fix deferred
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 5 | expat-0:1.95.8-11.el5_8 | Fixed | RHSA-2012:0731 |
| Red Hat Enterprise Linux 6 | expat-0:2.0.1-11.el6_2 | Fixed | RHSA-2012:0731 |
| Red Hat JBoss Core Services | expat | Fixed | RHSA-2016:2957 |
| Red Hat Directory Server 8 | expat | Affected | n/a |
| Red Hat Enterprise Linux 4 | expat | Will not fix | n/a |
| Red Hat Enterprise Linux 5 | xmlrpc-c | Will not fix | n/a |
| Red Hat Enterprise Linux 6 | compat-expat1 | Will not fix | n/a |
| Red Hat Enterprise Linux 6 | mingw32-expat | Will not fix | n/a |
| Red Hat JBoss Core Services | expat | Affected | n/a |
| Red Hat JBoss Enterprise Application Platform 6 | expat | Affected | n/a |
| Red Hat JBoss Enterprise Web Server 2 | expat | Affected | n/a |
| Red Hat JBoss Enterprise Web Server 3 | expat | Fix deferred | n/a |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
AV:N/AC:L/Au:N/C:N/I:N/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2022–2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (12 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 3.56% (0.03565) | 88.97th | v5 (v2026.06.15) |
| Jun 15, 2026 | 3.56% (0.03565) | 87.82th | v5 (v2026.06.15) |
| Mar 30, 2025 | 1.78% (0.01782) | 81.06th | v4 (v2025.03.14) |
| Mar 29, 2025 | 4.02% (0.04018) | 80.47th | v4 (v2025.03.14) |
| Mar 17, 2025 | 1.83% (0.01831) | 81.72th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.91% (0.00908) | 83.47th | v3 (v2023.03.01) |
| May 6, 2024 | 0.91% (0.00908) | 82.68th | v3 (v2023.03.01) |
| Jul 28, 2023 | 0.91% (0.00908) | 80.68th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.87% (0.00866) | 79.82th | v3 (v2023.03.01) |
| Mar 6, 2023 | 2.69% (0.02686) | 82.85th | v2 (v2022.01.01) |
| Apr 1, 2022 | 2.69% (0.02686) | 81.17th | v2 (v2022.01.01) |
| Feb 4, 2022 | 2.69% (0.02686) | 62.66th | v2 (v2022.01.01) |
References (22)
- http://expat.cvs.sourceforge.net/viewvc/expat/expat/lib/xmlparse.c?r1=1.166&r2=1.167 x_refsource_CONFIRMPatch
- http://lists.apple.com/archives/security-announce/2015/Dec/msg00005.html vendor-advisoryx_refsource_APPLE
- http://rhn.redhat.com/errata/RHSA-2012-0731.html vendor-advisoryx_refsource_REDHAT
- http://rhn.redhat.com/errata/RHSA-2016-0062.html vendor-advisoryx_refsource_REDHAT
- http://rhn.redhat.com/errata/RHSA-2016-2957.html vendor-advisoryx_refsource_REDHAT
- http://secunia.com/advisories/49504 third-party-advisoryx_refsource_SECUNIAVendor Advisory
- http://secunia.com/advisories/51024 third-party-advisoryx_refsource_SECUNIA
- http://secunia.com/advisories/51040 third-party-advisoryx_refsource_SECUNIA
- http://sourceforge.net/projects/expat/files/expat/2.1.0/ x_refsource_CONFIRM
- http://sourceforge.net/tracker/?func=detail&atid=110127&aid=2958794&group_id=10127 x_refsource_CONFIRM
- http://www.debian.org/security/2012/dsa-2525 vendor-advisoryx_refsource_DEBIAN
- http://www.mandriva.com/security/advisories?name=MDVSA-2012:041 vendor-advisoryx_refsource_MANDRIVA
- http://www.securityfocus.com/bid/52379 vdb-entryx_refsource_BID
- http://www.securitytracker.com/id/1034344 vdb-entryx_refsource_SECTRACK
- http://www.ubuntu.com/usn/USN-1527-1 vendor-advisoryx_refsource_UBUNTU
- http://www.ubuntu.com/usn/USN-1613-1 vendor-advisoryx_refsource_UBUNTU
- http://www.ubuntu.com/usn/USN-1613-2 vendor-advisoryx_refsource_UBUNTU
- https://access.redhat.com/security/cve/CVE-2012-1148 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=801648 Issue Tracking
- https://nvd.nist.gov/vuln/detail/CVE-2012-1148
- https://support.apple.com/HT205637 x_refsource_CONFIRM
- https://www.cve.org/CVERecord?id=CVE-2012-1148
Change history (0)
No recorded changes yet.