Description
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.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | xml-security-c | 1.6.1-6 | — |
| Debian 13 | xml-security-c | 1.6.1-6 | — |
| Debian 12 | xml-security-c | 1.6.1-6 | — |
| Debian 7 | xml-security-c | 1.6.1-5+deb7u1 | DSA-2710-1 |
| Debian 6.0 | xml-security-c | 1.5.1-3+squeeze2 | DSA-2710-1 |
Advisories 1
- DSA-2710-1 xml-security-c - several Debian Security (DSA / DLA) · Mar 9, 2026
References
- http://santuario.apache.org/secadv.data/CVE-2013-2154.txt
- http://svn.apache.org/viewvc/santuario/xml-security-cpp/trunk/xsec/dsig/DSIGReference.cpp?r1=1125514&r2=1493959&pathrev=1493959&diff_format=h
- DSA-2710 vendor-advisory
- https://www.tenable.com/security/tns-2018-15
- 20130617 CVE-2013-2154: Apache Santuario C++ stack overflow vulnerability mailing-list
- [santuario-commits] 20190823 svn commit: r1049214 - in /websites/production/santuario/content: cache/main.pageCache download.html index.html javaindex.html javareleasenotes.html secadv.data/CVE-2019-12400.asc secadv.html mailing-list
- [santuario-commits] 20210917 svn commit: r1076843 - in /websites/production/santuario/content: cache/main.pageCache index.html javaindex.html secadv.data/CVE-2021-40690.txt.asc secadv.html mailing-list