Back to CVE catalog
CVE-2012-1148

Memory leak in poolGrow function in expat before 2.1.0

Multiple products

At a glance

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.

Source description · CVE List / CNA

System impact

Attack complexityLow
ConfidentialityNone
IntegrityNone
AvailabilityHigh

CVSS summary v3.0

7.5High
Published:
Updated:
EPSS:
3.43%
Exploited in attacks:
Not confirmed
Ransomware campaigns:
Not confirmed
Attack vector:
Network

Affected software

Vendor, product and affected version ranges.

Vendor, product and affected versions
Vendor:libexpat_projectlibexpatAffected versions:
≤ 2.0.1Show full version range for libexpat
1.95.11.95.21.95.41.95.51.95.61.95.71.95.82.0.0
Vendor:Applemac os xAffected versions:
≤ 10.11.1
Vendor:redhatcompat-expat1
Environments (1)
  • cpe:/o:redhat:enterprise_linux:6
Affected versions:
Range not specifiedShow full version range for compat-expat1
  • Other versions are affected by default; consult the source for exceptions.
Vendor:redhatmingw32-expat
Environments (1)
  • cpe:/o:redhat:enterprise_linux:6
Affected versions:
Range not specifiedShow full version range for mingw32-expat
  • Other versions are affected by default; consult the source for exceptions.
Vendor:redhatexpat
Environments (1)
  • cpe:/o:redhat:enterprise_linux:6
Affected versions:
< 0:2.0.1-11.el6_2
Vendor:redhatexpat-devel
Environments (1)
  • cpe:/o:redhat:enterprise_linux:6
Affected versions:
< 0:2.0.1-11.el6_2
Vendor:Canonicallibxmltok1
Environments (1)
  • bionic
Affected versions:
< 1.2-4ubuntu0.18.04.1~esm5
Vendor:Canonicallibxmltok1
Environments (1)
  • focal
Affected versions:
< 1.2-4ubuntu0.20.04.1~esm5
Vendor:Canonicallibxmltok1
Environments (1)
  • jammy
Affected versions:
< 1.2-4ubuntu0.22.04.1~esm5
Vendor:Canonicallibxmltok1t64
Environments (1)
  • noble
Affected versions:
< 1.2-4.1ubuntu2.24.0.4.1+esm3

1–10 of 120 · Page 1 of 12

CVSS scores and metrics8
Red Hat · Red Hat VEX (adp)Primary7.5 / 10HighCVSS 3.0Details
Attack complexity
Low
Confidentiality
None
Integrity
None
Availability
High
Attack vector
Network
Privileges required
Not required
User interaction
Not required
Scope
Unchanged

Source vector

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
alas · Wazuh CTI (adp)7.5 / 10HighCVSS 3.0Details
Attack complexity
Low
Confidentiality
None
Integrity
None
Availability
High
Attack vector
Network
Privileges required
Not required
User interaction
Not required
Scope
Unchanged

Source vector

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
redhat · Wazuh CTI (adp)7.5 / 10HighCVSS 3.0Details
Attack complexity
Low
Confidentiality
None
Integrity
None
Availability
High
Attack vector
Network
Privileges required
Not required
User interaction
Not required
Scope
Unchanged

Source vector

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
[email protected] · NVD (Primary)5.0 / 10MediumCVSS 2.0Details
Attack complexity
Low
Confidentiality
None
Integrity
None
Availability
Partial
Attack vector
Network
Authentication
Not required

Source vector

AV:N/AC:L/Au:N/C:N/I:N/A:P
nvd · Wazuh CTI (cna)5.0 / 10MediumCVSS 2.0Details
Attack complexity
Low
Confidentiality
None
Integrity
None
Availability
Partial
Attack vector
Network
Authentication
Not required

Source vector

AV:N/AC:L/Au:N/C:N/I:N/A:P
redhat · Wazuh CTI (adp)5.0 / 10MediumCVSS 2.0Details
Attack complexity
Low
Confidentiality
None
Integrity
None
Availability
Partial
Attack vector
Network
Authentication
Not required

Source vector

AV:N/AC:L/Au:N/C:N/I:N/A:P
alas · Wazuh CTI (adp)5.0 / 10MediumCVSS 2.0Details
Attack complexity
Low
Confidentiality
None
Integrity
None
Availability
Partial
Attack vector
Network
Authentication
Not required

Source vector

AV:N/AC:L/Au:N/C:N/I:N/A:P
Red Hat · Red Hat VEX (adp)5.0 / 10MediumCVSS 2.0Details
Attack complexity
Low
Confidentiality
None
Integrity
None
Availability
Partial
Attack vector
Network
Authentication
Not required

Source vector

AV:N/AC:L/Au:N/C:N/I:N/A:P

CVSS measures severity; EPSS estimates exploitation probability. Lack of confirmed attacks does not mean lack of risk.

Sources and advisories41

This product uses the NVD API but is not endorsed or certified by the NVD. CVE® records © The MITRE Corporation, reproduced under the CVE Terms of Use. Data sources and licences