Every CVE Search/ Get API key

CVE-2017-12627

In Apache Xerces-C XML Parser library before 3.2.1, processing of external DTD paths can result...

9.8 CriticalFix available

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

8.29%Up 5.2 points since Apr 14, 2021
90%50%10%1%

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 CriticalCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 2.0
7.5 HighAV: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 CriticalCVSS: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 CriticalCVSS: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 CriticalCVSS: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 CriticalCVSS: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

Affected packages
PackageAffectedFixed
xerces-c
Debian:12
before 3.2.1+debian-1
3.2.1+debian-1
xerces-c
Debian:13
before 3.2.1+debian-1
3.2.1+debian-1
xerces-c
Debian:14
before 3.2.1+debian-1
3.2.1+debian-1
xerces-c
Debian: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-c
Mageia:6
before 3.1.4-2.1.mga6
3.1.4-2.1.mga6
xerces-c
Mageia:5
before 3.1.2-1.4.mga5
3.1.2-1.4.mga5
Xerces-c
SUSE: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-c
SUSE:Linux Enterprise Module for Basesystem 15
before 3.1.4-3.3.25
3.1.4-3.3.25
xerces-c
SUSE:OpenStack Cloud 7
before 3.1.1-13.3.6
3.1.1-13.3.6
xerces-c
SUSE:OpenStack Cloud 8
before 3.1.1-13.3.6
3.1.1-13.3.6
Show 21 moreShow less
Affected packages
PackageAffectedFixed
xerces-c
SUSE:OpenStack Cloud 9
before 3.1.1-13.3.6
3.1.1-13.3.6
xerces-c
SUSE:OpenStack Cloud Crowbar 9
before 3.1.1-13.3.6
3.1.1-13.3.6
xerces-c
SUSE:Linux Enterprise Server for SAP Applications 12 SP2
before 3.1.1-13.3.6
3.1.1-13.3.6
xerces-c
SUSE:Linux Enterprise Server for SAP Applications 12 SP3
before 3.1.1-13.3.6
3.1.1-13.3.6
xerces-c
SUSE:Linux Enterprise Server for SAP Applications 12 SP4
before 3.1.1-13.3.6
3.1.1-13.3.6
xerces-c
SUSE:Linux Enterprise Software Development Kit 12 SP5
before 3.1.1-13.3.6
3.1.1-13.3.6
xerces-c
SUSE:Linux Enterprise Server 12 SP2-LTSS
before 3.1.1-13.3.6
3.1.1-13.3.6
xerces-c
SUSE:Linux Enterprise Server 12 SP2-BCL
before 3.1.1-13.3.6
3.1.1-13.3.6
xerces-c
SUSE:Linux Enterprise Server 12 SP3-LTSS
before 3.1.1-13.3.6
3.1.1-13.3.6
xerces-c
SUSE:Linux Enterprise Server 12 SP3-BCL
before 3.1.1-13.3.6
3.1.1-13.3.6
xerces-c
SUSE:Linux Enterprise Server 12 SP4-LTSS
before 3.1.1-13.3.6
3.1.1-13.3.6
xerces-c
SUSE:Linux Enterprise Server 12 SP5
before 3.1.1-13.3.6
3.1.1-13.3.6
xerces-c
SUSE:Linux Enterprise Server for SAP Applications 12 SP5
before 3.1.1-13.3.6
3.1.1-13.3.6
xerces-c
SUSE:Enterprise Storage 5
before 3.1.1-13.3.6
3.1.1-13.3.6
xerces-c
Ubuntu: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-c
Ubuntu: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-c
Ubuntu: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-c
Ubuntu: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-c
Ubuntu: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-c
openSUSE:Leap 15.0
before 3.1.4-lp150.2.3.1
3.1.4-lp150.2.3.1
xerces-c
openSUSE:Tumbleweed
before 3.2.3-1.9
3.2.3-1.9

History

History
RecordedChangedSources
affected, facts
aliasesEUVD
first indexedCVE 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

Show 20 moreShow less
MoveEnter Open