CVE-2024-55549 Use after free in libxslt
A use-after-free vulnerability in libxslt allows attackers to potentially execute arbitrary code or cause a denial of service via crafted XSLT stylesheets.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2024-55549?
CVE-2024-55549 is a high-severity use after free vulnerability in xmlsoft libxslt, published on 14 Mar 2025. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
xsltGetInheritedNsList in libxslt before 1.1.43 has a use-after-free issue related to exclusion of result prefixes.
Weakness: CWE-416
Which versions are affected by CVE-2024-55549?
3 open source packages ship an affected version, including java, java-min and jre. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
java Bitnami | All versions | 1.8.0, 8.0.461 |
java-min Bitnami | All versions | 1.8.0, 8.0.461 |
jre Bitnami | All versions | 1.8.0, 8.0.461 |
Linux distribution packages (21)
libxslt AlmaLinux:9 | All versions | 1.1.34-13.el9_6 |
libxslt AlmaLinux:9 | All versions | 1.1.34-9.el9_5.2 |
libxslt-devel AlmaLinux:9 | All versions | 1.1.34-13.el9_6 |
libxslt-devel AlmaLinux:9 | All versions | 1.1.34-9.el9_5.2 |
libxslt Red Hat:enterprise_linux:9::appstream | All versions | 0:1.1.34-13.el9_6 |
libxslt Red Hat:enterprise_linux:9::appstream | All versions | 0:1.1.34-9.el9_5.2 |
libxslt-debuginfo Red Hat:enterprise_linux:9::appstream | All versions | 0:1.1.34-13.el9_6 |
libxslt-debuginfo Red Hat:enterprise_linux:9::appstream | All versions | 0:1.1.34-9.el9_5.2 |
libxslt-debugsource Red Hat:enterprise_linux:9::appstream | All versions | 0:1.1.34-13.el9_6 |
libxslt-debugsource Red Hat:enterprise_linux:9::appstream | All versions | 0:1.1.34-9.el9_5.2 |
libxslt-devel Red Hat:enterprise_linux:9::appstream | All versions | 0:1.1.34-13.el9_6 |
libxslt-devel Red Hat:enterprise_linux:9::appstream | All versions | 0:1.1.34-9.el9_5.2 |
libxslt Red Hat:rhel_eus:9.2::appstream | All versions | 0:1.1.34-11.el9_2 |
libxslt-debuginfo Red Hat:rhel_eus:9.2::appstream | All versions | 0:1.1.34-11.el9_2 |
libxslt-debugsource Red Hat:rhel_eus:9.2::appstream | All versions | 0:1.1.34-11.el9_2 |
libxslt-devel Red Hat:rhel_eus:9.2::appstream | All versions | 0:1.1.34-11.el9_2 |
libxslt Red Hat:rhel_eus:9.4::appstream | All versions | 0:1.1.34-13.el9_4 |
libxslt-debuginfo Red Hat:rhel_eus:9.4::appstream | All versions | 0:1.1.34-13.el9_4 |
libxslt-debugsource Red Hat:rhel_eus:9.4::appstream | All versions | 0:1.1.34-13.el9_4 |
libxslt-devel Red Hat:rhel_eus:9.4::appstream | All versions | 0:1.1.34-13.el9_4 |
libxslt Rocky Linux:9 | All versions | 0:1.1.34-13.el9_6 |
Products include Xmlsoft Libxslt.
How do I fix CVE-2024-55549?
Upgrade java to a fixed version for your release line: 1.8.0 or 8.0.461.
Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.
Is CVE-2024-55549 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-55549 exists.
Other vulnerabilities in xmlsoft libxslt
Sources
Also known as ALPINE-CVE-2024-55549, ALSA-2025:4025, ALSA-2025:7410, AZL-58635, AZL-58680, BELL-CVE-2024-55549 and 20 more.