Every CVE Search/ Get API key

CVE-2017-0663

A remote code execution vulnerability in libxml2 could enable an attacker using a specially...

7.8 HighFix available

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.

Attack profile

How easy it is to exploit

Attack vector
Local
Complexity
Low
Privileges needed
None
User interaction
Required

What an attacker can affect

Confidentiality
High
Integrity
High
Availability
High

Exploit likelihood

2.32%Up 1.2 points since Apr 14, 2021
90%50%10%1%

What each source reports

NVD Score used 7.8

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.

Record
CVE-2017-0663
CVSS 3.0
7.8 HighCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS 2.0
6.8 MediumAV:N/AC:M/Au:N/C:P/I:P/A:P
Weakness
CWE-787
Updated
2026-11-02
CVE List No score

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.

Record
CVE-2017-0663
Updated
2026-11-02
EUVDEUVD-2017-1017 No score

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.

Record
EUVD-2017-1017
Updated
2026-11-02
GitHub AdvisoriesGHSA-9cf7-h7g3-cg3p 7.8

A remote code execution vulnerability in libxml2 could enable an attacker using a specially...

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.

Record
GHSA-9cf7-h7g3-cg3p
CVSS 3.0
7.8 HighCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weakness
CWE-787
Updated
2026-11-02
OSVBELL-CVE-2017-0663 7.8

CVE-2017-0663 does not affect BellSoft software

Record
BELL-CVE-2017-0663
CVSS 3.0
7.8 HighCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSV 7.8

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.

Record
CVE-2017-0663
CVSS 3.0
7.8 HighCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
Show 7 moreShow less
OSVDEBIAN-CVE-2017-0663 7.8

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.

Record
DEBIAN-CVE-2017-0663
CVSS 3.0
7.8 HighCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVUBUNTU-CVE-2017-0663 7.8

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.

Record
UBUNTU-CVE-2017-0663
CVSS 3.0
7.8 HighCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVMGASA-2018-0048 No score

Updated libxml2 & perl-XML-LibXML packages fix security vulnerabilities

Use-after-free error could lead to crash (CVE-2016-4658).

Use-after-free vulnerability in libxml2 through 2.9.4 allows remote attackers to cause a denial of service or possibly have unspecified other impact via vectors related to the XPointer range-to function (CVE-2016-5131).

libxml2 2.9.4 and earlier does not offer a flag directly indicating that the current document may be read but other files may not be opened, which makes it easier for remote attackers to conduct XML External Entity (XXE) attacks via a crafted document (CVE-2016-9318).

Heap buffer overflow in xmlAddID (CVE-2017-0663).

Integer overflow in memory debug code in libxml2 before 2.9.5 (CVE-2017-5130).

NULL pointer deref in xmlDumpElementContent (CVE-2017-5969).

Prevent unwanted external entity reference (CVE-2017-7375).

Increase buffer space for port in HTTP redirect support (CVE-2017-7376).

The function xmlSnprintfElementContent in valid.c was vulnerable to a stack buffer overflow (CVE-2017-9047, CVE-2017-9048).

The function xmlDictComputeFastKey in dict.c was vulnerable to a heap-based buffer over-read (CVE-2017-9049).

The function xmlDictAddString was vulnerable to a heap-based buffer over-read (CVE-2017-9050).

It was discovered that libxml2 incorrecty handled certain files. An attacker could use this issue with specially constructed XML data to cause libxml2 to consume resources, leading to a denial of service (CVE-2017-15412).

Wei Lei discovered that libxml2 incorrecty handled certain parameter entities. An attacker could use this issue with specially constructed XML data to cause libxml2 to consume resources, leading to a denial of service (CVE-2017-16932).

The libxml2 package has been updated to version 2.9.7 to fix these issues and several other bugs.

Record
MGASA-2018-0048
Updated
2026-11-02
OSVopenSUSE-SU-2024:11016-1 No score

libxml2-2-2.9.12-1.2 on GA media

These are all security issues fixed in the libxml2-2-2.9.12-1.2 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:11016-1
Updated
2026-11-02
OSVSUSE-SU-2017:1670-1 No score

Security update for libxml2

This update for libxml2 fixes the following issues:

Security issues fixed:

  • CVE-2017-0663: Fixed a heap buffer overflow in xmlAddID (bsc#1044337)
  • CVE-2017-5969: Fixed a NULL pointer deref in xmlDumpElementContent (bsc#1024989)
Record
SUSE-SU-2017:1670-1
Updated
2026-11-02
OSVSUSE-SU-2017:1813-1 No score

Security update for libxml2

This update for libxml2 fixes the following issues:

Security issues fixed:

  • CVE-2017-0663: Fixed a heap buffer overflow in xmlAddID (bsc#1044337)
  • CVE-2017-5969: Fixed a NULL pointer deref in xmlDumpElementContent (bsc#1024989)
  • CVE-2017-7375: Prevented an unwanted external entity reference (bsc#1044894)
  • CVE-2017-7376: Increase buffer space for port in HTTP redirect support (bsc#1044887)
Record
SUSE-SU-2017:1813-1
Updated
2026-11-02
OSVUSN-3424-1 No score

libxml2 vulnerabilities

It was discovered that a type confusion error existed in libxml2. An attacker could use this to specially construct XML data that could cause a denial of service or possibly execute arbitrary code. (CVE-2017-0663)

It was discovered that libxml2 did not properly validate parsed entity references. An attacker could use this to specially construct XML data that could expose sensitive information. (CVE-2017-7375)

It was discovered that a buffer overflow existed in libxml2 when handling HTTP redirects. An attacker could use this to specially construct XML data that could cause a denial of service or possibly execute arbitrary code. (CVE-2017-7376)

Marcel Böhme and Van-Thuan Pham discovered a buffer overflow in libxml2 when handling elements. An attacker could use this to specially construct XML data that could cause a denial of service or possibly execute arbitrary code. (CVE-2017-9047)

Marcel Böhme and Van-Thuan Pham discovered a buffer overread in libxml2 when handling elements. An attacker could use this to specially construct XML data that could cause a denial of service. (CVE-2017-9048)

Marcel Böhme and Van-Thuan Pham discovered multiple buffer overreads in libxml2 when handling parameter-entity references. An attacker could use these to specially construct XML data that could cause a denial of service. (CVE-2017-9049, CVE-2017-9050)

Record
USN-3424-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
libxml2
Debian:12
before 2.9.4+dfsg1-3.1
2.9.4+dfsg1-3.1
libxml2
Debian:13
before 2.9.4+dfsg1-3.1
2.9.4+dfsg1-3.1
libxml2
Debian:14
before 2.9.4+dfsg1-3.1
2.9.4+dfsg1-3.1
libxml2
Debian:7
before 2.8.0+dfsg1-7+wheezy9, plus listed versions
2.8.0+dfsg1-7+nmu12.8.0+dfsg1-7+nmu22.8.0+dfsg1-7+nmu32.8.0+dfsg1-7+wheezy12.8.0+dfsg1-7+wheezy2
Show 6 moreShow less
2.8.0+dfsg1-7+wheezy32.8.0+dfsg1-7+wheezy42.8.0+dfsg1-7+wheezy52.8.0+dfsg1-7+wheezy62.8.0+dfsg1-7+wheezy72.8.0+dfsg1-7+wheezy8
2.8.0+dfsg1-7+wheezy9
libxml2
Debian:8
before 2.9.1+dfsg1-5+deb8u5, plus listed versions
2.9.1+dfsg1-52.9.1+dfsg1-5+deb8u12.9.1+dfsg1-5+deb8u22.9.1+dfsg1-5+deb8u32.9.1+dfsg1-5+deb8u4
2.9.1+dfsg1-5+deb8u5
libxml2
Debian:9
before 2.9.4+dfsg1-2.2+deb9u1, plus listed versions
2.9.4+dfsg1-2.2
2.9.4+dfsg1-2.2+deb9u1
libxml2
Mageia:5
before 2.9.7-1.mga5
2.9.7-1.mga5
perl-XML-LibXML
Mageia:5
before 2.12.100-1.2.mga5
2.12.100-1.2.mga5
libxml2
SUSE:Linux Enterprise Desktop 12 SP2
before 2.9.4-42.1
2.9.4-42.1
python-libxml2
SUSE:Linux Enterprise Desktop 12 SP2
before 2.9.4-42.1
2.9.4-42.1
Show 16 moreShow less
Affected packages
PackageAffectedFixed
libxml2
SUSE:Linux Enterprise Server for Raspberry Pi 12 SP2
before 2.9.4-42.1
2.9.4-42.1
python-libxml2
SUSE:Linux Enterprise Server for Raspberry Pi 12 SP2
before 2.9.4-42.1
2.9.4-42.1
libxml2
SUSE:Linux Enterprise Software Development Kit 12 SP2
before 2.9.4-42.1
2.9.4-42.1
libxml2
SUSE:Linux Enterprise Server 12 SP2
before 2.9.4-42.1
2.9.4-42.1
python-libxml2
SUSE:Linux Enterprise Server 12 SP2
before 2.9.4-42.1
2.9.4-42.1
libxml2
SUSE:Linux Enterprise Server for SAP Applications 12 SP2
before 2.9.4-42.1
2.9.4-42.1
python-libxml2
SUSE:Linux Enterprise Server for SAP Applications 12 SP2
before 2.9.4-42.1
2.9.4-42.1
libxml2
SUSE:Linux Enterprise Software Development Kit 11 SP4
before 2.7.6-0.76.1
2.7.6-0.76.1
libxml2
SUSE:Linux Enterprise Server 11 SP4
before 2.7.6-0.76.1
2.7.6-0.76.1
libxml2-python
SUSE:Linux Enterprise Server 11 SP4
before 2.7.6-0.76.4
2.7.6-0.76.4
libxml2
SUSE:Linux Enterprise Server for SAP Applications 11 SP4
before 2.7.6-0.76.1
2.7.6-0.76.1
libxml2-python
SUSE:Linux Enterprise Server for SAP Applications 11 SP4
before 2.7.6-0.76.4
2.7.6-0.76.4
libxml2
Ubuntu:14.04:LTS
before 2.9.1+dfsg1-3ubuntu4.10, plus listed versions
2.9.1+dfsg1-3ubuntu22.9.1+dfsg1-3ubuntu32.9.1+dfsg1-3ubuntu42.9.1+dfsg1-3ubuntu4.12.9.1+dfsg1-3ubuntu4.2
Show 7 moreShow less
2.9.1+dfsg1-3ubuntu4.32.9.1+dfsg1-3ubuntu4.42.9.1+dfsg1-3ubuntu4.52.9.1+dfsg1-3ubuntu4.62.9.1+dfsg1-3ubuntu4.72.9.1+dfsg1-3ubuntu4.82.9.1+dfsg1-3ubuntu4.9
2.9.1+dfsg1-3ubuntu4.10
libxml2
Ubuntu:16.04:LTS
before 2.9.3+dfsg1-1ubuntu0.3, plus listed versions
2.9.2+zdfsg1-42.9.2+zdfsg1-4ubuntu12.9.2+zdfsg1-4ubuntu22.9.2+zdfsg1-4ubuntu32.9.3+dfsg1-12.9.3+dfsg1-1ubuntu0.12.9.3+dfsg1-1ubuntu0.2
2.9.3+dfsg1-1ubuntu0.3
android
Ubuntu:16.04:LTS
All versions, plus listed versions
20150818-1500-0ubuntu220150818-1500-0ubuntu320160307-0742-0ubuntu320160330-0939-0ubuntu1
None known
libxml2
openSUSE:Tumbleweed
before 2.9.12-1.2
2.9.12-1.2

History

History
RecordedChangedSources
first indexedCVE List, EUVD, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2017-0663 is a high vulnerability (CVSS 7.8) in Google Android, published June 14, 2017. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 2.32%, the 83rd percentile. Fixed in libxml2 2.9.4+dfsg1-3.1.

References

Show 54 moreShow less
MoveEnter Open