# CVE-2025-32414: libxml2: In libxml2 before 2.13.8 and 2.14.x before 2.14.2, out-of-bounds memoryaccess can occur in the Python API (Python bin...

CVE-2025-32414 is fixed in 11 products on 1 platform, first by DEBIAN-CVE-2025-32414, released April 8, 2025. It is not reported as exploited. Patch Radar priority: High.

- Web page: https://patchblox.com/security/cve/CVE-2025-32414
- Priority: High
- CVSS: 7.5 (Medium)
- EPSS: 0.0038
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Apr 7, 2025

## Description

In libxml2 before 2.13.8 and 2.14.x before 2.14.2, out-of-bounds memoryaccess can occur in the Python API (Python bindings) because of anincorrect return value. This occurs in xmlPythonFileRead andxmlPythonFileReadRaw because of a difference between bytes and characters.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | libxml2 Debian 11.6 (bullseye) | 2.9.10+dfsg-6.7+deb11u7 | [DLA-4146-1](https://patchblox.com/security/data/fix/linux/dla-4146-1.md) | Apr 30, 2025 |
| Linux | libxml2 Debian 12.15 (bookworm) | 2.9.14+dfsg-1.3~deb12u2 | [DEBIAN-CVE-2025-32414](https://patchblox.com/security/data/fix/linux/debian-cve-2025-32414.md) | Apr 8, 2025 |
| Linux | libxml2 Debian 13.5 (trixie) | 2.12.7+dfsg+really2.9.14-1 | [DEBIAN-CVE-2025-32414](https://patchblox.com/security/data/fix/linux/debian-cve-2025-32414.md) | Apr 8, 2025 |
| Linux | libxml2 Debian 14 | 2.12.7+dfsg+really2.9.14-1 | [DEBIAN-CVE-2025-32414](https://patchblox.com/security/data/fix/linux/debian-cve-2025-32414.md) | Apr 8, 2025 |
| Linux | libxml2 RHEL 10 | 2.12.5-9.el10_0 | [RHSA-2025:13429](https://patchblox.com/security/data/fix/linux/rhsa-2025-13429.md) | Apr 17, 2025 |
| Linux | libxml2 RHEL 8 | 0:2.9.7-20.el8_10 | [RHSA-2025:8958](https://patchblox.com/security/data/fix/linux/rhsa-2025-8958.md) | Jun 11, 2025 |
| Linux | libxml2 RHEL 9 | 0:2.9.13-12.el9_6 | [RHSA-2025:13428](https://patchblox.com/security/data/fix/linux/rhsa-2025-13428.md) | Aug 7, 2025 |
| Linux | libxml2 Ubuntu 18.04.6 LTS (bionic) | 2.9.4+dfsg1-6.1ubuntu1.9+esm3 | [libxml2 2.9.4+dfsg1-6.1ubuntu1.9+esm3](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libxml2-2.9.4-dfsg1-6.1ubuntu1.9-esm3.md) | Apr 17, 2025 |
| Linux | libxml2 Ubuntu 20.04 LTS (focal) | 2.9.10+dfsg-5ubuntu0.20.04.10 | [libxml2 2.9.10+dfsg-5ubuntu0.20.04.10](https://patchblox.com/security/data/fix/linux/ubuntu-focal-libxml2-2.9.10-dfsg-5ubuntu0.20.04.10.md) | Apr 17, 2025 |
| Linux | libxml2 Ubuntu 22.04.1 LTS (jammy) | 2.9.13+dfsg-1ubuntu0.7 | [libxml2 2.9.13+dfsg-1ubuntu0.7](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-libxml2-2.9.13-dfsg-1ubuntu0.7.md) | Apr 17, 2025 |
| Linux | libxml2 Ubuntu 24.04.5 LTS (noble) | 2.9.14+dfsg-1.3ubuntu3.3 | [libxml2 2.9.14+dfsg-1.3ubuntu3.3](https://patchblox.com/security/data/fix/linux/ubuntu-noble-libxml2-2.9.14-dfsg-1.3ubuntu3.3.md) | Apr 17, 2025 |
| Linux | libxml2 Ubuntu 24.10 (oracular) | 2.12.7+dfsg-3ubuntu0.3 | [libxml2 2.12.7+dfsg-3ubuntu0.3](https://patchblox.com/security/data/fix/linux/ubuntu-oracular-libxml2-2.12.7-dfsg-3ubuntu0.3.md) | Jan 16, 2026 |
| Linux | libxml2 Ubuntu 25.04 (plucky) | 2.12.7+dfsg+really2.9.14-0.4ubuntu0.1 | [libxml2 2.12.7+dfsg+really2.9.14-0.4ubuntu0.1](https://patchblox.com/security/data/fix/linux/ubuntu-plucky-libxml2-2.12.7-dfsg-really2.9.14-0.4ubuntu0.1.md) | Jan 16, 2026 |
| Linux | libxml2 Ubuntu 25.10 (questing) | 2.12.7+dfsg+really2.9.14-0.4ubuntu0.1 | [libxml2 2.12.7+dfsg+really2.9.14-0.4ubuntu0.1](https://patchblox.com/security/data/fix/linux/ubuntu-questing-libxml2-2.12.7-dfsg-really2.9.14-0.4ubuntu0.1.md) | Apr 17, 2025 |
| Linux | libxml2 almalinux 10 | 2.12.5-9.el10_0 | [ALSA-2025:13429](https://patchblox.com/security/data/fix/linux/alsa-2025-13429.md) | Aug 7, 2025 |
| Linux | libxml2 almalinux 8 | 2.9.7-20.el8_10 | [ALSA-2025:8958](https://patchblox.com/security/data/fix/linux/alsa-2025-8958.md) | Jun 11, 2025 |
| Linux | libxml2 almalinux 9 | 2.9.13-12.el9_6 | [ALSA-2025:13428](https://patchblox.com/security/data/fix/linux/alsa-2025-13428.md) | Aug 7, 2025 |
| Linux | libxml2 amzn 2023 | 2.10.4-1.amzn2023.0.10 | [ALAS2023-2025-963](https://patchblox.com/security/data/fix/linux/alas2023-2025-963.md) | May 7, 2025 |
| Linux | libxml2 ol 10 | 0:2.12.5-9.el10_0 | [ELSA-2025-13429](https://patchblox.com/security/data/fix/linux/elsa-2025-13429.md) | Aug 8, 2025 |
| Linux | libxml2 ol 8 | 0:2.9.7-20.el8_10 | [ELSA-2025-8958](https://patchblox.com/security/data/fix/linux/elsa-2025-8958.md) | Jun 11, 2025 |
| Linux | libxml2 ol 9 | 0:2.9.13-12.el9_6 | [ELSA-2025-13428](https://patchblox.com/security/data/fix/linux/elsa-2025-13428.md) | Aug 7, 2025 |
| Linux | libxml2 opensuse-leap 15.6 | 2.10.3-150500.5.26.1 | [SUSE-SU-2025:1438-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-1438-1.md) | May 2, 2025 |
| Linux | libxml2 rocky 10 | 0:2.12.5-9.el10_0 | [RLSA-2025:13429](https://patchblox.com/security/data/fix/linux/rlsa-2025-13429.md) | Oct 3, 2025 |
| Linux | libxml2 rocky 8 | 0:2.9.7-20.el8_10 | [RLSA-2025:8958](https://patchblox.com/security/data/fix/linux/rlsa-2025-8958.md) | Jul 29, 2025 |
| Linux | libxml2 rocky 9 | 0:2.9.13-12.el9_6 | [RLSA-2025:13428](https://patchblox.com/security/data/fix/linux/rlsa-2025-13428.md) | Oct 4, 2025 |
| Linux | libxml2 sles 15.6 | 2.10.3-150500.5.26.1 | [SUSE-SU-2025:1438-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-1438-1.md) | May 2, 2025 |
| Linux | libxml2-debuginfo amzn 2023 | 2.10.4-1.amzn2023.0.10 | [ALAS2023-2025-963](https://patchblox.com/security/data/fix/linux/alas2023-2025-963.md) | May 7, 2025 |
| Linux | libxml2-debugsource amzn 2023 | 2.10.4-1.amzn2023.0.10 | [ALAS2023-2025-963](https://patchblox.com/security/data/fix/linux/alas2023-2025-963.md) | May 7, 2025 |
| Linux | libxml2-devel RHEL 8 | 0:2.9.7-20.el8_10 | [RHSA-2025:8958](https://patchblox.com/security/data/fix/linux/rhsa-2025-8958.md) | Jun 11, 2025 |
| Linux | libxml2-devel RHEL 9 | 0:2.9.13-12.el9_6 | [RHSA-2025:13428](https://patchblox.com/security/data/fix/linux/rhsa-2025-13428.md) | Aug 7, 2025 |
| Linux | libxml2-devel almalinux 10 | 2.12.5-9.el10_0 | [ALSA-2025:13429](https://patchblox.com/security/data/fix/linux/alsa-2025-13429.md) | Aug 7, 2025 |
| Linux | libxml2-devel almalinux 8 | 2.9.7-20.el8_10 | [ALSA-2025:8958](https://patchblox.com/security/data/fix/linux/alsa-2025-8958.md) | Jun 11, 2025 |
| Linux | libxml2-devel almalinux 9 | 2.9.13-12.el9_6 | [ALSA-2025:13428](https://patchblox.com/security/data/fix/linux/alsa-2025-13428.md) | Aug 7, 2025 |
| Linux | libxml2-devel amzn 2023 | 2.10.4-1.amzn2023.0.10 | [ALAS2023-2025-963](https://patchblox.com/security/data/fix/linux/alas2023-2025-963.md) | May 7, 2025 |
| Linux | libxml2-devel ol 10 | 0:2.12.5-9.el10_0 | [ELSA-2025-13429](https://patchblox.com/security/data/fix/linux/elsa-2025-13429.md) | Aug 8, 2025 |
| Linux | libxml2-devel ol 8 | 0:2.9.7-20.el8_10 | [ELSA-2025-8958](https://patchblox.com/security/data/fix/linux/elsa-2025-8958.md) | Jun 11, 2025 |
| Linux | libxml2-devel ol 9 | 0:2.9.13-12.el9_6 | [ELSA-2025-13428](https://patchblox.com/security/data/fix/linux/elsa-2025-13428.md) | Aug 7, 2025 |
| Linux | libxml2-python opensuse-leap 15.6 | 2.10.3-150500.5.26.1 | [SUSE-SU-2025:1438-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-1438-1.md) | May 2, 2025 |
| Linux | libxml2-python sles 15.6 | 2.10.3-150500.5.26.1 | [SUSE-SU-2025:1438-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-1438-1.md) | May 2, 2025 |
| Linux | libxml2-static almalinux 10 | 2.12.5-9.el10_0 | [ALSA-2025:13429](https://patchblox.com/security/data/fix/linux/alsa-2025-13429.md) | Aug 7, 2025 |
| Linux | libxml2-static amzn 2023 | 2.10.4-1.amzn2023.0.10 | [ALAS2023-2025-963](https://patchblox.com/security/data/fix/linux/alas2023-2025-963.md) | May 7, 2025 |
| Linux | libxml2-static ol 10 | 0:2.12.5-9.el10_0 | [ELSA-2025-13429](https://patchblox.com/security/data/fix/linux/elsa-2025-13429.md) | Aug 8, 2025 |
| Linux | libxml2-utils Ubuntu 18.04.6 LTS (bionic) | 2.9.4+dfsg1-6.1ubuntu1.9+esm3 | [libxml2-utils 2.9.4+dfsg1-6.1ubuntu1.9+esm3](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libxml2-utils-2.9.4-dfsg1-6.1ubuntu1.9-esm3.md) | Apr 17, 2025 |
| Linux | libxml2-utils Ubuntu 20.04 LTS (focal) | 2.9.10+dfsg-5ubuntu0.20.04.10 | [libxml2-utils 2.9.10+dfsg-5ubuntu0.20.04.10](https://patchblox.com/security/data/fix/linux/ubuntu-focal-libxml2-utils-2.9.10-dfsg-5ubuntu0.20.04.10.md) | Apr 17, 2025 |
| Linux | libxml2-utils Ubuntu 22.04.1 LTS (jammy) | 2.9.13+dfsg-1ubuntu0.7 | [libxml2-utils 2.9.13+dfsg-1ubuntu0.7](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-libxml2-utils-2.9.13-dfsg-1ubuntu0.7.md) | Apr 17, 2025 |
| Linux | libxml2-utils Ubuntu 24.04.5 LTS (noble) | 2.9.14+dfsg-1.3ubuntu3.3 | [libxml2-utils 2.9.14+dfsg-1.3ubuntu3.3](https://patchblox.com/security/data/fix/linux/ubuntu-noble-libxml2-utils-2.9.14-dfsg-1.3ubuntu3.3.md) | Apr 17, 2025 |
| Linux | libxml2-utils Ubuntu 24.10 (oracular) | 2.12.7+dfsg-3ubuntu0.3 | [libxml2-utils 2.12.7+dfsg-3ubuntu0.3](https://patchblox.com/security/data/fix/linux/ubuntu-oracular-libxml2-utils-2.12.7-dfsg-3ubuntu0.3.md) | Jan 16, 2026 |
| Linux | libxml2-utils Ubuntu 25.04 (plucky) | 2.12.7+dfsg+really2.9.14-0.4ubuntu0.1 | [libxml2-utils 2.12.7+dfsg+really2.9.14-0.4ubuntu0.1](https://patchblox.com/security/data/fix/linux/ubuntu-plucky-libxml2-utils-2.12.7-dfsg-really2.9.14-0.4ubuntu0.1.md) | Jan 16, 2026 |
| Linux | libxml2-utils Ubuntu 25.10 (questing) | 2.12.7+dfsg+really2.9.14-0.4ubuntu0.1 | [libxml2-utils 2.12.7+dfsg+really2.9.14-0.4ubuntu0.1](https://patchblox.com/security/data/fix/linux/ubuntu-questing-libxml2-utils-2.12.7-dfsg-really2.9.14-0.4ubuntu0.1.md) | Apr 17, 2025 |
| Linux | python-libxml2 Ubuntu 18.04.6 LTS (bionic) | 2.9.4+dfsg1-6.1ubuntu1.9+esm3 | [python-libxml2 2.9.4+dfsg1-6.1ubuntu1.9+esm3](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-python-libxml2-2.9.4-dfsg1-6.1ubuntu1.9-esm3.md) | Apr 17, 2025 |
| Linux | python-libxml2 Ubuntu 20.04 LTS (focal) | 2.9.10+dfsg-5ubuntu0.20.04.10 | [python-libxml2 2.9.10+dfsg-5ubuntu0.20.04.10](https://patchblox.com/security/data/fix/linux/ubuntu-focal-python-libxml2-2.9.10-dfsg-5ubuntu0.20.04.10.md) | Apr 17, 2025 |
| Linux | python-libxml2-python opensuse-leap 15.6 | 2.9.7-150000.3.79.1 | [SUSE-SU-2025:1439-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-1439-1.md) | May 2, 2025 |
| Linux | python3-libxml2 RHEL 8 | 0:2.9.7-20.el8_10 | [RHSA-2025:8958](https://patchblox.com/security/data/fix/linux/rhsa-2025-8958.md) | Jun 11, 2025 |
| Linux | python3-libxml2 RHEL 9 | 0:2.9.13-12.el9_6 | [RHSA-2025:13428](https://patchblox.com/security/data/fix/linux/rhsa-2025-13428.md) | Aug 7, 2025 |
| Linux | python3-libxml2 Ubuntu 18.04.6 LTS (bionic) | 2.9.4+dfsg1-6.1ubuntu1.9+esm3 | [python3-libxml2 2.9.4+dfsg1-6.1ubuntu1.9+esm3](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-python3-libxml2-2.9.4-dfsg1-6.1ubuntu1.9-esm3.md) | Apr 17, 2025 |
| Linux | python3-libxml2 Ubuntu 20.04 LTS (focal) | 2.9.10+dfsg-5ubuntu0.20.04.10 | [python3-libxml2 2.9.10+dfsg-5ubuntu0.20.04.10](https://patchblox.com/security/data/fix/linux/ubuntu-focal-python3-libxml2-2.9.10-dfsg-5ubuntu0.20.04.10.md) | Apr 17, 2025 |
| Linux | python3-libxml2 Ubuntu 22.04.1 LTS (jammy) | 2.9.13+dfsg-1ubuntu0.7 | [python3-libxml2 2.9.13+dfsg-1ubuntu0.7](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-python3-libxml2-2.9.13-dfsg-1ubuntu0.7.md) | Apr 17, 2025 |
| Linux | python3-libxml2 Ubuntu 24.04.5 LTS (noble) | 2.9.14+dfsg-1.3ubuntu3.3 | [python3-libxml2 2.9.14+dfsg-1.3ubuntu3.3](https://patchblox.com/security/data/fix/linux/ubuntu-noble-python3-libxml2-2.9.14-dfsg-1.3ubuntu3.3.md) | Apr 17, 2025 |
| Linux | python3-libxml2 Ubuntu 24.10 (oracular) | 2.12.7+dfsg-3ubuntu0.3 | [python3-libxml2 2.12.7+dfsg-3ubuntu0.3](https://patchblox.com/security/data/fix/linux/ubuntu-oracular-python3-libxml2-2.12.7-dfsg-3ubuntu0.3.md) | Jan 16, 2026 |
| Linux | python3-libxml2 Ubuntu 25.04 (plucky) | 2.12.7+dfsg+really2.9.14-0.4ubuntu0.1 | [python3-libxml2 2.12.7+dfsg+really2.9.14-0.4ubuntu0.1](https://patchblox.com/security/data/fix/linux/ubuntu-plucky-python3-libxml2-2.12.7-dfsg-really2.9.14-0.4ubuntu0.1.md) | Jan 16, 2026 |
| Linux | python3-libxml2 Ubuntu 25.10 (questing) | 2.12.7+dfsg+really2.9.14-0.4ubuntu0.1 | [python3-libxml2 2.12.7+dfsg+really2.9.14-0.4ubuntu0.1](https://patchblox.com/security/data/fix/linux/ubuntu-questing-python3-libxml2-2.12.7-dfsg-really2.9.14-0.4ubuntu0.1.md) | Apr 17, 2025 |
| Linux | python3-libxml2 almalinux 10 | 2.12.5-9.el10_0 | [ALSA-2025:13429](https://patchblox.com/security/data/fix/linux/alsa-2025-13429.md) | Aug 7, 2025 |
| Linux | python3-libxml2 almalinux 8 | 2.9.7-20.el8_10 | [ALSA-2025:8958](https://patchblox.com/security/data/fix/linux/alsa-2025-8958.md) | Jun 11, 2025 |
| Linux | python3-libxml2 almalinux 9 | 2.9.13-12.el9_6 | [ALSA-2025:13428](https://patchblox.com/security/data/fix/linux/alsa-2025-13428.md) | Aug 7, 2025 |
| Linux | python3-libxml2 amzn 2023 | 2.10.4-1.amzn2023.0.10 | [ALAS2023-2025-963](https://patchblox.com/security/data/fix/linux/alas2023-2025-963.md) | May 7, 2025 |
| Linux | python3-libxml2 ol 10 | 0:2.12.5-9.el10_0 | [ELSA-2025-13429](https://patchblox.com/security/data/fix/linux/elsa-2025-13429.md) | Aug 8, 2025 |
| Linux | python3-libxml2 ol 8 | 0:2.9.7-20.el8_10 | [ELSA-2025-8958](https://patchblox.com/security/data/fix/linux/elsa-2025-8958.md) | Jun 11, 2025 |
| Linux | python3-libxml2 ol 9 | 0:2.9.13-12.el9_6 | [ELSA-2025-13428](https://patchblox.com/security/data/fix/linux/elsa-2025-13428.md) | Aug 7, 2025 |
| Linux | python3-libxml2-debuginfo amzn 2023 | 2.10.4-1.amzn2023.0.10 | [ALAS2023-2025-963](https://patchblox.com/security/data/fix/linux/alas2023-2025-963.md) | May 7, 2025 |

---

Data as of 2026-11-09T01:18:40Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
