CVE-2025-32414
libxml2: Out-of-Bounds Read in libxml2
Overview
Description
In libxml2 before 2.13.8 and 2.14.x before 2.14.2, out-of-bounds memory access can occur in the Python API (Python bindings) because of an incorrect return value. This occurs in xmlPythonFileRead and xmlPythonFileReadRaw because of a difference between bytes and characters.
Source: OX vulnerability database
Severity
7.5 · HIGH
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness: CWE-393, CWE-252
Affected packages · 4
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Bitnami | java | <1.8.0>=1.9.0, <8.0.461 | 1.8.08.0.461 |
| Bitnami | java-min | <1.8.0>=1.9.0, <8.0.461 | 1.8.08.0.461 |
| Bitnami | jre | <1.8.0>=1.9.0, <8.0.461 | 1.8.08.0.461 |
| Julia | XML2_jll | <2.13.8+0>=2.14.1+0, <2.14.4+0 | 2.13.8+02.14.4+0 |
Open a package to see all its vulnerabilities.
Operating systems · 61 fixes
Azure Linux 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 3.0 | libxml2 | 0:2.11.5-5.azl3 |
Oracle Linux 3 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 7 | libxml2 +3 | 2.9.1-6.0.7.el7_9.6 |
| 8 | libxml2 +2 | 2.9.7-20.el8_10 |
| 9 | libxml2 +2 | 2.9.13-12.el9_6 |
Photon OS 2 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 4.0 | libxml2 +2 | 2.9.12-17.ph4 |
| 5.0 | libxml2 +2 | 2.12.10-3.ph5 |
Red Hat 3 releases · 2 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 7 | openshift-ose-rhel-coreos-8 +1 | affected | — |
| 7 | libxml2 +3 | 0:2.9.1-6.el7_9.10 | RHSA-2025:12240 |
| 8 | openshift-ose-rhel-coreos-8 +1 | affected | — |
| 8 | libxml2 +2 | 0:2.9.7-13.el8_6.10 | RHSA-2025:12098 |
| 8 | libxml2 +2 | 0:2.9.7-16.el8_8.9 | RHSA-2025:12239 |
| 8 | libxml2 +2 | 0:2.9.7-20.el8_10 | RHSA-2025:8958 |
7 more rows
SUSE Linux Enterprise 2 releases · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 12.5 | libxml2-2 +5 | 2.9.4-46.84.1 | SUSE-SU-2025:1440-1 |
| 15.6 | libxml2-2 +5 | 2.10.3-150500.5.26.1 | SUSE-SU-2025:1438-1 |
SUSE Linux Enterprise Micro 7 releases · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 5.1 | libxml2-2 +1 | 2.9.7-150000.3.79.1 | SUSE-SU-2025:1439-1 |
| 5.2 | libxml2-2 +2 | 2.9.7-150000.3.79.1 | SUSE-SU-2025:1439-1 |
| 5.3 | libxml2-2 +2 | 2.9.14-150400.5.41.1 | SUSE-SU-2025:1435-1 |
| 5.4 | libxml2-2 +2 | 2.9.14-150400.5.41.1 | SUSE-SU-2025:1435-1 |
| 5.5 | libxml2-2 +2 | 2.10.3-150500.5.26.1 | SUSE-SU-2025:1438-1 |
| 6.0 | libxml2-2 +1 | 2.11.6-8.1 | SUSE-SU-2025:20333-1 |
1 more row
alma 2 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 8 | libxml2 +2 | 2.9.7-20.el8_10 |
| 9 | libxml2 +2 | 2.9.13-12.el9_6 |
alpine 4 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 3.22 | libxml2 | 2.13.8-r0 |
| 3.23 | libxml2 | 2.13.8-r0 |
| 3.24 | libxml2 | 2.13.8-r0 |
| edge | libxml2 | 2.13.8-r0 |
amazon linux 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 2023 | libxml2 +6 | 2.10.4-1.amzn2023.0.10 |
chainguard 1 release · 3 packages
| Release | Package | Fixed in |
|---|---|---|
| openjdk-17-openj9 +1 | 0.53.0-r0 | |
| openjdk-8-openj9 | 0.53.0-r1 | |
| openjdk-25-openj9 +1 | 0.59.0-r1 |
debian 4 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 11 | libxml2 | 2.9.10+dfsg-6.7+deb11u7 |
| 12 | libxml2 | 2.9.14+dfsg-1.3~deb12u2 |
| 13 | libxml2 | 2.12.7+dfsg+really2.9.14-1 |
| 14 | libxml2 | 2.12.7+dfsg+really2.9.14-1 |
echo 1 release · 3 packages
| Release | Package | Fixed in |
|---|---|---|
| libxml2-2-11-7 | 2.11.7+e1 | |
| libxml2-2-9-1 | 2.9.1+e1 | |
| libxml2 | 2.9.14+dfsg-1.3~deb12u2 |
openSUSE 1 release · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | libxml2-2 +5 | 2.13.8-1.1 | openSUSE-SU-2025:15019-1 |
rocky 3 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 10 | libxml2 +2 | 2.12.5-9.el10_0 |
| 8 | libxml2 +1 | 2.9.7-20.el8_10 |
| 9 | libxml2 +2 | 2.9.13-12.el9_6 |
root.io debian 3 releases · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 11 | rootio-libxml2 | 2.9.10+dfsg-6.7+deb11u7 |
| 12 | libxml2 +1 | 2.9.14+dfsg-1.3~deb12u2 |
| 13 | rootio-libxml2 | 2.12.7+dfsg+really2.9.14-1 |
seal Red Hat 3 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 7 | libxml2 +1 | 2.9.1-6.el7_9.6+sp999 |
| 8 | libxml2 +1 | 2.9.7-18.el8_10.1+sp2 |
| 9 | libxml2 +1 | 2.9.13-6.el9_4+sp999 |
seal debian 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| libxml2 +1 | 2.9.14+dfsg-1.3~deb12u4+sp999 |
ubuntu 5 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 18.04-ESM | libxml2 | 2.9.4+dfsg1-6.1ubuntu1.9+esm3 |
| 20.04 | libxml2 | 2.9.10+dfsg-5ubuntu0.20.04.10 |
| 20.04-ESM | libxml2 | 2.9.10+dfsg-5ubuntu0.20.04.10 |
| 22.04 | libxml2 | 2.9.13+dfsg-1ubuntu0.7 |
| 24.04 | libxml2 | 2.9.14+dfsg-1.3ubuntu3.3 |
References
- access.redhat.com https://access.redhat.com/errata/RHSA-2025:13428
- access.redhat.com https://access.redhat.com/errata/RHSA-2025:8958
- access.redhat.com https://access.redhat.com/security/cve/CVE-2025-32414
- bugzilla.redhat.com https://bugzilla.redhat.com/2358121
- bugzilla.redhat.com https://bugzilla.redhat.com/2360768
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2358121
- creativecommons.org https://creativecommons.org/licenses/by/4.0/
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2025-32414
- errata.almalinux.org https://errata.almalinux.org/9/ALSA-2025-13428.html
- errata.rockylinux.org https://errata.rockylinux.org/RLSA-2025:8958
Show all 19 references
- gitlab.gnome.org https://gitlab.gnome.org/GNOME/libxml2/-/issues/889
- linux.oracle.com https://linux.oracle.com/cve/CVE-2025-32414.html
- linux.oracle.com https://linux.oracle.com/errata/ELSA-2025-8958.html
- lists.debian.org https://lists.debian.org/debian-lts-announce/2025/04/msg00041.html
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2025-32414
- ubuntu.com https://ubuntu.com/security/notices/USN-7467-1
- ubuntu.com https://ubuntu.com/security/notices/USN-7467-2
- ubuntu.com https://ubuntu.com/security/notices/USN-7896-1
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2025-32414
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.