libxml2: Out-of-bounds heap read when parsing file with unfinished xml declaration
Published Dec 15, 2015
5.0
MEDIUMCVSS 2.0
EPSS 5.86%
Description
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.
Affected products
No data.
Configuration 1
- 7.0
- 8.0
Configuration 2
- 12.04
- 14.04
- 15.04
- 15.10
Configuration 4
- 6.0
- 6.0
- 6.0
- 6.0
Configuration 5
- 3.0
- 3.0
No data.
Red Hat Enterprise Linux 6
libxml2-0:2.7.6-20.el6_7.1
Fixed · RHSA-2015:2549
Red Hat Enterprise Linux 7
libxml2-0:2.9.1-6.el7_2.2
Fixed · RHSA-2015:2550
Red Hat JBoss Web Server 3.0
libxml2
Fixed · RHSA-2016:1089
Red Hat Enterprise Linux 5
libxml2
Will not fix
Red Hat JBoss Enterprise Web Server 2
libxml2
Will not fix
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 6 | libxml2-0:2.7.6-20.el6_7.1 | Fixed | RHSA-2015:2549 |
| Red Hat Enterprise Linux 7 | libxml2-0:2.9.1-6.el7_2.2 | Fixed | RHSA-2015:2550 |
| Red Hat JBoss Web Server 3.0 | libxml2 | Fixed | RHSA-2016:1089 |
| Red Hat Enterprise Linux 5 | libxml2 | Will not fix | n/a |
| Red Hat JBoss Enterprise Web Server 2 | libxml2 | Will not fix | n/a |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
No CVSS v3.0 score for this CVE.
AV:N/AC:L/Au:N/C:P/I:N/A:N
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 2, 2026.
Score over time
2022–2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (12 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 2, 2026 | 5.86% (0.05859) | 92.97th | v5 (v2026.06.15) |
| Jun 15, 2026 | 5.75% (0.05749) | 92.06th | v5 (v2026.06.15) |
| Mar 30, 2025 | 0.52% (0.00519) | 64.15th | v4 (v2025.03.14) |
| Mar 29, 2025 | 2.12% (0.02120) | 73.56th | v4 (v2025.03.14) |
| Mar 17, 2025 | 0.55% (0.00551) | 66.03th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.95% (0.00955) | 83.91th | v3 (v2023.03.01) |
| May 3, 2024 | 0.95% (0.00955) | 83.13th | v3 (v2023.03.01) |
| Jun 29, 2023 | 0.95% (0.00955) | 81.07th | v3 (v2023.03.01) |
| Mar 7, 2023 | 1.08% (0.01079) | 82.02th | v3 (v2023.03.01) |
| Mar 6, 2023 | 2.69% (0.02686) | 82.85th | v2 (v2022.01.01) |
| Apr 1, 2022 | 2.69% (0.02686) | 81.17th | v2 (v2022.01.01) |
| Feb 4, 2022 | 2.69% (0.02686) | 62.66th | v2 (v2022.01.01) |
References (35)
- http://lists.apple.com/archives/security-announce/2016/Jul/msg00000.html vendor-advisoryx_refsource_APPLE
- http://lists.apple.com/archives/security-announce/2016/Jul/msg00001.html vendor-advisoryx_refsource_APPLE
- http://lists.apple.com/archives/security-announce/2016/Jul/msg00002.html vendor-advisoryx_refsource_APPLE
- http://lists.apple.com/archives/security-announce/2016/Jul/msg00003.html vendor-advisoryx_refsource_APPLE
- http://lists.apple.com/archives/security-announce/2016/Jul/msg00005.html vendor-advisoryx_refsource_APPLE
- http://lists.opensuse.org/opensuse-updates/2015-12/msg00120.html vendor-advisoryx_refsource_SUSE
- http://lists.opensuse.org/opensuse-updates/2016-01/msg00031.html vendor-advisoryx_refsource_SUSE
- http://marc.info/?l=bugtraq&m=145382616617563&w=2 vendor-advisoryx_refsource_HPThird Party Advisory
- http://rhn.redhat.com/errata/RHSA-2015-2549.html vendor-advisoryx_refsource_REDHATThird Party Advisory
- http://rhn.redhat.com/errata/RHSA-2016-1089.html vendor-advisoryx_refsource_REDHAT
- http://www.debian.org/security/2015/dsa-3430 vendor-advisoryx_refsource_DEBIANThird Party Advisory
- http://www.openwall.com/lists/oss-security/2015/11/21/1 mailing-listx_refsource_MLIST
- http://www.openwall.com/lists/oss-security/2015/11/22/3 mailing-listx_refsource_MLIST
- http://www.oracle.com/technetwork/topics/security/bulletinjan2016-2867206.html x_refsource_CONFIRM
- http://www.oracle.com/technetwork/topics/security/linuxbulletinoct2015-2719645.html x_refsource_CONFIRM
- http://www.securityfocus.com/bid/77681 vdb-entryx_refsource_BID
- http://www.securityfocus.com/bid/91826 vdb-entryx_refsource_BID
- http://www.securitytracker.com/id/1034243 vdb-entryx_refsource_SECTRACK
- http://www.ubuntu.com/usn/USN-2834-1 vendor-advisoryx_refsource_UBUNTUThird Party Advisory
- https://access.redhat.com/security/cve/CVE-2015-8317 Vendor Advisory
- https://blog.fuzzing-project.org/28-Libxml2-Several-out-of-bounds-reads.html x_refsource_MISC
- https://bugzilla.gnome.org/show_bug.cgi?id=751603 x_refsource_CONFIRMIssue Tracking
- https://bugzilla.gnome.org/show_bug.cgi?id=751631 x_refsource_CONFIRMExploitIssue Tracking
- https://bugzilla.redhat.com/show_bug.cgi?id=1281930 x_refsource_CONFIRMExploitIssue Tracking
- https://git.gnome.org/browse/libxml2/commit/?id=709a952110e98621c9b78c4f26462a9d8333102e x_refsource_CONFIRM
- https://git.gnome.org/browse/libxml2/commit/?id=9aa37588ee78a06ca1379a9d9356eab16686099c x_refsource_CONFIRM
- https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c04944172 x_refsource_CONFIRMThird Party Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2015-8317
- https://support.apple.com/HT206899 x_refsource_CONFIRM
- https://support.apple.com/HT206901 x_refsource_CONFIRM
- https://support.apple.com/HT206902 x_refsource_CONFIRM
- https://support.apple.com/HT206903 x_refsource_CONFIRM
- https://support.apple.com/HT206904 x_refsource_CONFIRM
- https://support.apple.com/HT206905 x_refsource_CONFIRM
- https://www.cve.org/CVERecord?id=CVE-2015-8317
Change history (0)
No recorded changes yet.