CVE-2025-32415 Memory corruption in libxml2
A heap-based buffer under-read in libxml2 allows attackers to cause denial of service or potentially execute code via crafted XML documents or schemas.
- 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-2025-32415?
CVE-2025-32415 is a low-severity memory corruption vulnerability in Xmlsoft Libxml2, published on 17 Apr 2025. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
In libxml2 before 2.13.8 and 2.14.x before 2.14.2, xmlSchemaIDCFillNodeTables in xmlschemas.c has a heap-based buffer under-read. To exploit this, a crafted XML document must be validated against an XML schema with certain identity constraints, or a crafted XML schema must be used.
Which versions are affected by CVE-2025-32415?
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 (37)
libxml2 AlmaLinux:8 | All versions | 2.9.7-21.el8_10.3 |
libxml2-devel AlmaLinux:8 | All versions | 2.9.7-21.el8_10.3 |
python3-libxml2 AlmaLinux:8 | All versions | 2.9.7-21.el8_10.3 |
libxml2-debuginfo Red Hat:enterprise_linux:8::appstream | All versions | 0:2.9.7-21.el8_10.3 |
libxml2-debugsource Red Hat:enterprise_linux:8::appstream | All versions | 0:2.9.7-21.el8_10.3 |
libxml2-devel Red Hat:enterprise_linux:8::appstream | All versions | 0:2.9.7-21.el8_10.3 |
python3-libxml2-debuginfo Red Hat:enterprise_linux:8::appstream | All versions | 0:2.9.7-21.el8_10.3 |
libxml2 Red Hat:enterprise_linux:8::baseos | All versions | 0:2.9.7-21.el8_10.3 |
libxml2-debuginfo Red Hat:enterprise_linux:8::baseos | All versions | 0:2.9.7-21.el8_10.3 |
libxml2-debugsource Red Hat:enterprise_linux:8::baseos | All versions | 0:2.9.7-21.el8_10.3 |
python3-libxml2 Red Hat:enterprise_linux:8::baseos | All versions | 0:2.9.7-21.el8_10.3 |
python3-libxml2-debuginfo Red Hat:enterprise_linux:8::baseos | All versions | 0:2.9.7-21.el8_10.3 |
libxml2-debuginfo Red Hat:rhel_aus:8.2::appstream | All versions | 0:2.9.7-9.el8_2.5 |
libxml2-debugsource Red Hat:rhel_aus:8.2::appstream | All versions | 0:2.9.7-9.el8_2.5 |
libxml2-devel Red Hat:rhel_aus:8.2::appstream | All versions | 0:2.9.7-9.el8_2.5 |
python3-libxml2-debuginfo Red Hat:rhel_aus:8.2::appstream | All versions | 0:2.9.7-9.el8_2.5 |
libxml2 Red Hat:rhel_aus:8.2::baseos | All versions | 0:2.9.7-9.el8_2.5 |
libxml2-debuginfo Red Hat:rhel_aus:8.2::baseos | All versions | 0:2.9.7-9.el8_2.5 |
libxml2-debugsource Red Hat:rhel_aus:8.2::baseos | All versions | 0:2.9.7-9.el8_2.5 |
python3-libxml2 Red Hat:rhel_aus:8.2::baseos | All versions | 0:2.9.7-9.el8_2.5 |
python3-libxml2-debuginfo Red Hat:rhel_aus:8.2::baseos | All versions | 0:2.9.7-9.el8_2.5 |
libxml2-debuginfo Red Hat:rhel_aus:8.4::appstream | All versions | 0:2.9.7-9.el8_4.8 |
libxml2-debugsource Red Hat:rhel_aus:8.4::appstream | All versions | 0:2.9.7-9.el8_4.8 |
libxml2-devel Red Hat:rhel_aus:8.4::appstream | All versions | 0:2.9.7-9.el8_4.8 |
python3-libxml2-debuginfo Red Hat:rhel_aus:8.4::appstream | All versions | 0:2.9.7-9.el8_4.8 |
libxml2 Red Hat:rhel_aus:8.4::baseos | All versions | 0:2.9.7-9.el8_4.8 |
libxml2-debuginfo Red Hat:rhel_aus:8.4::baseos | All versions | 0:2.9.7-9.el8_4.8 |
libxml2-debugsource Red Hat:rhel_aus:8.4::baseos | All versions | 0:2.9.7-9.el8_4.8 |
python3-libxml2 Red Hat:rhel_aus:8.4::baseos | All versions | 0:2.9.7-9.el8_4.8 |
python3-libxml2-debuginfo Red Hat:rhel_aus:8.4::baseos | All versions | 0:2.9.7-9.el8_4.8 |
libxml2-debuginfo Red Hat:rhel_aus:8.6::appstream | All versions | 0:2.9.7-13.el8_6.12 |
libxml2-debugsource Red Hat:rhel_aus:8.6::appstream | All versions | 0:2.9.7-13.el8_6.12 |
libxml2-devel Red Hat:rhel_aus:8.6::appstream | All versions | 0:2.9.7-13.el8_6.12 |
python3-libxml2-debuginfo Red Hat:rhel_aus:8.6::appstream | All versions | 0:2.9.7-13.el8_6.12 |
libxml2 Red Hat:rhel_aus:8.6::baseos | All versions | 0:2.9.7-13.el8_6.12 |
libxml2-debuginfo Red Hat:rhel_aus:8.6::baseos | All versions | 0:2.9.7-13.el8_6.12 |
libxml2-debugsource Red Hat:rhel_aus:8.6::baseos | All versions | 0:2.9.7-13.el8_6.12 |
Products include Xmlsoft Libxml2.
How do I fix CVE-2025-32415?
Upgrade java to a fixed version for your release line: 1.8.0 or 8.0.461.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2025-32415 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-32415 exists.
Other vulnerabilities in Xmlsoft Libxml2
Sources
Also known as ALPINE-CVE-2025-32415, ALSA-2025:13203, AZL-60863, AZL-60886, BELL-CVE-2025-32415, BIT-java-2025-32415 and 24 more.