Apache Xerces-C up to 3.2.2 XML Parser XERCES_DISABLE_DTD use after free

| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 7.7 | $5k-$25k | 0.00 |
Summary
A vulnerability classified as critical has been found in Apache Xerces-C up to 3.2.2. This vulnerability affects unknown code of the component XML Parser. Performing a manipulation of the argument XERCES_DISABLE_DTD results in use after free. This vulnerability is reported as CVE-2018-1311. The attack is possible to be carried out remotely. No exploit exists.
Details
A vulnerability classified as critical has been found in Apache Xerces-C up to 3.2.2. This affects some unknown processing of the component XML Parser. The manipulation of the argument XERCES_DISABLE_DTD with an unknown input leads to a use after free vulnerability. CWE is classifying the issue as CWE-416. Referencing memory after it has been freed can cause a program to crash, use unexpected values, or execute code. This is going to have an impact on confidentiality, integrity, and availability. The summary by CVE is:
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.
The weakness was disclosed 12/18/2019. This vulnerability is uniquely identified as CVE-2018-1311. It is possible to initiate the attack remotely. No form of authentication is needed for exploitation. Technical details of the vulnerability are known, but there is no available exploit. The pricing for an exploit might be around USD $5k-$25k at the moment (estimation calculated on 11/04/2025).
The vulnerability scanner Nessus provides a plugin with the ID 214485 (Debian dla-3704 : libxerces-c-dev - security update), which helps to determine the existence of the flaw in a target environment.
There is no information about possible countermeasures known. It may be suggested to replace the affected object with an alternative product.
The vulnerability is also documented in the vulnerability database at Tenable (214485). Be aware that VulDB is the high quality source for vulnerability data.
Product
Vendor
Name
Version
License
Website
- Vendor: https://www.apache.org/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 7.7VulDB Meta Temp Score: 7.7
VulDB Base Score: 7.3
VulDB Temp Score: 7.3
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 8.1
NVD Vector: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
NVD Base Score: 🔍
Exploiting
Class: Use after freeCWE: CWE-416 / CWE-119
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Yes
Availability: 🔍
Status: Not defined
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 214485
Nessus Name: Debian dla-3704 : libxerces-c-dev - security update
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: no mitigation knownStatus: 🔍
0-Day Time: 🔍
Timeline
12/07/2017 🔍12/18/2019 🔍
12/19/2019 🔍
11/04/2025 🔍
Sources
Vendor: apache.orgAdvisory: RHSA-2020:0702
Status: Not defined
CVE: CVE-2018-1311 (🔍)
GCVE (CVE): GCVE-0-2018-1311
GCVE (VulDB): GCVE-100-147447
Entry
Created: 12/19/2019 15:46Updated: 11/04/2025 20:23
Changes: 12/19/2019 15:46 (36), 12/19/2019 15:51 (16), 03/15/2024 11:57 (5), 06/21/2024 19:59 (25), 01/23/2025 00:04 (2), 11/04/2025 20:23 (1)
Complete: 🔍
Cache ID: 216::103
Be aware that VulDB is the high quality source for vulnerability data.
No comments yet. Languages: en.
Please log in to comment.