Description
Multiple heap-based buffer overflows in the rc4 (1) encryption (aka exsltCryptoRc4EncryptFunction) and (2) decryption (aka exsltCryptoRc4DecryptFunction) functions in crypto.c in libexslt in libxslt 1.1.8 through 1.1.24 allow context-dependent attackers to execute arbitrary code via an XML file containing a long string as "an argument in the XSL input."
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 | libxslt | 1.1.24-2 | — |
| Debian 13 | libxslt | 1.1.24-2 | — |
| Debian 12 | libxslt | 1.1.24-2 | — |
| Debian 5.0 | libxslt | 1.1.24-1+lenny1 | DTSA-152-1 |
| Debian 4.0 | libxslt | 1.1.19-3 | DSA-1624-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 5 | libxslt +2 | 1.1.17-2.el5_2.2 | RHSA-2008:0649 |
| RHEL 4 | libxslt +2 | 1.1.11-1.el4_7.2 | RHSA-2008:0649 |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Exploit-DB 1
- libxslt 1.1.x - RC4 Encryption and Decryption functions Buffer Overflow EDB-32133 · remote · Jul 31, 2008 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Advisories 3
- RHSA-2008:0649 Red Hat Security Advisory: libxslt security update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- DSA-1624-1 libxslt - arbitrary code execution Debian Security (DSA / DLA) · Mar 9, 2026
- DTSA-152-1 libxslt - arbitrary code execution Debian Security (DSA / DLA) · Mar 9, 2026
References
- RHSA-2008:0649 vendor-advisory
- oval:org.mitre.oval:def:10827 vdb-entry signature
- libxslt-multiple-crypto-bo(44141) vdb-entry
- http://wiki.rpath.com/wiki/Advisories:rPSA-2008-0306
- 32453 third-party-advisory
- 31399 third-party-advisory
- 31363 third-party-advisory
- http://www.scary.beasts.org/security/CESA-2008-003.html
- FEDORA-2008-7029 vendor-advisory
- 20080731 [oCERT-2008-009] libxslt heap overflow mailing-list
- 30467 vdb-entry
- http://www.ocert.org/patches/exslt_crypt.patch
- 4078 third-party-advisory
- GLSA-200808-06 vendor-advisory
- 31310 third-party-advisory
- MDVSA-2008:160 vendor-advisory
- USN-633-1 vendor-advisory
- 31331 third-party-advisory
- 20081027 rPSA-2008-0306-1 libxslt mailing-list
- 20080801 libxslt heap overflow mailing-list
- 31230 third-party-advisory
- FEDORA-2008-7062 vendor-advisory
- ADV-2008-2266 vdb-entry
- 1020596 vdb-entry
- DSA-1624 vendor-advisory
- 31395 third-party-advisory
- http://www.ocert.org/advisories/ocert-2008-009.html