Skip to content
OpenAdvisories
Low · 2.9 CVE-2025-27113 EUVD-2025-4763GHSA-m9m6-wcr9-hh75

libxml2 before 2.12.10 and 2.13.x before 2.13.6 has a NULL pointer dereference in xmlPatMatch in pattern.c.

Published Feb 18, 2025 · Updated Nov 3, 2025 · Assigned by mitre

Description

libxml2 before 2.12.10 and 2.13.x before 2.13.6 has a NULL pointer dereference in xmlPatMatch in pattern.c.

Affected products

VendorProductAffectedFixed
xmlsoft libxml2 < 2.12.10, 2.13.0 – < 2.13.6 2.12.10

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 libxml2 2.12.7+dfsg+really2.9.14-0.4 —
Debian 13 libxml2 2.12.7+dfsg+really2.9.14-0.4 —
Debian 12 libxml2 2.9.14+dfsg-1.3~deb12u2 DSA-5949-1
Debian 11 libxml2 2.9.10+dfsg-6.7+deb11u6 DLA-4064-1
ReleasePackageFixed inAdvisory
Ubuntu 24.04 LTS libxml2 2.9.14+dfsg-1.3ubuntu3.2 USN-7302-1
Ubuntu 22.04 LTS libxml2 2.9.13+dfsg-1ubuntu0.6 USN-7302-1
Ubuntu 20.04 LTS libxml2 2.9.10+dfsg-5ubuntu0.20.04.9 USN-7302-1
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 18.04 LTS libxml2 2.9.4+dfsg1-6.1ubuntu1.9+esm2 USN-7302-1
Ubuntu Pro 16.04 LTS libxml2 2.9.3+dfsg1-1ubuntu0.7+esm7 USN-7302-1
Ubuntu Pro 14.04 LTS libxml2 2.9.1+dfsg1-3ubuntu4.13+esm7 USN-7302-1
ReleasePackageFixed inAdvisory
SLES 15 SP6 libxml2 +1 2.10.3-150500.5.23.1 SUSE-SU-2025:0746-1
SLES 15 SP5 libxml2 +1 2.10.3-150500.5.23.1 SUSE-SU-2025:0746-1
SLES 15 SP4 libxml2 +1 2.9.14-150400.5.38.1 SUSE-SU-2025:0748-1
SLES 15 SP3 libxml2 +1 2.9.7-150000.3.76.1 SUSE-SU-2025:0976-1
SLES 12 SP5 libxml2 +1 2.9.4-46.81.1 SUSE-SU-2025:0747-1
Show 17 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES 3 libxml2-python 2.10.3-150500.5.23.1 SUSE-SU-2025:0746-1
SLES for SAP 15 SP5 libxml2 +1 2.10.3-150500.5.23.1 SUSE-SU-2025:0746-1
SLES for SAP 15 SP4 libxml2 +1 2.9.14-150400.5.38.1 SUSE-SU-2025:0748-1
SLES for SAP 15 SP3 libxml2 +1 2.9.7-150000.3.76.1 SUSE-SU-2025:0976-1
SLE Micro 6.1 libxml2 2.11.6-slfo.1.1_2.1 SUSE-SU-2025:20274-1
SLE Micro 6.0 libxml2 2.11.6-5.1 SUSE-SU-2025:20177-1
SLE Micro 5.5 libxml2 +1 2.10.3-150500.5.23.1 SUSE-SU-2025:0746-1
SLE Micro 5.4 libxml2 +1 2.9.14-150400.5.38.1 SUSE-SU-2025:0748-1
SLE Micro 5.3 libxml2 +1 2.9.14-150400.5.38.1 SUSE-SU-2025:0748-1
SLE Micro 5.2 libxml2 +1 2.9.7-150000.3.76.1 SUSE-SU-2025:0976-1
SLE Micro 5.1 libxml2 2.9.7-150000.3.76.1 SUSE-SU-2025:0976-1
SLE HPC 15 SP5 libxml2 +1 2.10.3-150500.5.23.1 SUSE-SU-2025:0746-1
SLE HPC 15 SP4 libxml2 +1 2.9.14-150400.5.38.1 SUSE-SU-2025:0748-1
SLE HPC 15 SP3 libxml2 +1 2.9.7-150000.3.76.1 SUSE-SU-2025:0976-1
SUSE Manager Server 4.3 libxml2 +1 2.9.14-150400.5.38.1 SUSE-SU-2025:0748-1
SUSE Manager Proxy 4.3 libxml2 +1 2.9.14-150400.5.38.1 SUSE-SU-2025:0748-1
SUSE Enterprise Storage 7.1 libxml2 +1 2.9.7-150000.3.76.1 SUSE-SU-2025:0976-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed libxml2 2.13.6-1.1 openSUSE-SU-2025:14830-1
openSUSE Leap 15.6 libxml2 +1 2.10.3-150500.5.23.1 SUSE-SU-2025:0746-1
openSUSE Leap 15.6 python-libxml2-python 2.9.7-150000.3.76.1 SUSE-SU-2025:0976-1
ReleasePackageFixed inAdvisory
Alpine v3.24 libxml2 2.13.6-r0 —
Alpine v3.23 libxml2 2.13.6-r0 —
Alpine v3.22 libxml2 2.13.6-r0 —
Alpine v3.21 libxml2 2.13.4-r5 —
Alpine v3.20 libxml2 2.12.7-r2 —
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 libxml2 2.11.8-r2 —
Alpine v3.18 libxml2 2.11.8-r2 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 libxml2 +3 2.10.4-1.amzn2023.0.9 ALAS2023-2025-896
Amazon Linux 2 libxml2 +3 2.9.1-6.amzn2.5.16 ALAS2-2025-2794

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 libxml2 2.11.5-4 —
Azure Linux 2 (CBL-Mariner) libxml2 2.10.4-6 —

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling openjdk-7-jre No fix yet —

Advisories 22

References