Skip to content
Noroxi
CVE-2018-1311· NVD / CVE Program· CNA apache

The Apache Xerces-C 3.0.0 to 3.2.3 XML parser contains a use-after-free error triggered during the scanning of external DTDs.

The Apache Xerces-C 3.0.0 to 3.2.3 XML parser contains a use-after-free error triggered during the scanning of external DTDs. This flaw has not been addressed in the maintained version of the library and has no current mitigation other than to disable DTD processing. This can be accomplished via the DOM using a standard parser feature, or via SAX using the XERCES_DISABLE_DTD environment variable.

HighCVSS 8.1 · v3.1—Proof of concept Fix available

Noroxi analysis

No Noroxi analysis for this record yet

We don't hand-write analysis for the hundreds of thousands of vulnerabilities in the database; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.

We use this product, ask for help
Published
Dec 18, 2019
Updated
Jun 16, 2026
EPSS
9.5% · 95th percentile
Follow this CVE

Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.

Report tools

JSON

Action score

35

Monitor

Low priority for now.

CVSS
32 / 40 · 8.1 / 10
CISA KEV
0 / 30 · Not listed
EPSS
3 / 30 · 9.5%

Affected systems

VendorProduct
apachexerces-c\+\+
redhatenterprise linux desktop
redhatenterprise linux eus
redhatenterprise linux server
redhatenterprise linux server aus
redhatenterprise linux server tus
redhatenterprise linux workstation
debiandebian linux
oraclegoldengate
fedoraprojectfedora

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • apache xerces-c++3.0.0 and later · before 3.2.5
  • debian debian linux10.0
  • debian debian linux9.0
  • fedoraproject fedora38
  • fedoraproject fedora39
  • oracle goldengatebefore 21.4.0.0.0
  • redhat enterprise linux desktop6.0
  • redhat enterprise linux desktop7.0
  • redhat enterprise linux eus7.7
  • redhat enterprise linux server6.0
  • redhat enterprise linux server7.0
  • redhat enterprise linux server aus7.7
  • redhat enterprise linux server tus7.7
  • redhat enterprise linux workstation6.0
  • redhat enterprise linux workstation7.0

Versions reported by the vendor

Affected version ranges reported by the assigning authority (apache). Independent of NVD's CPE analysis and usually ahead of it.

  • Apache Software Foundation Apache Xerces-C

    • 3.0.0 to 3.2.2affected

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
Debian:10xerces-cbefore 3.2.2+debian-1+deb10u13.2.2+debian-1+deb10u1
Debian:12xerces-cbefore 3.2.3+debian-23.2.3+debian-2
Debian:9xerces-cbefore 3.1.4+debian-2+deb9u23.1.4+debian-2+deb9u2
openSUSE:Leap 15.2xerces-cbefore 3.1.4-lp152.5.3.13.1.4-lp152.5.3.1
openSUSE:Leap 15.3xerces-cbefore 3.1.4-10.3.13.1.4-10.3.1
openSUSE:Tumbleweedxerces-cbefore 3.2.5-1.13.2.5-1.1
Red Hat:enterprise_linux:6::clientxerces-cbefore 0:3.0.1-21.el6_100:3.0.1-21.el6_10
Red Hat:enterprise_linux:6::clientxerces-c-debuginfobefore 0:3.0.1-21.el6_100:3.0.1-21.el6_10
Red Hat:enterprise_linux:6::clientxerces-c-develbefore 0:3.0.1-21.el6_100:3.0.1-21.el6_10
Red Hat:enterprise_linux:6::clientxerces-c-docbefore 0:3.0.1-21.el6_100:3.0.1-21.el6_10
Red Hat:enterprise_linux:7::clientxerces-cbefore 0:3.1.1-10.el7_70:3.1.1-10.el7_7
Red Hat:enterprise_linux:7::clientxerces-c-debuginfobefore 0:3.1.1-10.el7_70:3.1.1-10.el7_7
Red Hat:enterprise_linux:7::clientxerces-c-develbefore 0:3.1.1-10.el7_70:3.1.1-10.el7_7
Red Hat:enterprise_linux:7::clientxerces-c-docbefore 0:3.1.1-10.el7_70:3.1.1-10.el7_7
SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSSxerces-cbefore 3.1.4-150200.10.11.13.1.4-150200.10.11.1
SUSE:Linux Enterprise High Performance Computing 15-ESPOSxerces-cbefore 3.1.4-3.6.13.1.4-3.6.1
SUSE:Linux Enterprise Module for Basesystem 15 SP2xerces-cbefore 3.1.4-10.3.13.1.4-10.3.1
SUSE:Linux Enterprise Module for Basesystem 15 SP5xerces-cbefore 3.2.3-150300.3.6.13.2.3-150300.3.6.1
SUSE:Linux Enterprise Module for Basesystem 15 SP5xerces-cbefore 3.2.3-150300.3.6.13.2.3-150300.3.6.1
SUSE:Linux Enterprise Software Development Kit 12 SP5xerces-cbefore 3.1.1-13.6.13.1.1-13.6.1
SUSE:Linux Enterprise Software Development Kit 12 SP5xerces-cbefore 3.1.1-13.12.13.1.1-13.12.1

