CVE-2013-2154
Stack-based buffer overflow in the XML Signature Reference functionality (xsec/dsig/DSIGReference...
Stack-based buffer overflow in the XML Signature Reference functionality (xsec/dsig/DSIGReference.cpp) in Apache Santuario XML Security for C++ (aka xml-security-c) before 1.7.1 allows context-dependent attackers to cause a denial of service (crash) and possibly execute arbitrary code via malformed XPointer expressions, probably related to the DSIGReference::getURIBaseTXFM function.
Exploit likelihood
What each source reports
NVD Score used
7.5
Stack-based buffer overflow in the XML Signature Reference functionality (xsec/dsig/DSIGReference.cpp) in Apache Santuario XML Security for C++ (aka xml-security-c) before 1.7.1 allows context-dependent attackers to cause a denial of service (crash) and possibly execute arbitrary code via malformed XPointer expressions, probably related to the DSIGReference::getURIBaseTXFM function.
- Record
CVE-2013-2154- CVSS 2.0
- 7.5 High
AV:N/AC:L/Au:N/C:P/I:P/A:P - Weakness
- CWE-119
- Updated
- 2026-11-02
CVE List No score
Stack-based buffer overflow in the XML Signature Reference functionality (xsec/dsig/DSIGReference.cpp) in Apache Santuario XML Security for C++ (aka xml-security-c) before 1.7.1 allows context-dependent attackers to cause a denial of service (crash) and possibly execute arbitrary code via malformed XPointer expressions, probably related to the DSIGReference::getURIBaseTXFM function.
- Record
CVE-2013-2154- Updated
- 2026-11-02
EUVDEUVD-2013-2119 No score
Stack-based buffer overflow in the XML Signature Reference functionality (xsec/dsig/DSIGReference.cpp) in Apache Santuario XML Security for C++ (aka xml-security-c) before 1.7.1 allows context-dependent attackers to cause a denial of service (crash) and possibly execute arbitrary code via malformed XPointer expressions, probably related to the DSIGReference::getURIBaseTXFM function.
- Record
EUVD-2013-2119- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-73cf-v5cj-5xh7 No score
Stack-based buffer overflow in the XML Signature Reference functionality (xsec/dsig/DSIGReference...
Stack-based buffer overflow in the XML Signature Reference functionality (xsec/dsig/DSIGReference.cpp) in Apache Santuario XML Security for C++ (aka xml-security-c) before 1.7.1 allows context-dependent attackers to cause a denial of service (crash) and possibly execute arbitrary code via malformed XPointer expressions, probably related to the DSIGReference::getURIBaseTXFM function.
- Record
GHSA-73cf-v5cj-5xh7- Weakness
- CWE-119
- Updated
- 2026-11-02
OSV No score
Stack-based buffer overflow in the XML Signature Reference functionality (xsec/dsig/DSIGReference.cpp) in Apache Santuario XML Security for C++ (aka xml-security-c) before 1.7.1 allows context-dependent attackers to cause a denial of service (crash) and possibly execute arbitrary code via malformed XPointer expressions, probably related to the DSIGReference::getURIBaseTXFM function.
- Record
CVE-2013-2154- Updated
- 2026-11-02
OSVDEBIAN-CVE-2013-2154 No score
Stack-based buffer overflow in the XML Signature Reference functionality (xsec/dsig/DSIGReference.cpp) in Apache Santuario XML Security for C++ (aka xml-security-c) before 1.7.1 allows context-dependent attackers to cause a denial of service (crash) and possibly execute arbitrary code via malformed XPointer expressions, probably related to the DSIGReference::getURIBaseTXFM function.
- Record
DEBIAN-CVE-2013-2154- Updated
- 2026-11-02
OSVMGASA-2013-0193 No score
Updated xml-security-c package fixes multiple security vulnerabilities
The implementation of XML digital signatures in the Santuario-C++ library is vulnerable to a spoofing issue allowing an attacker to reuse existing signatures with arbitrary content (CVE-2013-2153).
A stack overflow, possibly leading to arbitrary code execution, exists in the processing of malformed XPointer expressions in the XML Signature Reference processing code (CVE-2013-2154).
A bug in the processing of the output length of an HMAC-based XML Signature would cause a denial of service when processing specially chosen input (CVE-2013-2155).
A heap overflow exists in the processing of the PrefixList attribute optionally used in conjunction with Exclusive Canonicalization, potentially allowing arbitrary code execution (CVE-2013-2156).
The attempted fix to address CVE-2013-2154 introduced the possibility of a heap overflow, possibly leading to arbitrary code execution, in the processing of malformed XPointer expressions in the XML Signature Reference processing code (CVE-2013-2210).
- Record
MGASA-2013-0193- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
xml-security-cDebian:12 |
before 1.6.1-6 | 1.6.1-6 |
xml-security-cDebian:13 |
before 1.6.1-6 | 1.6.1-6 |
xml-security-cDebian:14 |
before 1.6.1-6 | 1.6.1-6 |
xml-security-cDebian:6.0 |
before 1.5.1-3+squeeze2, plus listed versions 1.5.1-31.5.1-3+squeeze11.5.1-3+squeeze1~bpo50+1 |
1.5.1-3+squeeze2 |
xml-security-cDebian:7 |
before 1.6.1-5+deb7u1, plus listed versions 1.6.1-51.6.1-5+deb7u1~bpo60+1 |
1.6.1-5+deb7u1 |
xml-security-cMageia:2 |
before 1.6.1-1.2.mga2 | 1.6.1-1.2.mga2 |
xml-security-cMageia:3 |
before 1.7.0-2.2.mga3 | 1.7.0-2.2.mga3 |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2013-2154 is a high vulnerability (CVSS 7.5) in Apache Xml Security For C\+\+, published June 18, 2013. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 8.03%, the 94th percentile. Fixed in xml-security-c 1.6.1-6.
References
santuario.apache.org/secadv.data/CVE-2013-2154.txt
svn.apache.org/viewvc/santuario/xml-security-cpp/trunk/xsec/dsig/DSIGReference.cpp?r1=1125514&r2=1493959&pathrev=1493959&diff_format=h
debian.org/security/2013/dsa-2710
tenable.com/security/tns-2018-15
archives.neohapsis.com/archives/fulldisclosure/2013-06/0141.html
lists.apache.org/thread.html/680e6938b6412e26d5446054fd31de2011d33af11786b989127d1cc3%40%3Ccommits.santuario.apache.org%3E
Show 9 moreShow less
lists.apache.org/thread.html/r1c07a561426ec5579073046ad7f4207cdcef452bb3100abaf908e0cd%40%3Ccommits.santuario.apache.org%3E
nvd.nist.gov/vuln/detail/CVE-2013-2154
lists.apache.org/thread.html/680e6938b6412e26d5446054fd31de2011d33af11786b989127d1cc3@%3Ccommits.santuario.apache.org%3E
lists.apache.org/thread.html/r1c07a561426ec5579073046ad7f4207cdcef452bb3100abaf908e0cd@%3Ccommits.santuario.apache.org%3E
github.com/advisories/GHSA-73cf-v5cj-5xh7
security-tracker.debian.org/tracker/CVE-2013-2154
advisories.mageia.org/MGASA-2013-0193.html
santuario.apache.org/secadv.html
bugs.mageia.org/show_bug.cgi?id=10563