Skip to content
Fencer Vulns
critical 9.8

CVE-2017-12627 json

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…

published 2018-03-01 8 y ago modified 2026-06-17 4 mo ago also EUVD-2017-4173

cvss
9.8
version 3.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
8.3%
EPSS 8.3% chance of exploitation in 30 days, percentile 94%
public exploits
0
none known

Summary

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.

Patch / fix

  • apache xerces-c++ 3.2.1
  • xerces-c Debian 14, Debian 13, Debian 12 3.2.1+debian-1

debian advisories DEBIAN-CVE-2017-12627

  • xerces-c Ubuntu 14.04 LTS 3.1.1-5.1+deb8u4build0.14.04.1
  • xerces-c Ubuntu Pro 16.04 LTS 3.1.3+debian-1ubuntu0.1~esm1
  • xerces-c Ubuntu Pro 18.04 LTS 3.2.0+debian-2ubuntu0.1~esm1

ubuntu advisories UBUNTU-CVE-2017-12627

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • xerces-c SLES for SAP 12 SP5, SLES for SAP 12 SP4, SLES for SAP 12 SP3 +13 more 3.1.1-13.3.6
  • xerces-c SLE Module for Basesystem 15 3.1.4-3.3.25
  • Xerces-c SLE Software Development Kit 11 SP4 2.8.0-29.17.5.1

suse advisories SUSE-SU-2020:2225-1SUSE-SU-2019:0977-1SUSE-SU-2018:3277-1

  • xerces-c openSUSE Tumbleweed 3.2.3-1.9
  • xerces-c openSUSE Leap 15.0 3.1.4-lp150.2.3.1

opensuse advisories openSUSE-SU-2024:11521-1openSUSE-SU-2019:1283-1

  • xerces-c Arch Linux 3.2.1-1

arch linux advisories AVG-644

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2017-12627 updated cvss 7.5

xerces-c: Null pointer dereference while processing the path to DTD allows denial of service

  • Red Hat Enterprise Linux 6 xerces-c Red Hat Enterprise Linux 7 xerces-c
    affected: workaround, no fix available “Applications should strongly consider blocking remote entity resolution and/or outright disabling of DTD processing in light of the continued identification of bugs in this area of the library.”
  • Red Hat Enterprise MRG 2 xerces-c Red Hat Enterprise MRG 3 xerces-c
    affected: workaround, no fix planned “Applications should strongly consider blocking remote entity resolution and/or outright disabling of DTD processing in light of the continued identification of bugs in this area of the library.”

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

8.29% chance of exploitation in the next 30 days, higher than 94% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
NVD 3.0 9.8 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD 2.0 7.5 AV:N/AC:L/Au:N/C:P/I:P/A:P

Affected products

  • Apache Software Foundation Apache Xerces C++

Classification

Weakness

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.