Skip to content
Fencer Intel
medium 5.0

CVE-2012-1148 json

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…

published 2012-07-03 14 y ago modified 2026-06-16 4 mo ago also EUVD-2012-1182

cvss
5.0
version 2.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
3.4%
EPSS 3.4% chance of exploitation in 30 days, percentile 89%
public exploits
0
none known

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.

Patch / fix

  • expat Debian 14, Debian 13, Debian 12 2.1.0~beta3-1
  • xmlrpc-c Debian 14, Debian 13, Debian 12 1.16.33-3.2

debian advisories DEBIAN-CVE-2012-1148

  • libxmltok Ubuntu Pro 16.04 LTS 1.2-3ubuntu0.16.04.1~esm2
  • libxmltok Ubuntu Pro 18.04 LTS 1.2-4ubuntu0.18.04.1~esm5
  • libxmltok Ubuntu Pro 20.04 LTS 1.2-4ubuntu0.20.04.1~esm5
  • libxmltok Ubuntu Pro 22.04 LTS 1.2-4ubuntu0.22.04.1~esm5
  • libxmltok Ubuntu Pro 24.04 LTS 1.2-4.1ubuntu2.24.0.4.1+esm3

ubuntu advisories UBUNTU-CVE-2012-1148

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • expat RHEL 5 1.95.8-11.el5_8
  • expat RHEL 6 2.0.1-11.el6_2

red hat advisories RHSA-2012:0731

  • expat openSUSE Tumbleweed 2.2.0-3.1

opensuse advisories openSUSE-SU-2024:10077-1

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2012-1148 updated cvss 7.5

expat: Memory leak in poolGrow

  • Red Hat Directory Server 8 expat
    affected: no fix available
  • Red Hat Enterprise Linux 4 expat Red Hat Enterprise Linux 5 xmlrpc-c Red Hat Enterprise Linux 6 compat-expat1, mingw32-expat
    affected: no fix planned “Will not fix”
  • Red Hat JBoss Core Services expat Red Hat JBoss Enterprise Application Platform 6 expat Red Hat JBoss Enterprise Web Server 2 expat
    affected: no fix available
  • Red Hat JBoss Enterprise Web Server 3 expat
    affected: no fix available “Fix deferred”
  • Red Hat Enterprise Linux (v. 5 server) expat 1.95.8-11.el5_8 Red Hat Enterprise Linux Desktop (v. 5 client) expat 1.95.8-11.el5_8 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 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
    +2 more products
    Red Hat Enterprise Linux Server (v. 6) expat 2.0.1-11.el6_2 Red Hat Enterprise Linux Workstation (v. 6) expat 2.0.1-11.el6_2
    fixed: vendor fix RHSA-2012:0731
  • Red Hat JBoss Core Services
    fixed: vendor fix RHSA-2016:2957
  • Red Hat RHEL Desktop Workstation (v. 5 client) expat 1.95.8-11.el5_8
    fixed: vendor fix RHSA-2012:0731

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

3.43% chance of exploitation in the next 30 days, higher than 89% of all scored CVEs (FIRST EPSS, 2026-11-09).

CVSS scores

assigned by version score vector
NVD 2.0 5.0 AV:N/AC:L/Au:N/C:N/I:N/A:P

Classification

Weakness
  • CWE-399 Resource Management Errors

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.