The xmlParseXMLDecl function in parser.c in libxml2 before 2.9.3 allows context-dependent…
Priority LOW 32CWE-119Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- — Not recorded in CVSS 2.0
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- Partial · None · None
- Fix status
- Partial Red Hat: 17 fixed, 2 without a fix
Attack profile from CVSS 2.0 · NVD. Fix status from CNA and Red Hat.
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.
Why it matters now
EPSS 0.05859 93rd percentileScored 2026-11-07
Public exploit Yes 2 exploit referencesTagged by NVD
Fix Partial Red Hat: 3 advisoriesRed Hat: 17 fixed, 2 without a fix
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
CPE configurations NVD · 13
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:* | 7.0 | Vulnerable | Debian |
| cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* | 8.0 | Vulnerable | Debian |
| cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:lts:*:*:* | 12.04 | Vulnerable | Canonical |
| cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:* | 14.04 | Vulnerable | Canonical |
| cpe:2.3:o:canonical:ubuntu_linux:15.04:*:*:*:*:*:*:* | 15.04 | Vulnerable | Canonical |
| cpe:2.3:o:canonical:ubuntu_linux:15.10:*:*:*:*:*:*:* | 15.10 | Vulnerable | Canonical |
| cpe:2.3:a:xmlsoft:libxml2:*:*:*:*:*:*:*:* | up to 2.9.2 | Vulnerable | xmlsoft |
| cpe:2.3:o:redhat:enterprise_linux_desktop:6.0:*:*:*:*:*:*:* | 6.0 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux_hpc_node:6.0:*:*:*:*:*:*:* | 6.0 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux_server:6.0:*:*:*:*:*:*:* | 6.0 | Vulnerable | Red Hat |
- cpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:* Versions 7.0 Vulnerable ·Debian
- cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* Versions 8.0 Vulnerable ·Debian
- cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:lts:*:*:* Versions 12.04 Vulnerable ·Canonical
- cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:* Versions 14.04 Vulnerable ·Canonical
- cpe:2.3:o:canonical:ubuntu_linux:15.04:*:*:*:*:*:*:* Versions 15.04 Vulnerable ·Canonical
- cpe:2.3:o:canonical:ubuntu_linux:15.10:*:*:*:*:*:*:* Versions 15.10 Vulnerable ·Canonical
- cpe:2.3:a:xmlsoft:libxml2:*:*:*:*:*:*:*:* Versions up to 2.9.2 Vulnerable ·xmlsoft
- cpe:2.3:o:redhat:enterprise_linux_desktop:6.0:*:*:*:*:*:*:* Versions 6.0 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux_hpc_node:6.0:*:*:*:*:*:*:* Versions 6.0 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux_server:6.0:*:*:*:*:*:*:* Versions 6.0 Vulnerable ·Red Hat
Show 3 more CPE
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:o:redhat:enterprise_linux_workstation:6.0:*:*:*:*:*:*:* | 6.0 | Vulnerable | Red Hat |
| cpe:2.3:a:hp:icewall_federation_agent:3.0:*:*:*:*:*:*:* | 3.0 | Vulnerable | Hewlett Packard Enterprise |
| cpe:2.3:a:hp:icewall_file_manager:3.0:*:*:*:*:*:*:* | 3.0 | Vulnerable | Hewlett Packard Enterprise |
- cpe:2.3:o:redhat:enterprise_linux_workstation:6.0:*:*:*:*:*:*:* Versions 6.0 Vulnerable ·Red Hat
- cpe:2.3:a:hp:icewall_federation_agent:3.0:*:*:*:*:*:*:* Versions 3.0 Vulnerable ·Hewlett Packard Enterprise
- cpe:2.3:a:hp:icewall_file_manager:3.0:*:*:*:*:*:*:* Versions 3.0 Vulnerable ·Hewlett Packard Enterprise
Remediation
Red Hat 3 advisories
- RHSA-2016:1089 Released 2016-05-17 · Red Hat rating ModerateRed Hat JBoss Web Server 3.0.3 security update
- Red Hat JBoss Web Server 3.0
- RHSA-2015:2550 Released 2015-12-07 · Red Hat rating Moderatelibxml2 security update
- 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
- 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
- Red Hat Enterprise Linux Server (v. 7) libxml2-2.9.1-6.el7_2.2, libxml2-2.9.1-6.el7_2.2.ppc, libxml2-devel-2.9.1-6.el7_2.2 +2
- Red Hat Enterprise Linux Server Optional (v. 7) libxml2-static-2.9.1-6.el7_2.2, libxml2-static-2.9.1-6.el7_2.2.ppc
- Red Hat Enterprise Linux Workstation (v. 7) libxml2-2.9.1-6.el7_2.2, libxml2-devel-2.9.1-6.el7_2.2, libxml2-python-2.9.1-6.el7_2.2
- Red Hat Enterprise Linux Workstation Optional (v. 7) libxml2-static-2.9.1-6.el7_2.2
- RHSA-2015:2549 Released 2015-12-07 · Red Hat rating Moderatelibxml2 security update
- 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
- 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
- Red Hat Enterprise Linux Server (v. 6) libxml2-2.7.6-20.el6_7.1, libxml2-2.7.6-20.el6_7.1.ppc, libxml2-devel-2.7.6-20.el6_7.1 +2
- Red Hat Enterprise Linux Server Optional (v. 6) libxml2-static-2.7.6-20.el6_7.1
- Red Hat Enterprise Linux Workstation (v. 6) libxml2-2.7.6-20.el6_7.1, libxml2-devel-2.7.6-20.el6_7.1, libxml2-python-2.7.6-20.el6_7.1
- Red Hat Enterprise Linux Workstation Optional (v. 6) libxml2-static-2.7.6-20.el6_7.1
Vendor assessments
Red Hat
Red Hat rating: Low. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 5 | Affected | No fix planned: Will not fix |
| Red Hat JBoss Enterprise Web Server 2 | Affected | No fix planned: Will not fix |
| Red Hat Enterprise Linux Client (v. 7) | Fixed | RHSA-2015:2550 |
| Red Hat Enterprise Linux Client Optional (v. 7) | Fixed | RHSA-2015:2550 |
| Red Hat Enterprise Linux ComputeNode (v. 7) | Fixed | RHSA-2015:2550 |
| Red Hat Enterprise Linux ComputeNode Optional (v. 7) | Fixed | RHSA-2015:2550 |
| Red Hat Enterprise Linux Desktop (v. 6) | Fixed | RHSA-2015:2549 |
| Red Hat Enterprise Linux Desktop Optional (v. 6) | Fixed | RHSA-2015:2549 |
| Red Hat Enterprise Linux HPC Node (v. 6) | Fixed | RHSA-2015:2549 |
| Red Hat Enterprise Linux HPC Node Optional (v. 6) | Fixed | RHSA-2015:2549 |
| Red Hat Enterprise Linux Server (v. 6) | Fixed | RHSA-2015:2549 |
| Red Hat Enterprise Linux Server (v. 7) | Fixed | RHSA-2015:2550 |
| Red Hat Enterprise Linux Server Optional (v. 6) | Fixed | RHSA-2015:2549 |
| Red Hat Enterprise Linux Server Optional (v. 7) | Fixed | RHSA-2015:2550 |
| Red Hat Enterprise Linux Workstation (v. 6) | Fixed | RHSA-2015:2549 |
| Red Hat Enterprise Linux Workstation (v. 7) | Fixed | RHSA-2015:2550 |
| Red Hat Enterprise Linux Workstation Optional (v. 6) | Fixed | RHSA-2015:2549 |
| Red Hat Enterprise Linux Workstation Optional (v. 7) | Fixed | RHSA-2015:2550 |
| Red Hat JBoss Web Server 3.0 | Fixed | RHSA-2016:1089 |
Timeline
- 2026-10-02 Threatist record created from CVE-2015-8317
- 2026-10-03 Alias added: GHSA-2q4w-wqgx-423v
References
Exploit 2
Advisory 13
Other 14
- https://support.apple.com/HT206901
- https://bugzilla.gnome.org/show_bug.cgi?id=751603
- https://git.gnome.org/browse/libxml2/commit/?id=9aa37588ee78a06ca1379a9d9356eab16686099c
- http://www.oracle.com/technetwork/topics/security/linuxbulletinoct2015-2719645.html
- https://blog.fuzzing-project.org/28-Libxml2-Several-out-of-bounds-reads.html
- https://git.gnome.org/browse/libxml2/commit/?id=709a952110e98621c9b78c4f26462a9d8333102e
- [oss-security] 20151122 Re: Libxml2: Several out of bounds reads
- http://www.oracle.com/technetwork/topics/security/bulletinjan2016-2867206.html
- [oss-security] 20151121 Libxml2: Several out of bounds reads
- https://support.apple.com/HT206905
- https://support.apple.com/HT206903
- https://support.apple.com/HT206902
- https://support.apple.com/HT206904
- https://support.apple.com/HT206899
Sources
- CVE-2015-8317 · CVE Program
- CVE-2015-8317 · NVD
- FIRST EPSS
- GHSA-2q4w-wqgx-423v · GitHub Advisory Database · CC BY 4.0
- CVE-2015-8317 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences