CVE-2017-0663
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.
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
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 High
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - CVSS 2.0
- 6.8 Medium
AV: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 High
CVSS: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 High
CVSS: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 High
CVSS: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 High
CVSS: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 High
CVSS: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
| Package | Affected | Fixed |
|---|---|---|
libxml2Debian:12 |
before 2.9.4+dfsg1-3.1 | 2.9.4+dfsg1-3.1 |
libxml2Debian:13 |
before 2.9.4+dfsg1-3.1 | 2.9.4+dfsg1-3.1 |
libxml2Debian:14 |
before 2.9.4+dfsg1-3.1 | 2.9.4+dfsg1-3.1 |
libxml2Debian: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 less2.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 |
libxml2Debian: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 |
libxml2Debian: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 |
libxml2Mageia:5 |
before 2.9.7-1.mga5 | 2.9.7-1.mga5 |
perl-XML-LibXMLMageia:5 |
before 2.12.100-1.2.mga5 | 2.12.100-1.2.mga5 |
libxml2SUSE:Linux Enterprise Desktop 12 SP2 |
before 2.9.4-42.1 | 2.9.4-42.1 |
python-libxml2SUSE:Linux Enterprise Desktop 12 SP2 |
before 2.9.4-42.1 | 2.9.4-42.1 |
Show 16 moreShow less
| Package | Affected | Fixed |
|---|---|---|
libxml2SUSE:Linux Enterprise Server for Raspberry Pi 12 SP2 |
before 2.9.4-42.1 | 2.9.4-42.1 |
python-libxml2SUSE:Linux Enterprise Server for Raspberry Pi 12 SP2 |
before 2.9.4-42.1 | 2.9.4-42.1 |
libxml2SUSE:Linux Enterprise Software Development Kit 12 SP2 |
before 2.9.4-42.1 | 2.9.4-42.1 |
libxml2SUSE:Linux Enterprise Server 12 SP2 |
before 2.9.4-42.1 | 2.9.4-42.1 |
python-libxml2SUSE:Linux Enterprise Server 12 SP2 |
before 2.9.4-42.1 | 2.9.4-42.1 |
libxml2SUSE:Linux Enterprise Server for SAP Applications 12 SP2 |
before 2.9.4-42.1 | 2.9.4-42.1 |
python-libxml2SUSE:Linux Enterprise Server for SAP Applications 12 SP2 |
before 2.9.4-42.1 | 2.9.4-42.1 |
libxml2SUSE:Linux Enterprise Software Development Kit 11 SP4 |
before 2.7.6-0.76.1 | 2.7.6-0.76.1 |
libxml2SUSE:Linux Enterprise Server 11 SP4 |
before 2.7.6-0.76.1 | 2.7.6-0.76.1 |
libxml2-pythonSUSE:Linux Enterprise Server 11 SP4 |
before 2.7.6-0.76.4 | 2.7.6-0.76.4 |
libxml2SUSE:Linux Enterprise Server for SAP Applications 11 SP4 |
before 2.7.6-0.76.1 | 2.7.6-0.76.1 |
libxml2-pythonSUSE:Linux Enterprise Server for SAP Applications 11 SP4 |
before 2.7.6-0.76.4 | 2.7.6-0.76.4 |
libxml2Ubuntu: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 less2.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 |
libxml2Ubuntu: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 |
androidUbuntu:16.04:LTS |
All versions, plus listed versions 20150818-1500-0ubuntu220150818-1500-0ubuntu320160307-0742-0ubuntu320160330-0939-0ubuntu1 |
None known |
libxml2openSUSE:Tumbleweed |
before 2.9.12-1.2 | 2.9.12-1.2 |
History
| Recorded | Changed | Sources |
|---|---|---|
| first indexed | CVE 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
source.android.com/security/bulletin/2017-06-01
debian.org/security/2017/dsa-3952
securityfocus.com/bid/98877
security.gentoo.org/glsa/201711-01
securitytracker.com/id/1038623
lists.apache.org/thread.html/rf4c02775860db415b4955778a131c2795223f61cb8c6a450893651e4%40%3Cissues.bookkeeper.apache.org%3E
Show 54 moreShow less
lists.apache.org/thread.html/r58af02e294bd07f487e2c64ffc0a29b837db5600e33b6e698b9d696b%40%3Cissues.bookkeeper.apache.org%3E
cert-portal.siemens.com/productcert/html/ssa-398330.html
nvd.nist.gov/vuln/detail/CVE-2017-0663
lists.apache.org/thread.html/r58af02e294bd07f487e2c64ffc0a29b837db5600e33b6e698b9d696b@%3Cissues.bookkeeper.apache.org%3E
lists.apache.org/thread.html/rf4c02775860db415b4955778a131c2795223f61cb8c6a450893651e4@%3Cissues.bookkeeper.apache.org%3E
github.com/advisories/GHSA-9cf7-h7g3-cg3p
docs.bell-sw.com/security/cves/CVE-2017-0663
security-tracker.debian.org/tracker/CVE-2017-0663
advisories.mageia.org/MGASA-2018-0048.html
bugs.mageia.org/show_bug.cgi?id=19695
chromereleases.googleblog.com/2017/10/stable-channel-update-for-desktop.html
chromereleases.googleblog.com/2017/12/stable-channel-update-for-desktop.html
lists.opensuse.org/opensuse-updates/2017-02/msg00055.html
lists.opensuse.org/opensuse-updates/2017-06/msg00022.html
lists.opensuse.org/opensuse-updates/2017-07/msg00000.html
lists.opensuse.org/opensuse-updates/2017-07/msg00040.html
usn.ubuntu.com/usn/usn-3513-1
usn.ubuntu.com/usn/usn-3504-1
suse.com/support/update/announcement/2017/suse-su-20171670-1
bugzilla.suse.com/1024989
bugzilla.suse.com/1044337
suse.com/security/cve/CVE-2017-0663
suse.com/security/cve/CVE-2017-5969
suse.com/support/update/announcement/2017/suse-su-20171813-1
bugzilla.suse.com/1044887
bugzilla.suse.com/1044894
suse.com/security/cve/CVE-2017-7375
suse.com/security/cve/CVE-2017-7376
ubuntu.com/security/CVE-2017-0663
ubuntu.com/security/notices/USN-3424-1
ubuntu.com/security/notices/USN-3424-2
cve.org/CVERecord?id=CVE-2017-0663
ubuntu.com/security/CVE-2017-7375
ubuntu.com/security/CVE-2017-7376
ubuntu.com/security/CVE-2017-9047
ubuntu.com/security/CVE-2017-9048
ubuntu.com/security/CVE-2017-9049
ubuntu.com/security/CVE-2017-9050
suse.com/security/cve/CVE-2007-6284
suse.com/security/cve/CVE-2016-4658
suse.com/security/cve/CVE-2017-9047
suse.com/security/cve/CVE-2017-9048
suse.com/security/cve/CVE-2017-9049
suse.com/security/cve/CVE-2018-14404
suse.com/security/cve/CVE-2018-9251
suse.com/security/cve/CVE-2019-19956
suse.com/security/cve/CVE-2019-20388
suse.com/security/cve/CVE-2020-24977
suse.com/security/cve/CVE-2020-7595
suse.com/security/cve/CVE-2021-3516
suse.com/security/cve/CVE-2021-3517
suse.com/security/cve/CVE-2021-3518
suse.com/security/cve/CVE-2021-3537
suse.com/security/cve/CVE-2021-3541