Stack-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
Stack-based buffer overflow in Apache Xerces-C++ before 3.1.4 allows context-dependent attackers to cause a denial of service via a deeply nested DTD.
- Published
- Jul 8, 2016
- Updated
- Jun 16, 2026
- EPSS
- 14.1% · 96th percentile
- CWE
- CWE-119
Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.
Report tools
Action score
34
Monitor
Low priority for now.
- CVSS
- 30 / 40 · 7.5 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 4 / 30 · 14.1%
Affected systems
| Vendor | Product | CPE |
|---|---|---|
| apache | xerces-c\+\+ | cpe:2.3:a:apache:xerces-c\+\+ |
| debian | debian linux | cpe:2.3:o:debian:debian_linux |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- apache xerces-c++up to 3.1.3 inclusive
- debian debian linux8.0
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:12 | xerces-c | before 3.1.3+debian-2.1 | 3.1.3+debian-2.1 |
| Debian:7 | xerces-c | before 3.1.1-3+deb7u4 | 3.1.1-3+deb7u4 |
| Debian:8 | xerces-c | before 3.1.1-5.1+deb8u3 | 3.1.1-5.1+deb8u3 |
| openSUSE:Tumbleweed | xerces-c | before 3.1.4-1.3 | 3.1.4-1.3 |
| Red Hat:enterprise_linux:7::client | xerces-c | before 0:3.1.1-9.el7 | 0:3.1.1-9.el7 |
| Red Hat:enterprise_linux:7::client | xerces-c-debuginfo | before 0:3.1.1-9.el7 | 0:3.1.1-9.el7 |
| Red Hat:enterprise_linux:7::client | xerces-c-devel | before 0:3.1.1-9.el7 | 0:3.1.1-9.el7 |
| Red Hat:enterprise_linux:7::client | xerces-c-doc | before 0:3.1.1-9.el7 | 0:3.1.1-9.el7 |
| Red Hat:rhel_eus:7.4::computenode | xerces-c | before 0:3.1.1-8.el7_4.1 | 0:3.1.1-8.el7_4.1 |
| Red Hat:rhel_eus:7.4::computenode | xerces-c-debuginfo | before 0:3.1.1-8.el7_4.1 | 0:3.1.1-8.el7_4.1 |
| Red Hat:rhel_eus:7.4::computenode | xerces-c-devel | before 0:3.1.1-8.el7_4.1 | 0:3.1.1-8.el7_4.1 |
| Red Hat:rhel_eus:7.4::computenode | xerces-c-doc | before 0:3.1.1-8.el7_4.1 | 0:3.1.1-8.el7_4.1 |
| Red Hat:rhel_eus:7.5::computenode | xerces-c | before 0:3.1.1-8.el7_5.1 | 0:3.1.1-8.el7_5.1 |
| Red Hat:rhel_eus:7.5::computenode | xerces-c-debuginfo | before 0:3.1.1-8.el7_5.1 | 0:3.1.1-8.el7_5.1 |
| Red Hat:rhel_eus:7.5::computenode | xerces-c-devel | before 0:3.1.1-8.el7_5.1 | 0:3.1.1-8.el7_5.1 |
| Red Hat:rhel_eus:7.5::computenode | xerces-c-doc | before 0:3.1.1-8.el7_5.1 | 0:3.1.1-8.el7_5.1 |
| SUSE:Linux Enterprise Desktop 12 SP1 | xerces-c | before 3.1.1-12.3 | 3.1.1-12.3 |
| SUSE:Linux Enterprise Software Development Kit 11 SP4 | Xerces-c | before 2.8.0-29.17.5.1 | 2.8.0-29.17.5.1 |
Same product
apache: all recordsOther 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 h41Plan
- CVE-2024-23807Apache Xerces C++: Use-after-free on external DTD scan39Monitor
- CVE-2023-37536HCL BigFix Platform is vulnerable to an integer overflow in xerces-c++ 3.2.335Monitor
- CVE-2018-1311The 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.35Monitor
- 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) v32Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| debian:xerces-c | 3.1.3+debian-2.1 · Debian:12 | Package registry (OSV) |
| opensuse:xerces-c | 3.1.4-1.3 · openSUSE:Tumbleweed | Package registry (OSV) |
| red hat:xerces-c | 0:3.1.1-9.el7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:xerces-c-debuginfo | 0:3.1.1-9.el7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:xerces-c-devel | 0:3.1.1-9.el7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:xerces-c-doc | 0:3.1.1-9.el7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| suse:xerces-c | 3.1.1-12.3 · SUSE:Linux Enterprise Desktop 12 SP1 | Package registry (OSV) |
| suse:Xerces-c | 2.8.0-29.17.5.1 · SUSE:Linux Enterprise Software Development Kit 11 SP4 | Package 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.
| Source | Kind | Date |
|---|---|---|
| Proof-of-concept repository on GitHub | stars:0 | 2018-07-10 |
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.
- Published
- First PoC+731 d
- TodaySep 30, 2026+3736 d
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.
Credits
All researchersFinders, 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.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- none
- Integrity
- none
- Availability
- high · the service can be disrupted
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- None
- Integrity impact
- None
- Availability impact
- High
Weakness class (CWE)
CWE-119 · Improper Restriction of Operations within the Bounds of a Memory BufferCVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
- Buffer Overflow via Environment VariablesCAPEC-10likelihood: High · High
- Overflow BuffersCAPEC-100likelihood: High · Very High
- Buffer ManipulationCAPEC-123likelihood: High · Very High
- Client-side Injection-induced Buffer OverflowCAPEC-14likelihood: Medium · High
- Filter Failure through Buffer OverflowCAPEC-24likelihood: High · High
- MIME ConversionCAPEC-42likelihood: High · High
- Overflow Binary Resource FileCAPEC-44likelihood: High · Very High
- Buffer Overflow via Symbolic LinksCAPEC-45likelihood: High · High
ATT&CK techniques
—
Noroxi analysis
No Noroxi analysis for this record yet
We don't hand-write analysis for all 385,000+ vulnerabilities; 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 helpChange log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
- lists.opensuse.org/opensuse-updates/2016-07/msg00053.html
- lists.opensuse.org/opensuse-updates/2016-09/msg00013.html
- packetstormsecurity.com/files/137714/Apache-Xerces-C-XML-Parser-Crash.html
- www.oracle.com/technetwork/security-advisory/cpujul2018-4258247.html
- www.securityfocus.com/archive/1/538784/100/0/threaded
- www.securityfocus.com/bid/91501
- www.securitytracker.com/id/1036211
- xerces.apache.org/xerces-c/secadv/CVE-2016-4463.txt
- access.redhat.com/errata/RHSA-2018:3335
- access.redhat.com/errata/RHSA-2018:3506
- access.redhat.com/errata/RHSA-2018:3514
- issues.apache.org/jira/browse/XERCESC-2069
- issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=10510&version=12336069
- www.debian.org/security/2016/dsa-3610
- www.oracle.com/security-alerts/cpuapr2020.html
Vendor advisories and official records. Exploit/PoC links are deliberately left out.