All vulnerabilities

Servers and applications

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.

Severity
Medium 5.0
Published
3 Jul 2012
Last changed
16 Jun 2026
Added to UpHeron
1 Nov 2026
Exploit chance
3.4% in the next 30 daysHigher than 89% of CVEs. EPSS by FIRST, 12 Nov 2026
Weakness
CWE-399
Attack
Over the network · No login needed
Attacker can
Slow it down
CVSS vector
AV:N/AC:L/Au:N/C:N/I:N/A:P
Sources
NVD

Affected software

SoftwareAffected versions
ExpatServers and applications · cpe:a:libexpat_project:libexpat
  • Version 2.0.0
  • Version 1.95.8
  • Version 1.95.7
  • Version 1.95.6
All 9 release lines
  • Every version up to 2.0.1
  • Version 1.95.1
  • Version 1.95.2
  • Version 1.95.4
  • Version 1.95.5
  • Version 1.95.6
  • Version 1.95.7
  • Version 1.95.8
  • Version 2.0.0

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2012-1148
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2012-1148