CVE-2012-1148

medium
Published 2012-07-03 ยท Modified 2026-04-29
CVSS v3
โ€”
CVSS v4 NEW
โ€”
not yet in upstream
VIR risk
5.0

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.

Predictions

Exploit likelihood
20%
Patch ETA
โ€”

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

No mitigations published for this CVE yet.

The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ€” if you've already worked around this in production โ€” publish your fix to the community-verified tier.

โœš Propose a mitigation on Community โ†’ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here with source_tier=community-verified.

OS impact

OSVersionStatusFixed in
debian debianbookwormfixed2.1.0~beta3-1
debian debianbullseyefixed2.1.0~beta3-1
debian debianforkyfixed2.1.0~beta3-1
debian debiansidfixed2.1.0~beta3-1
debian debiantrixiefixed2.1.0~beta3-1
macos macosaffected

Application impact

VendorProductVersionsFixed
libexpat_projectlibexpat{"endIncluding":"2.0.1"}
libexpat_projectlibexpat1.95.1
libexpat_projectlibexpat1.95.2
libexpat_projectlibexpat1.95.4
libexpat_projectlibexpat1.95.5
libexpat_projectlibexpat1.95.6
libexpat_projectlibexpat1.95.7
libexpat_projectlibexpat1.95.8
libexpat_projectlibexpat2.0.0

References

CWEs

CWE-399

Community-verified mitigations for this CVE will appear above when contributors publish them.

Verify integrity in audit chain (admin only). AS-IS.