CVE-2017-0663: Buffer Overflow

Published Jun 5, 2017
·
Updated

A heap-based buffer overflow vulnerability in libxml2 in xmlValidateOneNamespace function due to incorrect casting was found.

Upstream bug (private at this moment):

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

Oss-fuzz bug report:

https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=598

Android patch:

https://android.googlesource.com/platform/external/libxml2/+/521b88fbb6d18312923f0df653d045384b500ffc

References:

https://source.android.com/security/bulletin/2017-06-01#libraries

Other sources

A remote code execution vulnerability in libxml2 could enable an attacker using a specially crafted file to execute arbitrary code within the context of an unprivileged process. This issue is rated as High due to the possibility of remote code execution in an application that uses this library. Product: Android. Versions: 4.4.4, 5.0.2, 5.1.1, 6.0, 6.0.1, 7.0, 7.1.1, 7.1.2. Android ID: A-37104170.

Affected Software

11 affected componentsFixes available
redhat/libxml<2.9.5
2.9.5
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
Google Android=4.4.4
Google Android=5.0.2
Google Android=5.1.1
Google Android=6.0
Google Android=6.0.1
Google Android=7.0
Google Android=7.1.1
Google Android=7.1.2
Google Android

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade redhat/libxml to a version that resolves this vulnerability.

    Fixed in 2.9.5
  2. Upgrade

    Upgrade debian/libxml2 to a version that resolves this vulnerability.

    Fixed in 2.9.4+dfsg1-7+deb10u4Fixed in 2.9.4+dfsg1-7+deb10u6Fixed in 2.9.10+dfsg-6.7+deb11u4Fixed in 2.9.14+dfsg-1.3~deb12u1Fixed in 2.9.14+dfsg-1.3

Event History

Jun 5, 2017
CVE Published
via Android·12:00 AM
Data Sourced
via Android·12:00 AM
SeverityWeaknessAffected Software
Jun 14, 2017
CVE Published
via MITRE·01:00 PM
Data Sourced
via MITRE·01:00 PM
DescriptionWeakness
Data Sourced
via NVD·01:29 PM
DescriptionSeverityWeaknessAffected Software
Aug 5, 2017
Data Sourced
09:03 PM
SeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2017-0663?

CVE-2017-0663 is classified as a high severity vulnerability due to its potential for exploitation via a heap-based buffer overflow.

2

How do I fix CVE-2017-0663?

To fix CVE-2017-0663, upgrade to the latest version of libxml2 or libxml that addresses the vulnerability.

3

Which systems are affected by CVE-2017-0663?

CVE-2017-0663 affects various versions of libxml2, libxml on Red Hat, and multiple versions of Android.

4

What is the nature of the vulnerability in CVE-2017-0663?

CVE-2017-0663 involves a heap-based buffer overflow caused by incorrect casting in the xmlValidateOneNamespace function.

5

Is there a known exploit for CVE-2017-0663?

As of now, there are no public exploits reported for CVE-2017-0663, but it remains a serious concern.

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