CVE-2017-12627
In Apache Xerces-C XML Parser library before 3.2.1, processing of external DTD paths can result...
In Apache Xerces-C XML Parser library before 3.2.1, processing of external DTD paths can result in a null pointer dereference under certain conditions.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
9.8
In Apache Xerces-C XML Parser library before 3.2.1, processing of external DTD paths can result in a null pointer dereference under certain conditions.
- Record
CVE-2017-12627- CVSS 3.0
- 9.8 Critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - CVSS 2.0
- 7.5 High
AV:N/AC:L/Au:N/C:P/I:P/A:P - Weakness
- CWE-476
- Updated
- 2026-11-02
CVE List No score
In Apache Xerces-C XML Parser library before 3.2.1, processing of external DTD paths can result in a null pointer dereference under certain conditions.
- Record
CVE-2017-12627- Updated
- 2026-11-02
EUVDEUVD-2017-4173 No score
In Apache Xerces-C XML Parser library before 3.2.1, processing of external DTD paths can result in a null pointer dereference under certain conditions.
- Record
EUVD-2017-4173- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-rh3v-mpfh-4wwj
9.8
In Apache Xerces-C XML Parser library before 3.2.1, processing of external DTD paths can result...
In Apache Xerces-C XML Parser library before 3.2.1, processing of external DTD paths can result in a null pointer dereference under certain conditions.
- Record
GHSA-rh3v-mpfh-4wwj- CVSS 3.0
- 9.8 Critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-476
- Updated
- 2026-11-02
OSV
9.8
In Apache Xerces-C XML Parser library before 3.2.1, processing of external DTD paths can result in a null pointer dereference under certain conditions.
- Record
CVE-2017-12627- CVSS 3.0
- 9.8 Critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVDEBIAN-CVE-2017-12627
9.8
In Apache Xerces-C XML Parser library before 3.2.1, processing of external DTD paths can result in a null pointer dereference under certain conditions.
- Record
DEBIAN-CVE-2017-12627- CVSS 3.0
- 9.8 Critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
Show 9 moreShow less
OSVUBUNTU-CVE-2017-12627
9.8
In Apache Xerces-C XML Parser library before 3.2.1, processing of external DTD paths can result in a null pointer dereference under certain conditions.
- Record
UBUNTU-CVE-2017-12627- CVSS 3.0
- 9.8 Critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVMGASA-2018-0158 No score
Updated xerces-c packages fix CVE-2017-12627
Updated xerces-c packages fix security vulnerability:
The Xerces-C XML parser mishandles certain kinds of external DTD references, resulting in dereference of a NULL pointer while processing the path to the DTD. The bug allows for a denial of service attack in applications that allow DTD processing and do not prevent external DTD usage, and could conceivably result in remote code execution. (CVE-2017-12627)
- Record
MGASA-2018-0158- Updated
- 2026-11-02
OSVMGASA-2018-0178 No score
Updated xerces-c packages fix security vulnerability
The Xerces-C XML parser mishandles certain kinds of external DTD references, resulting in dereference of a NULL pointer while processing the path to the DTD. The bug allows for a denial of service attack in applications that allow DTD processing and do not prevent external DTD usage, and could conceivably result in remote code execution (CVE-2017-12627).
- Record
MGASA-2018-0178- Updated
- 2026-11-02
OSVopenSUSE-SU-2019:1283-1 No score
Security update for xerces-c
This update for xerces-c fixes the following issue:
- CVE-2017-12627: Processing of external DTD paths could have resulted in a null pointer dereference under certain conditions (bsc#1083630)
This update was imported from the SUSE:SLE-15:Update update project.
- Record
openSUSE-SU-2019:1283-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:11521-1 No score
libxerces-c-3_2-3.2.3-1.9 on GA media
These are all security issues fixed in the libxerces-c-3_2-3.2.3-1.9 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:11521-1- Updated
- 2026-11-02
OSVSUSE-SU-2018:3277-1 No score
Security update for Xerces-c
This update for Xerces-c fixes the following issues:
- CVE-2017-12627: Processing of external DTD paths could have resulted in a null pointer dereference under certain conditions (bsc#1083630).
- CVE-2016-4463: Prevent stack-based buffer overflow that allowed context-dependent attackers to cause a denial of service via a deeply nested DTD (bsc#985860).
- Record
SUSE-SU-2018:3277-1- Updated
- 2026-11-02
OSVSUSE-SU-2019:0977-1 No score
Security update for xerces-c
This update for xerces-c fixes the following issue:
- CVE-2017-12627: Processing of external DTD paths could have resulted in a null pointer dereference under certain conditions (bsc#1083630)
- Record
SUSE-SU-2019:0977-1- Updated
- 2026-11-02
OSVSUSE-SU-2020:2225-1 No score
Security update for xerces-c
This update for xerces-c fixes the following issues:
- CVE-2017-12627: Processing of external DTD paths could have resulted in a null pointer dereference under certain conditions (bsc#1083630)
- Record
SUSE-SU-2020:2225-1- Updated
- 2026-11-02
OSVUSN-4784-1 No score
xerces-c vulnerabilities
It was discovered that Xerces-C++ XML Parser mishandles certain kinds of external DTD references, resulting in a user-after-free. An attacker could use this vulnerability to cause a denial of service (crash) or possibly execute arbitrary code. This issue affected only Ubuntu 16.04 ESM. (CVE-2016-2099)
It was discovered that Xerces-C++ XML Parser fails to successfully parse a DTD that is too deeply nested. An unauthenticated attacker could use this vulnerability to cause a denial of service. This issue affected only Ubuntu 16.04 ESM. (CVE-2016-4463)
It was discovered that Xerces-C++ mishandles certain kinds of external DTD references, resulting in dereference of a NULL pointer. An attacker could use this vulnerability to cause a denial of service. (CVE-2017-12627)
- Record
USN-4784-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
xerces-cDebian:12 |
before 3.2.1+debian-1 | 3.2.1+debian-1 |
xerces-cDebian:13 |
before 3.2.1+debian-1 | 3.2.1+debian-1 |
xerces-cDebian:14 |
before 3.2.1+debian-1 | 3.2.1+debian-1 |
xerces-cDebian:7 |
before 3.1.1-3+deb7u5, plus listed versions 3.1.1-33.1.1-3+deb7u13.1.1-3+deb7u23.1.1-3+deb7u33.1.1-3+deb7u4 |
3.1.1-3+deb7u5 |
xerces-cMageia:6 |
before 3.1.4-2.1.mga6 | 3.1.4-2.1.mga6 |
xerces-cMageia:5 |
before 3.1.2-1.4.mga5 | 3.1.2-1.4.mga5 |
Xerces-cSUSE:Linux Enterprise Software Development Kit 11 SP4 From an advisory covering 2 CVEs |
before 2.8.0-29.17.5.1 | 2.8.0-29.17.5.1 |
xerces-cSUSE:Linux Enterprise Module for Basesystem 15 |
before 3.1.4-3.3.25 | 3.1.4-3.3.25 |
xerces-cSUSE:OpenStack Cloud 7 |
before 3.1.1-13.3.6 | 3.1.1-13.3.6 |
xerces-cSUSE:OpenStack Cloud 8 |
before 3.1.1-13.3.6 | 3.1.1-13.3.6 |
Show 21 moreShow less
| Package | Affected | Fixed |
|---|---|---|
xerces-cSUSE:OpenStack Cloud 9 |
before 3.1.1-13.3.6 | 3.1.1-13.3.6 |
xerces-cSUSE:OpenStack Cloud Crowbar 9 |
before 3.1.1-13.3.6 | 3.1.1-13.3.6 |
xerces-cSUSE:Linux Enterprise Server for SAP Applications 12 SP2 |
before 3.1.1-13.3.6 | 3.1.1-13.3.6 |
xerces-cSUSE:Linux Enterprise Server for SAP Applications 12 SP3 |
before 3.1.1-13.3.6 | 3.1.1-13.3.6 |
xerces-cSUSE:Linux Enterprise Server for SAP Applications 12 SP4 |
before 3.1.1-13.3.6 | 3.1.1-13.3.6 |
xerces-cSUSE:Linux Enterprise Software Development Kit 12 SP5 |
before 3.1.1-13.3.6 | 3.1.1-13.3.6 |
xerces-cSUSE:Linux Enterprise Server 12 SP2-LTSS |
before 3.1.1-13.3.6 | 3.1.1-13.3.6 |
xerces-cSUSE:Linux Enterprise Server 12 SP2-BCL |
before 3.1.1-13.3.6 | 3.1.1-13.3.6 |
xerces-cSUSE:Linux Enterprise Server 12 SP3-LTSS |
before 3.1.1-13.3.6 | 3.1.1-13.3.6 |
xerces-cSUSE:Linux Enterprise Server 12 SP3-BCL |
before 3.1.1-13.3.6 | 3.1.1-13.3.6 |
xerces-cSUSE:Linux Enterprise Server 12 SP4-LTSS |
before 3.1.1-13.3.6 | 3.1.1-13.3.6 |
xerces-cSUSE:Linux Enterprise Server 12 SP5 |
before 3.1.1-13.3.6 | 3.1.1-13.3.6 |
xerces-cSUSE:Linux Enterprise Server for SAP Applications 12 SP5 |
before 3.1.1-13.3.6 | 3.1.1-13.3.6 |
xerces-cSUSE:Enterprise Storage 5 |
before 3.1.1-13.3.6 | 3.1.1-13.3.6 |
xerces-cUbuntu:14.04:LTS |
before 3.1.1-5.1+deb8u4build0.14.04.1, plus listed versions 3.1.1-33.1.1-3ubuntu13.1.1-43.1.1-53.1.1-5.1~build0.14.04.13.1.1-5.1+deb8u1build0.14.04.13.1.1-5.1+deb8u2build0.14.04.13.1.1-5.1+deb8u3build0.14.04.1 |
3.1.1-5.1+deb8u4build0.14.04.1 |
xerces-cUbuntu:Pro:16.04:LTS |
before 3.1.3+debian-1ubuntu0.1~esm1, plus listed versions 3.1.1-5.13.1.2+debian-13.1.3+debian-1 |
3.1.3+debian-1ubuntu0.1~esm1 |
xerces-cUbuntu:Pro:18.04:LTS |
before 3.2.0+debian-2ubuntu0.1~esm1, plus listed versions 3.1.4+debian-23.1.4+debian-2build13.2.0+debian-2 |
3.2.0+debian-2ubuntu0.1~esm1 |
xerces-cUbuntu:Pro:16.04:LTS From an advisory covering 3 CVEs |
before 3.1.3+debian-1ubuntu0.1~esm1, plus listed versions 3.1.1-5.13.1.2+debian-13.1.3+debian-1 |
3.1.3+debian-1ubuntu0.1~esm1 |
xerces-cUbuntu:Pro:18.04:LTS From an advisory covering 3 CVEs |
before 3.2.0+debian-2ubuntu0.1~esm1, plus listed versions 3.1.4+debian-23.1.4+debian-2build13.2.0+debian-2 |
3.2.0+debian-2ubuntu0.1~esm1 |
xerces-copenSUSE:Leap 15.0 |
before 3.1.4-lp150.2.3.1 | 3.1.4-lp150.2.3.1 |
xerces-copenSUSE:Tumbleweed |
before 3.2.3-1.9 | 3.2.3-1.9 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2017-12627 is a critical vulnerability (CVSS 9.8) in Apache Xerces-c\+\+, published March 1, 2018. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 8.29%, the 94th percentile. Fixed in xerces-c 3.2.1+debian-1.
References
lists.debian.org/debian-lts-announce/2018/03/msg00032.html
xerces.apache.org/xerces-c/secadv/CVE-2017-12627.txt
securityfocus.com/bid/103219
seclists.org/oss-sec/2018/q1/203
kc.mcafee.com/corporate/index?page=content&id=SB10365
nvd.nist.gov/vuln/detail/CVE-2017-12627
Show 20 moreShow less
github.com/advisories/GHSA-rh3v-mpfh-4wwj
security-tracker.debian.org/tracker/CVE-2017-12627
advisories.mageia.org/MGASA-2018-0158.html
bugs.mageia.org/show_bug.cgi?id=22677
advisories.mageia.org/MGASA-2018-0178.html
bugs.mageia.org/show_bug.cgi?id=22779
suse.com/support/update/announcement/2018/suse-su-20183277-1
bugzilla.suse.com/1083630
bugzilla.suse.com/985860
suse.com/security/cve/CVE-2016-4463
suse.com/security/cve/CVE-2017-12627
suse.com/support/update/announcement/2019/suse-su-20190977-1
suse.com/support/update/announcement/2020/suse-su-20202225-1
ubuntu.com/security/CVE-2017-12627
svn.apache.org/viewvc?view=revision&revision=1819998
ubuntu.com/security/notices/USN-4784-1
cve.org/CVERecord?id=CVE-2017-12627
ubuntu.com/security/CVE-2016-2099
ubuntu.com/security/CVE-2016-4463
lists.opensuse.org/archives/list/[email protected]/thread/GX7LPYGMLCK5RZCA7GR57FT37ALMTPZL