CVE-2013-2155
Apache Santuario XML Security for C++ (aka xml-security-c) before 1.7.1 does not properly...
Apache Santuario XML Security for C++ (aka xml-security-c) before 1.7.1 does not properly validate length values, which allows remote attackers to cause a denial of service or bypass the CVE-2009-0217 protection mechanism and spoof a signature via crafted length values to the (1) compareBase64StringToRaw, (2) DSIGAlgorithmHandlerDefault, or (3) DSIGAlgorithmHandlerDefault::verify functions.
Exploit likelihood
What each source reports
NVD Score used
5.8
Apache Santuario XML Security for C++ (aka xml-security-c) before 1.7.1 does not properly validate length values, which allows remote attackers to cause a denial of service or bypass the CVE-2009-0217 protection mechanism and spoof a signature via crafted length values to the (1) compareBase64StringToRaw, (2) DSIGAlgorithmHandlerDefault, or (3) DSIGAlgorithmHandlerDefault::verify functions.
- Record
CVE-2013-2155- CVSS 2.0
- 5.8 Medium
AV:N/AC:M/Au:N/C:N/I:P/A:P - Weakness
- CWE-20
- Updated
- 2026-11-02
CVE List No score
Apache Santuario XML Security for C++ (aka xml-security-c) before 1.7.1 does not properly validate length values, which allows remote attackers to cause a denial of service or bypass the CVE-2009-0217 protection mechanism and spoof a signature via crafted length values to the (1) compareBase64StringToRaw, (2) DSIGAlgorithmHandlerDefault, or (3) DSIGAlgorithmHandlerDefault::verify functions.
- Record
CVE-2013-2155- Updated
- 2026-11-02
EUVDEUVD-2013-2120 No score
Apache Santuario XML Security for C++ (aka xml-security-c) before 1.7.1 does not properly validate length values, which allows remote attackers to cause a denial of service or bypass the CVE-2009-0217 protection mechanism and spoof a signature via crafted length values to the (1) compareBase64StringToRaw, (2) DSIGAlgorithmHandlerDefault, or (3) DSIGAlgorithmHandlerDefault::verify functions.
- Record
EUVD-2013-2120- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-pq9g-7grj-xrm8 No score
Apache Santuario XML Security for C++ (aka xml-security-c) before 1.7.1 does not properly...
Apache Santuario XML Security for C++ (aka xml-security-c) before 1.7.1 does not properly validate length values, which allows remote attackers to cause a denial of service or bypass the CVE-2009-0217 protection mechanism and spoof a signature via crafted length values to the (1) compareBase64StringToRaw, (2) DSIGAlgorithmHandlerDefault, or (3) DSIGAlgorithmHandlerDefault::verify functions.
- Record
GHSA-pq9g-7grj-xrm8- Weakness
- CWE-20
- Updated
- 2026-11-02
OSV No score
Apache Santuario XML Security for C++ (aka xml-security-c) before 1.7.1 does not properly validate length values, which allows remote attackers to cause a denial of service or bypass the CVE-2009-0217 protection mechanism and spoof a signature via crafted length values to the (1) compareBase64StringToRaw, (2) DSIGAlgorithmHandlerDefault, or (3) DSIGAlgorithmHandlerDefault::verify functions.
- Record
CVE-2013-2155- Updated
- 2026-11-02
OSVDEBIAN-CVE-2013-2155 No score
Apache Santuario XML Security for C++ (aka xml-security-c) before 1.7.1 does not properly validate length values, which allows remote attackers to cause a denial of service or bypass the CVE-2009-0217 protection mechanism and spoof a signature via crafted length values to the (1) compareBase64StringToRaw, (2) DSIGAlgorithmHandlerDefault, or (3) DSIGAlgorithmHandlerDefault::verify functions.
- Record
DEBIAN-CVE-2013-2155- 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-2155 is a medium vulnerability (CVSS 5.8) 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 5.80%, the 93rd percentile. Fixed in xml-security-c 1.6.1-6.
References
svn.apache.org/viewvc/santuario/xml-security-cpp/trunk/xsec/dsig/DSIGAlgorithmHandlerDefault.cpp?r1=1125752&r2=1493960&pathrev=1493960&diff_format=h
debian.org/security/2013/dsa-2710
tenable.com/security/tns-2018-15
santuario.apache.org/secadv.data/CVE-2013-2155.txt
archives.neohapsis.com/archives/fulldisclosure/2013-06/0142.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-2155
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-pq9g-7grj-xrm8
security-tracker.debian.org/tracker/CVE-2013-2155
advisories.mageia.org/MGASA-2013-0193.html
santuario.apache.org/secadv.html
bugs.mageia.org/show_bug.cgi?id=10563