CVE-2015-8317 json
The xmlParseXMLDecl function in parser.c in libxml2 before 2.9.3 allows context-dependent attackers to obtain sensitive information via an…
published 2015-12-15 10 y ago modified 2026-06-17 4 mo ago also EUVD-2015-8201
- cvss
- 5.0
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 5.9%
- EPSS 5.9% chance of exploitation in 30 days, percentile 93%
- public exploits
- 0
- none known
Summary
The xmlParseXMLDecl function in parser.c in libxml2 before 2.9.3 allows context-dependent attackers to obtain sensitive information via an (1) unterminated encoding value or (2) incomplete XML declaration in XML data, which triggers an out-of-bounds heap read.
Patch / fix
- libxml2 Debian 14, Debian 13, Debian 12 2.9.2+zdfsg1-4
debian advisories DEBIAN-CVE-2015-8317
- libxml2 Ubuntu 14.04 LTS 2.9.1+dfsg1-3ubuntu4.6
ubuntu advisories UBUNTU-CVE-2015-8317
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
- libxml2 RHEL 7 2.9.1-6.el7_2.2
- libxml2-python RHEL 7 2.9.1-6.el7_2.2
- libxml2 RHEL 6 2.7.6-20.el6_7.1
- libxml2-python RHEL 6 2.7.6-20.el6_7.1
red hat advisories RHSA-2015:2550RHSA-2015:2549
- libxml2 SLES for SAP 12 SP1, SLES for SAP 12, SLES 12 SP1 +5 more 2.9.1-13.1
- python-libxml2 SLES for SAP 12 SP1, SLES for SAP 12, SLES 12 SP1 +3 more 2.9.1-13.1
- libxml2 SLES for SAP 11 SP4, SLES for SAP 11 SP3, SLES 11 SP4 +6 more 2.7.6-0.34.1
- libxml2-python SLES for SAP 11 SP4, SLES for SAP 11 SP3, SLES 11 SP4 +4 more 2.7.6-0.34.4
suse advisories SUSE-SU-2016:0049-1SUSE-SU-2016:0030-1
- rubygem-nokogiri openSUSE Tumbleweed 1.18.9-1.4
- rubygem-nokogiri openSUSE Tumbleweed 1.18.2-1.1
- rubygem-nokogiri openSUSE Tumbleweed 1.15.5-1.5
- rubygem-nokogiri openSUSE Tumbleweed 1.6.8.1-1.3
- rubygem-nokogiri openSUSE Tumbleweed 1.13.3-1.1
- ruby3.2-rubygem-nokogiri openSUSE Tumbleweed 1.13.9-1.7
opensuse advisories openSUSE-SU-2026:10356-1openSUSE-SU-2025:14697-1openSUSE-SU-2024:14174-1openSUSE-SU-2024:10549-1openSUSE-SU-2024:11912-1openSUSE-SU-2024:13165-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-2015-8317 updated cvss 4.3
libxml2: Out-of-bounds heap read when parsing file with unfinished xml declaration
-
Red Hat Enterprise Linux 5 libxml2 Red Hat JBoss Enterprise Web Server 2 libxml2affected: no fix planned “Will not fix”
-
Red Hat Enterprise Linux Client (v. 7) libxml2 2.9.1-6.el7_2.2, libxml2-python 2.9.1-6.el7_2.2 Red Hat Enterprise Linux Client Optional (v. 7) libxml2-devel 2.9.1-6.el7_2.2, libxml2-static 2.9.1-6.el7_2.2, libxml2-debuginfo 2.9.1-6.el7_2.2 Red Hat Enterprise Linux ComputeNode (v. 7) libxml2 2.9.1-6.el7_2.2, libxml2-python 2.9.1-6.el7_2.2 Red Hat Enterprise Linux ComputeNode Optional (v. 7) libxml2-devel 2.9.1-6.el7_2.2, libxml2-static 2.9.1-6.el7_2.2, libxml2-debuginfo 2.9.1-6.el7_2.2fixed: vendor fix RHSA-2015:2550
-
Red Hat Enterprise Linux Desktop (v. 6) libxml2 2.7.6-20.el6_7.1, libxml2-python 2.7.6-20.el6_7.1 Red Hat Enterprise Linux Desktop Optional (v. 6) libxml2-devel 2.7.6-20.el6_7.1, libxml2-static 2.7.6-20.el6_7.1, libxml2-debuginfo 2.7.6-20.el6_7.1 Red Hat Enterprise Linux HPC Node (v. 6) libxml2 2.7.6-20.el6_7.1, libxml2-python 2.7.6-20.el6_7.1 Red Hat Enterprise Linux HPC Node Optional (v. 6) libxml2-devel 2.7.6-20.el6_7.1, libxml2-static 2.7.6-20.el6_7.1, libxml2-debuginfo 2.7.6-20.el6_7.1 Red Hat Enterprise Linux Server (v. 6) libxml2 2.7.6-20.el6_7.1, libxml2-python 2.7.6-20.el6_7.1fixed: vendor fix RHSA-2015:2549
-
Red Hat Enterprise Linux Server (v. 7) libxml2 2.9.1-6.el7_2.2, libxml2-python 2.9.1-6.el7_2.2fixed: vendor fix RHSA-2015:2550
-
Red Hat Enterprise Linux Server Optional (v. 6) libxml2-static 2.7.6-20.el6_7.1, libxml2-debuginfo 2.7.6-20.el6_7.1fixed: vendor fix RHSA-2015:2549
-
Red Hat Enterprise Linux Server Optional (v. 7) libxml2-static 2.9.1-6.el7_2.2, libxml2-debuginfo 2.9.1-6.el7_2.2fixed: vendor fix RHSA-2015:2550
-
Red Hat Enterprise Linux Workstation (v. 6) libxml2 2.7.6-20.el6_7.1, libxml2-python 2.7.6-20.el6_7.1fixed: vendor fix RHSA-2015:2549
-
Red Hat Enterprise Linux Workstation (v. 7) libxml2 2.9.1-6.el7_2.2, libxml2-python 2.9.1-6.el7_2.2fixed: vendor fix RHSA-2015:2550
show 3 moreshow fewer
-
Red Hat Enterprise Linux Workstation Optional (v. 6) libxml2-static 2.7.6-20.el6_7.1, libxml2-debuginfo 2.7.6-20.el6_7.1fixed: vendor fix RHSA-2015:2549
-
Red Hat Enterprise Linux Workstation Optional (v. 7) libxml2-static 2.9.1-6.el7_2.2, libxml2-debuginfo 2.9.1-6.el7_2.2fixed: vendor fix RHSA-2015:2550
-
Red Hat JBoss Web Server 3.0fixed: vendor fix RHSA-2016:1089
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
5.86% chance of exploitation in the next 30 days, higher than 93% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=1281930 referenced PoC, tagged "exploit" by a source, unverified
- bugzilla.gnome.org https://bugzilla.gnome.org/show_bug.cgi?id=751631 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:P/I:N/A:N |
Classification
- Weakness
-
- CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
References
- git.gnome.org /browse/libxml2/commit/?id=9aa37588ee78a06ca1379a9d9356eab16686099c
- git.gnome.org /browse/libxml2/commit/?id=709a952110e98621c9b78c4f26462a9d8333102e
-
bugzilla.redhat.com
/show_bug.cgi?id=1281930
exploit, issue-tracking
-
bugzilla.gnome.org
/show_bug.cgi?id=751631
exploit, issue-tracking
-
lists.opensuse.org
/opensuse-updates/2016-01/msg00031.html
vendor-advisory
-
debian.org
/security/2015/dsa-3430
vendor-advisory, third-party-advisory
-
lists.apple.com
/archives/security-announce/2016/Jul/msg00003.html
vendor-advisory
-
lists.apple.com
/archives/security-announce/2016/Jul/msg00002.html
vendor-advisory
-
lists.apple.com
/archives/security-announce/2016/Jul/msg00001.html
vendor-advisory
-
rhn.redhat.com
/errata/RHSA-2016-1089.html
vendor-advisory
-
ubuntu.com
/usn/USN-2834-1
vendor-advisory, third-party-advisory
-
lists.apple.com
/archives/security-announce/2016/Jul/msg00000.html
vendor-advisory
-
lists.apple.com
/archives/security-announce/2016/Jul/msg00005.html
vendor-advisory
-
rhn.redhat.com
/errata/RHSA-2015-2549.html
vendor-advisory, third-party-advisory
-
marc.info
/?l=bugtraq&m=145382616617563&w=2
vendor-advisory, third-party-advisory
-
lists.opensuse.org
/opensuse-updates/2015-12/msg00120.html
vendor-advisory
- support.apple.com /HT206901
-
bugzilla.gnome.org
/show_bug.cgi?id=751603
issue-tracking
- oracle.com /technetwork/topics/security/linuxbulletinoct2015-2719645.html
-
securityfocus.com
/bid/91826
vdb-entry
-
securitytracker.com
/id/1034243
vdb-entry
- blog.fuzzing-project.org /28-Libxml2-Several-out-of-bounds-reads.html
-
securityfocus.com
/bid/77681
vdb-entry
-
openwall.com
/lists/oss-security/2015/11/22/3
mailing-list
-
h20566.www2.hpe.com
/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c04944172
third-party-advisory
- oracle.com /technetwork/topics/security/bulletinjan2016-2867206.html
-
openwall.com
/lists/oss-security/2015/11/21/1
mailing-list
- support.apple.com /HT206905
- support.apple.com /HT206903
- support.apple.com /HT206902
- support.apple.com /HT206904
- support.apple.com /HT206899
Sources
- CVE List CVE-2015-8317
- NVD CVE-2015-8317
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.