CVE-2016-2099
published 2016-05-13CVE-2016-2099: Use-after-free vulnerability in validators/DTD/DTDScanner.cpp in Apache Xerces C++ 3.1.3 and earlier allows context-dependent attackers to have unspecified…
PriorityP346critical9.8CVSS 3.0
AVNACLPRNUINSUCHIHAH
EPSS
6.78%
93.2th percentile
Use-after-free vulnerability in validators/DTD/DTDScanner.cpp in Apache Xerces C++ 3.1.3 and earlier allows context-dependent attackers to have unspecified impact via an invalid character in an XML document.
Affected
9 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| apache | xerces-c | <= 3.1.3 | — |
| apache | xerces-c | >= 0 < 3.1.3+debian-2 | 3.1.3+debian-2 |
| apache | xerces-c | >= 0 < 3.1.3+debian-2 | 3.1.3+debian-2 |
| apache | xerces-c | >= 0 < 3.1.3+debian-2 | 3.1.3+debian-2 |
| apache | xerces-c | >= 0 < 3.1.3+debian-2 | 3.1.3+debian-2 |
| apache | xerces-c | >= 0 < 3.1.3+debian-1ubuntu0.1~esm1 | 3.1.3+debian-1ubuntu0.1~esm1 |
| apache | xerces-c | >= 0 < 3.2.0+debian-2ubuntu0.1~esm1 | 3.2.0+debian-2ubuntu0.1~esm1 |
| debian | xerces-c | < xerces-c 3.1.3+debian-2 (bookworm) | xerces-c 3.1.3+debian-2 (bookworm) |
| opensuse | opensuse | — | — |
CVSS provenance
nvdv3.09.8CRITICALCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
nvdv2.010.0CRITICALAV:N/AC:L/Au:N/C:C/I:C/A:C
osv9.8CRITICAL
vendor_debian9.8CRITICAL
vendor_redhat9.8CRITICAL
vendor_ubuntu9.8CRITICAL
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Ubuntu
Xerces-C++ vulnerabilities
vendor_ubuntu·2021-03-15·CVSS 9.8
CVE-2016-2099 [CRITICAL] Xerces-C++ vulnerabilities
Title: Xerces-C++ vulnerabilities
Summary: Several security issues were fixed in Xerces-C++.
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
Red Hat
xerces-c: Use-after-free in heap on specially crafted XML input
vendor_redhat·2016-05-09·CVSS 9.8
CVE-2016-2099 [CRITICAL] CWE-416 xerces-c: Use-after-free in heap on specially crafted XML input
xerces-c: Use-after-free in heap on specially crafted XML input
Use-after-free vulnerability in validators/DTD/DTDScanner.cpp in Apache Xerces C++ 3.1.3 and earlier allows context-dependent attackers to have unspecified impact via an invalid character in an XML document.
Statement: Red Hat Product Security has rated this issue as having Moderate security impact. This issue is not currently planned to be addressed in future updates. For additional information, refer to the Issue Severity Classification: https://access.redhat.com/security/updates/classification/.
Package: xerces-c (Red Hat Enterprise Linux 6) - Will not fix
Package: xerces-c (Red Hat Enterprise Linux 7) - Will not fix
Package: xerces-c (Red Hat Enterprise MRG 2) - Will not fix
Package: xerces-c (Red Hat Enterprise MRG
Debian
CVE-2016-2099: xerces-c - Use-after-free vulnerability in validators/DTD/DTDScanner.cpp in Apache Xerces C...
vendor_debian·2016·CVSS 9.8
CVE-2016-2099 [CRITICAL] CVE-2016-2099: xerces-c - Use-after-free vulnerability in validators/DTD/DTDScanner.cpp in Apache Xerces C...
Use-after-free vulnerability in validators/DTD/DTDScanner.cpp in Apache Xerces C++ 3.1.3 and earlier allows context-dependent attackers to have unspecified impact via an invalid character in an XML document.
Scope: local
bookworm: resolved (fixed in 3.1.3+debian-2)
bullseye: resolved (fixed in 3.1.3+debian-2)
forky: resolved (fixed in 3.1.3+debian-2)
sid: resolved (fixed in 3.1.3+debian-2)
trixie: resolved (fixed in 3.1.3+debian-2)
GHSA
GHSA-pgr8-2267-r79x: Use-after-free vulnerability in validators/DTD/DTDScanner
ghsa_unreviewed·2022-05-14
CVE-2016-2099 [CRITICAL] GHSA-pgr8-2267-r79x: Use-after-free vulnerability in validators/DTD/DTDScanner
Use-after-free vulnerability in validators/DTD/DTDScanner.cpp in Apache Xerces C++ 3.1.3 and earlier allows context-dependent attackers to have unspecified impact via an invalid character in an XML document.
OSV
xerces-c vulnerabilities
osv·2021-03-15·CVSS 9.8
CVE-2016-2099 [CRITICAL] xerces-c vulnerabilities
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
OSV
CVE-2016-2099: Use-after-free vulnerability in validators/DTD/DTDScanner
osv·2016-05-13·CVSS 9.8
CVE-2016-2099 [CRITICAL] CVE-2016-2099: Use-after-free vulnerability in validators/DTD/DTDScanner
Use-after-free vulnerability in validators/DTD/DTDScanner.cpp in Apache Xerces C++ 3.1.3 and earlier allows context-dependent attackers to have unspecified impact via an invalid character in an XML document.
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2016-2099 xerces-c: Use-after-free in heap on specially crafted XML input [epel-6]
bugzilla·2016-05-10·CVSS 9.8
CVE-2016-2099 [CRITICAL] CVE-2016-2099 xerces-c: Use-after-free in heap on specially crafted XML input [epel-6]
CVE-2016-2099 xerces-c: Use-after-free in heap on specially crafted XML input [epel-6]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of Fedora EPEL.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
[bug automatically created by: add-trackin
Bugzilla
CVE-2016-2099 mingw-xerces-c: xerces-c: Use-after-free in heap on specially crafted XML input [fedora-all]
bugzilla·2016-05-10·CVSS 9.8
CVE-2016-2099 [CRITICAL] CVE-2016-2099 mingw-xerces-c: xerces-c: Use-after-free in heap on specially crafted XML input [fedora-all]
CVE-2016-2099 mingw-xerces-c: xerces-c: Use-after-free in heap on specially crafted XML input [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of Fedora.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects mu
Bugzilla
CVE-2016-2099 xerces-c: Use-after-free in heap on specially crafted XML input [fedora-all]
bugzilla·2016-05-10·CVSS 9.8
CVE-2016-2099 [CRITICAL] CVE-2016-2099 xerces-c: Use-after-free in heap on specially crafted XML input [fedora-all]
CVE-2016-2099 xerces-c: Use-after-free in heap on specially crafted XML input [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of Fedora.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects multiple supported
Bugzilla
CVE-2016-2099 xerces-c27: xerces-c: Use-after-free in heap on specially crafted XML input [fedora-all]
bugzilla·2016-05-10·CVSS 9.8
CVE-2016-2099 [CRITICAL] CVE-2016-2099 xerces-c27: xerces-c: Use-after-free in heap on specially crafted XML input [fedora-all]
CVE-2016-2099 xerces-c27: xerces-c: Use-after-free in heap on specially crafted XML input [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of Fedora.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects multip
Bugzilla
CVE-2016-2099 xerces-c: Use-after-free in heap on specially crafted XML input
bugzilla·2016-02-22·CVSS 9.8
CVE-2016-2099 [CRITICAL] CVE-2016-2099 xerces-c: Use-after-free in heap on specially crafted XML input
CVE-2016-2099 xerces-c: Use-after-free in heap on specially crafted XML input
A use-after-free vulnerability in heap triggered by parsing specially crafted XML input was reported.
Discussion:
Created attachment 1129358
Backtrace report
---
Upstream bug:
https://issues.apache.org/jira/browse/XERCESC-2066
"The DTDScanner fails to account for the fact that peeking characters in the XMLReader class can raise an exception if an invalid character is encountered, and the exception crosses stack frames in an unsafe way that causes a higher level exception handler to access an already-freed object."
---
Created mingw-xerces-c tracking bugs for this issue:
Affects: fedora-all [bug 1334687]
---
Created xerces-c tracking bugs for this issue:
Affects: fedora-all [bug 1334686]
Affects: epel
http://lists.opensuse.org/opensuse-updates/2016-07/msg00016.htmlhttp://lists.opensuse.org/opensuse-updates/2016-07/msg00053.htmlhttp://lists.opensuse.org/opensuse-updates/2016-09/msg00013.htmlhttp://www.debian.org/security/2016/dsa-3579http://www.openwall.com/lists/oss-security/2016/05/09/7http://www.oracle.com/technetwork/security-advisory/cpujul2018-4258247.htmlhttp://www.securityfocus.com/bid/90502https://issues.apache.org/jira/browse/XERCESC-2066https://security.gentoo.org/glsa/201612-46http://lists.opensuse.org/opensuse-updates/2016-07/msg00016.htmlhttp://lists.opensuse.org/opensuse-updates/2016-07/msg00053.htmlhttp://lists.opensuse.org/opensuse-updates/2016-09/msg00013.htmlhttp://www.debian.org/security/2016/dsa-3579http://www.openwall.com/lists/oss-security/2016/05/09/7http://www.oracle.com/technetwork/security-advisory/cpujul2018-4258247.htmlhttp://www.securityfocus.com/bid/90502https://issues.apache.org/jira/browse/XERCESC-2066https://security.gentoo.org/glsa/201612-46
2016-05-13
Published