CVE-2016-3627: Input Validation

Published Mar 21, 2016
·
Updated

A vulnerability was found in a way libxml2 parses certain files. With the libxml2 in recovery mode, a maliciously crafted filed could cause libxml2 to crash.

References:

http://seclists.org/oss-sec/2016/q1/682

CVE assignment:

http://seclists.org/oss-sec/2016/q1/683

Other sources

Missing recursive loop detection checks were found in the xmlParserEntityCheck() and xmlStringGetNodeList() functions of libxml2, causing application using the library to crash by stack exhaustion while building the associated data. An attacker able to send XML data to be parsed in recovery mode could launch a Denial of Service on the application.

The xmlStringGetNodeList function in tree.c in libxml2 2.9.3 and earlier, when used in recovery mode, allows context-dependent attackers to cause a denial of service (infinite recursion, stack consumption, and application crash) via a crafted XML document.

Affected Software

32 affected componentsFixes available
redhat/libxml2<0:2.7.6-21.el6_8.1
0:2.7.6-21.el6_8.1
redhat/libxml2<0:2.9.1-6.el7_2.3
0:2.9.1-6.el7_2.3
debian/libxml2<=2.9.3+dfsg1-1, <=2.8.0+dfsg1-5, <=2.8.0+dfsg1-7
2.9.3+dfsg1-1.12.9.1+dfsg1-5+deb8u2
debian/libxml2
2.9.4+dfsg1-7+deb10u42.9.4+dfsg1-7+deb10u62.9.10+dfsg-6.7+deb11u42.9.14+dfsg-1.3~deb12u12.9.14+dfsg-1.3
openSUSE Leap=42.1
Debian Debian Linux=8.0
HP IceWall Federation Agent=3.0
HP IceWall File Manager=3.0
Xmlsoft Libxml2<=2.9.3
Canonical Ubuntu Linux=12.04
Canonical Ubuntu Linux=14.04
Canonical Ubuntu Linux=15.10
Canonical Ubuntu Linux=16.04
redhat JBoss Core Services
redhat Enterprise Linux Desktop=6.0
redhat Enterprise Linux Desktop=7.0
redhat Enterprise Linux Eus=7.2
redhat Enterprise Linux Eus=7.3
redhat Enterprise Linux Eus=7.4
redhat Enterprise Linux Eus=7.5
redhat Enterprise Linux Eus=7.6
redhat Enterprise Linux Eus=7.7
redhat Enterprise Linux Server=6.0
redhat Enterprise Linux Server=7.0
redhat Enterprise Linux Server Aus=7.2
redhat Enterprise Linux Server Aus=7.4
redhat Enterprise Linux Server Aus=7.6
redhat Enterprise Linux Workstation=6.0
redhat Enterprise Linux Workstation=7.0
Oracle VM Server=3.3
Oracle VM Server=3.4
Oracle Solaris=11.3

Event History

Mar 21, 2016
CVE Published
12:00 AM
Data Sourced
via Red Hat·03:47 PM
DescriptionSeverityAffected Software
May 17, 2016
CVE Published
via MITRE·02:00 PM
Data Sourced
via MITRE·02:00 PM
Description
Data Sourced
via NVD·02:08 PM
RemedyDescriptionSeverityWeaknessAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is the severity of CVE-2016-3627?

CVE-2016-3627 is classified as a moderate severity vulnerability.

2

How do I fix CVE-2016-3627?

To fix CVE-2016-3627, update your libxml2 package to a version that includes the security patch.

3

Which versions of libxml2 are affected by CVE-2016-3627?

CVE-2016-3627 affects libxml2 versions prior to 0:2.7.6-21.el6_8.1 and 0:2.9.1-6.el7_2.3, among others.

4

What kind of attack does CVE-2016-3627 facilitate?

CVE-2016-3627 can be exploited to cause a denial of service via a crash of the libxml2 parser.

5

Is there a mitigation for CVE-2016-3627 if I cannot update?

If you cannot update, consider disabling recovery mode in libxml2 to mitigate the risk associated with CVE-2016-3627.

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