Skip to content
Fencer Intel
medium 6.8

CVE-2012-5134 json

Heap-based buffer underflow in the xmlParseAttValueComplex function in parser.c in libxml2 2.9.0 and earlier, as used in Google Chrome befo…

published 2012-11-28 13 y ago modified 2026-06-16 4 mo ago also EUVD-2012-5057

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

Summary

Heap-based buffer underflow in the xmlParseAttValueComplex function in parser.c in libxml2 2.9.0 and earlier, as used in Google Chrome before 23.0.1271.91 and other products, allows remote attackers to cause a denial of service or possibly execute arbitrary code via crafted entities in an XML document.

Patch / fix

  • google chrome 23.0.1271.91
  • xmlsoft libxml2 2.9.1
  • libxml2 Debian 14, Debian 13, Debian 12 2.8.0+dfsg1-7

debian advisories DEBIAN-CVE-2012-5134

  • mingw32-libxml2 RHEL 6 2.7.6-6.el6_3
  • libxml2 RHEL 5 2.6.26-2.1.15.el5_8.6
  • libxml2 RHEL 6 2.7.6-8.el6_3.4
  • libxml2-python RHEL 5 2.6.26-2.1.15.el5_8.6
  • libxml2-python RHEL 6 2.7.6-8.el6_3.4

red hat advisories RHSA-2013:0217RHSA-2012:1512

  • chromium openSUSE Tumbleweed 55.0.2883.75-3.1
  • libxml2 openSUSE Tumbleweed 2.9.4-1.22
  • python-libxml2 openSUSE Tumbleweed 2.9.4-1.4
  • chromium openSUSE Tumbleweed 113.0.5672.92-1.1

opensuse advisories openSUSE-SU-2024:10171-1openSUSE-SU-2024:10192-1openSUSE-SU-2024:10228-1openSUSE-SU-2024:12948-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-5134 updated cvss 6.8

libxml2: Heap-buffer-underflow in xmlParseAttValueComplex

  • Red Hat Enterprise Linux (v. 5 server) libxml2 2.6.26-2.1.15.el5_8.6, libxml2-python 2.6.26-2.1.15.el5_8.6 Red Hat Enterprise Linux Desktop (v. 5 client) libxml2 2.6.26-2.1.15.el5_8.6, libxml2-python 2.6.26-2.1.15.el5_8.6 Red Hat Enterprise Linux Desktop (v. 6) libxml2 2.7.6-8.el6_3.4, libxml2-python 2.7.6-8.el6_3.4 Red Hat Enterprise Linux Desktop Optional (v. 6) libxml2 2.7.6-8.el6_3.4, mingw32-libxml2 2.7.6-6.el6_3, libxml2-python 2.7.6-8.el6_3.4 Red Hat Enterprise Linux HPC Node (v. 6) libxml2 2.7.6-8.el6_3.4, libxml2-python 2.7.6-8.el6_3.4 Red Hat Enterprise Linux HPC Node Optional (v. 6) libxml2 2.7.6-8.el6_3.4, mingw32-libxml2 2.7.6-6.el6_3, libxml2-python 2.7.6-8.el6_3.4
    +5 more products
    Red Hat Enterprise Linux Server (v. 6) libxml2 2.7.6-8.el6_3.4, libxml2-python 2.7.6-8.el6_3.4 Red Hat Enterprise Linux Server Optional (v. 6) libxml2 2.7.6-8.el6_3.4, mingw32-libxml2 2.7.6-6.el6_3, libxml2-python 2.7.6-8.el6_3.4 Red Hat Enterprise Linux Workstation (v. 6) libxml2 2.7.6-8.el6_3.4, libxml2-python 2.7.6-8.el6_3.4 Red Hat Enterprise Linux Workstation Optional (v. 6) libxml2 2.7.6-8.el6_3.4, mingw32-libxml2 2.7.6-6.el6_3, libxml2-python 2.7.6-8.el6_3.4 Red Hat RHEL Desktop Workstation (v. 5 client) libxml2 2.6.26-2.1.15.el5_8.6, libxml2-python 2.6.26-2.1.15.el5_8.6
    fixed: vendor fix RHSA-2012:1512

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

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

CVSS scores

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

Classification

Weakness
  • CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
Technology feeds

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.

CPEs and fixed versions use Anchore's correction of NVD's data: Consolidate version ranges.