CVE-2015-8317: Buffer Overflow

Published Nov 13, 2015
·
Updated

An out-of-bounds heap read in xmlParseXMLDecl happens when a file containing unfinished xml declaration, e.g. <?xml versionencoding="ISO88598", is followed by 0xff byte.

Upstream bug:

https://bugzilla.gnome.org/showbug.cgi?id=751631

Upstream patch:

https://git.gnome.org/browse/libxml2/commit/?id=709a952110e98621c9b78c4f26462a9d8333102e

Out-of-bounds heap read also occurs in xmlParseXMLDecl when file contains unterminated encoding value.

Upstream bug:

https://bugzilla.gnome.org/showbug.cgi?id=751603

Upstream patch:

https://git.gnome.org/browse/libxml2/commit/?id=9aa37588ee78a06ca1379a9d9356eab16686099c

Other sources

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.

MITRE

Affected Software

13 affected components
Debian Debian Linux=7.0
Debian Debian Linux=8.0
Canonical Ubuntu Linux=12.04
Canonical Ubuntu Linux=14.04
Canonical Ubuntu Linux=15.04
Canonical Ubuntu Linux=15.10
Xmlsoft Libxml2<=2.9.2
redhat Enterprise Linux Desktop=6.0
redhat Enterprise Linux Hpc Node=6.0
redhat Enterprise Linux Server=6.0
redhat Enterprise Linux Workstation=6.0
HP IceWall Federation Agent=3.0
HP IceWall File Manager=3.0

Event History

Nov 13, 2015
Data Sourced
08:50 PM
DescriptionSeverityAffected Software
Dec 15, 2015
CVE Published
via MITRE·09:00 PM
Data Sourced
via MITRE·09:00 PM
Description
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2015-8317?

CVE-2015-8317 has been classified as a moderate severity vulnerability due to its potential to cause out-of-bounds read issues.

2

How do I fix CVE-2015-8317?

To fix CVE-2015-8317, update to the latest version of libxml2 that addresses this vulnerability.

3

What systems are affected by CVE-2015-8317?

CVE-2015-8317 affects Debian 7.0 and 8.0, Ubuntu 12.04, 14.04, 15.04, 15.10, and various versions of Red Hat Enterprise Linux 6.0.

4

What is the impact of exploiting CVE-2015-8317?

Exploiting CVE-2015-8317 could allow an attacker to read sensitive memory content, leading to potential information disclosure.

5

Where can more details about CVE-2015-8317 be found?

More details about CVE-2015-8317 can typically be found in security bulletins from affected software vendors and vulnerability databases.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203