CVE-2008-2935 Memory corruption in n/a

High 7.5 Published Updated

Heap-based buffer overflows in libxslt allow attackers to execute arbitrary code via a malicious XML file processed by the application.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2008-2935?

CVE-2008-2935 is a high-severity memory corruption vulnerability in n/a, published on 1 Aug 2008. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official 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."

Weakness: CWE-119

Which versions are affected by CVE-2008-2935?

It affects 1 product.

Linux distribution packages (26)
libxslt Red Hat:enterprise_linux:4::asAll versions0:1.1.11-1.el4_7.2
libxslt-debuginfo Red Hat:enterprise_linux:4::asAll versions0:1.1.11-1.el4_7.2
libxslt-devel Red Hat:enterprise_linux:4::asAll versions0:1.1.11-1.el4_7.2
libxslt-python Red Hat:enterprise_linux:4::asAll versions0:1.1.11-1.el4_7.2
libxslt Red Hat:enterprise_linux:4::desktopAll versions0:1.1.11-1.el4_7.2
libxslt-debuginfo Red Hat:enterprise_linux:4::desktopAll versions0:1.1.11-1.el4_7.2
libxslt-devel Red Hat:enterprise_linux:4::desktopAll versions0:1.1.11-1.el4_7.2
libxslt-python Red Hat:enterprise_linux:4::desktopAll versions0:1.1.11-1.el4_7.2
libxslt Red Hat:enterprise_linux:4::esAll versions0:1.1.11-1.el4_7.2
libxslt-debuginfo Red Hat:enterprise_linux:4::esAll versions0:1.1.11-1.el4_7.2
libxslt-devel Red Hat:enterprise_linux:4::esAll versions0:1.1.11-1.el4_7.2
libxslt-python Red Hat:enterprise_linux:4::esAll versions0:1.1.11-1.el4_7.2
libxslt Red Hat:enterprise_linux:4::wsAll versions0:1.1.11-1.el4_7.2
libxslt-debuginfo Red Hat:enterprise_linux:4::wsAll versions0:1.1.11-1.el4_7.2
libxslt-devel Red Hat:enterprise_linux:4::wsAll versions0:1.1.11-1.el4_7.2
libxslt-python Red Hat:enterprise_linux:4::wsAll versions0:1.1.11-1.el4_7.2
libxslt Red Hat:enterprise_linux:5::clientAll versions0:1.1.17-2.el5_2.2
libxslt-debuginfo Red Hat:enterprise_linux:5::clientAll versions0:1.1.17-2.el5_2.2
libxslt-python Red Hat:enterprise_linux:5::clientAll versions0:1.1.17-2.el5_2.2
libxslt Red Hat:enterprise_linux:5::client_workstationAll versions0:1.1.17-2.el5_2.2
libxslt-debuginfo Red Hat:enterprise_linux:5::client_workstationAll versions0:1.1.17-2.el5_2.2
libxslt-devel Red Hat:enterprise_linux:5::client_workstationAll versions0:1.1.17-2.el5_2.2
libxslt Red Hat:enterprise_linux:5::serverAll versions0:1.1.17-2.el5_2.2
libxslt-debuginfo Red Hat:enterprise_linux:5::serverAll versions0:1.1.17-2.el5_2.2
libxslt-devel Red Hat:enterprise_linux:5::serverAll versions0:1.1.17-2.el5_2.2
libxslt-python Red Hat:enterprise_linux:5::serverAll versions0:1.1.17-2.el5_2.2

Products include Xmlsoft Libxslt.

How do I fix CVE-2008-2935?

Upgrade to a fixed version.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2008-2935 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2008-2935 exists.

Public exploit code: 1 Exploit-DB entry.

Sources

Also known as DEBIAN-CVE-2008-2935, DSA-1624-1, DTSA-152-1, GHSA-4597-8mcf-pw36, RHSA-2008:0649.

Is CVE-2008-2935 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free