Other highest-scoring records for the same primary product.

  • CVE-2017-12627In Apache Xerces-C XML Parser library before 3.2.1, processing of external DTD paths can result in a null pointer dereference under certain
    42Plan
  • CVE-2016-2099Use-after-free vulnerability in validators/DTD/DTDScanner.cpp in Apache Xerces C++ 3.1.3 and earlier allows context-dependent attackers to h
    41Plan
  • CVE-2024-23807Apache Xerces C++: Use-after-free on external DTD scan
    39Monitor
  • CVE-2023-37536HCL BigFix Platform is vulnerable to an integer overflow in xerces-c++ 3.2.3
    35Monitor
  • CVE-2016-4463Stack-based buffer overflow in Apache Xerces-C++ before 3.1.4 allows context-dependent attackers to cause a denial of service via a deeply n
    34Monitor
  • CVE-2015-0252internal/XMLReader.cpp in Apache Xerces-C before 3.1.2 allows remote attackers to cause a denial of service (segmentation fault and crash) v
    32Monitor

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
debian:xerces-c3.2.3+debian-2 · Debian:12Package registry (OSV)
opensuse:xerces-c3.2.3-150300.3.6.1 · openSUSE:Leap 15.5Package registry (OSV)
red hat:xerces-c0:3.0.1-21.el6_10 · Red Hat:enterprise_linux:6::clientPackage registry (OSV)
red hat:xerces-c-debuginfo0:3.0.1-21.el6_10 · Red Hat:enterprise_linux:6::clientPackage registry (OSV)
red hat:xerces-c-devel0:3.0.1-21.el6_10 · Red Hat:enterprise_linux:6::clientPackage registry (OSV)
red hat:xerces-c-doc0:3.0.1-21.el6_10 · Red Hat:enterprise_linux:6::clientPackage registry (OSV)
suse:xerces-c3.1.4-3.6.1 · SUSE:Linux Enterprise High Performance Computing 15-ESPOSPackage registry (OSV)
suse:xerces-c3.2.3-150300.3.6.1 · SUSE:Linux Enterprise Module for Basesystem 15 SP5Package registry (OSV)

Exploit status

Proof of concept available

A public proof of concept or detection signature exists. Exploit knowledge is out there; don't delay patching.

Evidence

  • Proof-of-concept repository on GitHub ×1

Noroxi does not host or link to exploit code. Metasploit module names and Nuclei template ids are shown (names, not code); Exploit-DB entries and PoC repositories are given as counts only.

Public exploit evidence
SourceKindDate
Proof-of-concept repository on GitHubstars:02022-01-20

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

  1. Published
  2. First PoC+763 d
  3. TodaySep 30, 2026+2478 d
EPSS, last 120 days

FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

No commit or PR link among the references.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

No credits in the CNA record.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

No nightly-computed relations.

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Bug bounty scope

No known public program.

Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).

Technical details

Attack conditions

  • Anyone who can reach it over the internet can trigger it.
  • No account or password is required.
  • No user action is required.
  • Special conditions such as timing or configuration are required.

If successful

Confidentiality
high · data can be read
Integrity
high · data or configuration can be modified
Availability
high · the service can be disrupted
Attack vector
Network
Attack complexity
High
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality impact
High
Integrity impact
High
Availability impact
High

Weakness class (CWE)

CWE-416 · Use After Free

CVSS vector

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

nvd-primary

Root cause

After a memory region is freed, another reference pointing to it is still used. By then, the same region may have been allocated for different data.

A representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.

Vulnerable

c
free(dev->buf);/* ... another thread is still running ... */process(dev->buf);

Fixed

c
lock(&dev->lock);free(dev->buf);dev->buf = NULL;unlock(&dev->lock);

Attack context

MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.

MITRE has no CAPEC/ATT&CK mapping for this CWE.

Change log

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

All records