cve.bz

CVE-2025-27113 xmlsoft libxml2: NULL Pointer Dereference

7.5 highExploit referenceEPSS 1.1%

High (7.5) in xmlsoft libxml2. EPSS 1.1% estimated probability of exploitation activity in the next 30 days.

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

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
1.1% (unchanged from 1.1% a week ago; 1.1% 30 days ago) estimated probability of exploitation activity in the next 30 days; 65th percentile. Scored 2026-11-23. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2025-02-19. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-476 NULL Pointer Dereference
OWASP Top 10
A10:2025 Mishandling of Exceptional Conditions
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2025-27113 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-27113?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-27113?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-27113 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
xmlsoft libxml2before 2.12.10
xmlsoft libxml2from 2.13.0 before 2.13.6

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11libxml22.9.10+dfsg-6.7+deb11u6DLA-4064-1
Debian12libxml22.9.14+dfsg-1.3~deb12u2DEBIAN-CVE-2025-27113 DSA-5949-1
Debian13, 14libxml22.12.7+dfsg+really2.9.14-0.4DEBIAN-CVE-2025-27113
Ubuntu20.04:LTSlibxml22.9.10+dfsg-5ubuntu0.20.04.9UBUNTU-CVE-2025-27113 USN-7302-1
Ubuntu22.04:LTSlibxml22.9.13+dfsg-1ubuntu0.6UBUNTU-CVE-2025-27113 USN-7302-1
Ubuntu24.04:LTSlibxml22.9.14+dfsg-1.3ubuntu3.2UBUNTU-CVE-2025-27113 USN-7302-1
UbuntuPro:14.04:LTSlibxml22.9.1+dfsg1-3ubuntu4.13+esm7UBUNTU-CVE-2025-27113 USN-7302-1
UbuntuPro:16.04:LTSlibxml22.9.3+dfsg1-1ubuntu0.7+esm7UBUNTU-CVE-2025-27113 USN-7302-1
UbuntuPro:18.04:LTSlibxml22.9.4+dfsg1-6.1ubuntu1.9+esm2UBUNTU-CVE-2025-27113 USN-7302-1
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise Micro 5.2 and 2 morelibxml2, python-libxml2-python2.9.7-150000.3.76.1SUSE-SU-2025:0976-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise Micro 5.3 and 5 morelibxml2, libxml2-python2.9.14-150400.5.38.1SUSE-SU-2025:0748-1
SUSELinux Enterprise High Performance Computing 15 SP5-ESPOS, Linux Enterprise High Performance Computing 15 SP5-LTSS, Linux Enterprise Micro 5.5 and 3 morelibxml2, libxml2-python2.10.3-150500.5.23.1SUSE-SU-2025:0746-1
SUSELinux Enterprise Micro 5.1libxml22.9.7-150000.3.76.1SUSE-SU-2025:0976-1
SUSELinux Enterprise Module for Python 3 15 SP6libxml2-python2.10.3-150500.5.23.1SUSE-SU-2025:0746-1
SUSELinux Enterprise Server 12 SP5-LTSS, Linux Enterprise Server LTSS Extended Security 12 SP5libxml2, python-libxml22.9.4-46.81.1SUSE-SU-2025:0747-1
SUSELinux Micro 6.0libxml22.11.6-5.1SUSE-SU-2025:20177-1
SUSELinux Micro 6.1libxml22.11.6-slfo.1.1_2.1SUSE-SU-2025:20274-1
openSUSELeap 15.6libxml2, libxml2-python2.10.3-150500.5.23.1SUSE-SU-2025:0746-1
openSUSELeap 15.6python-libxml2-python2.9.7-150000.3.76.1SUSE-SU-2025:0976-1
openSUSETumbleweedlibxml22.13.6-1.1openSUSE-SU-2025:14830-1
Alpinev3.18, v3.19libxml22.11.8-r2ALPINE-CVE-2025-27113
Alpinev3.20libxml22.12.7-r2ALPINE-CVE-2025-27113
Alpinev3.21libxml22.13.4-r5ALPINE-CVE-2025-27113
Alpinev3.22, v3.23, v3.24libxml22.13.6-r0ALPINE-CVE-2025-27113
Azure Linux2libxml22.10.4-6AZL-56964
Azure Linux3libxml22.11.5-4AZL-57058
Alpaquita23libxml22.10.4-r3BELL-CVE-2025-27113
Alpaquita23openjdk11-perf11.0.28_p13-r0BELL-CVE-2025-27113
Alpaquita23openjdk8-perf8.462_p12-r0BELL-CVE-2025-27113
Alpaquita23, 25, streamopenjdk11, openjdk11-lite, openjdk11-container-jre11.0.28_p12-r0BELL-CVE-2025-27113
Alpaquita23, 25, streamopenjdk17, openjdk17-lite, openjdk17-container-jre17.0.16_p12-r0BELL-CVE-2025-27113
Alpaquita23, 25, streamopenjdk17-crac17.0.16_p13-r0BELL-CVE-2025-27113
Alpaquita23, 25, streamopenjdk21, openjdk21-lite, openjdk21-container-jre21.0.8_p12-r0BELL-CVE-2025-27113
Alpaquita23, 25, streamopenjdk21-crac21.0.8_p13-r0BELL-CVE-2025-27113
Alpaquita23, 25, streamopenjdk24, openjdk24-lite, openjdk24-container-jre24.0.2_p12-r0BELL-CVE-2025-27113
Alpaquita23, 25, streamopenjdk88.462_p11-r0BELL-CVE-2025-27113
Alpaquitastreamlibxml22.13.6-r0BELL-CVE-2025-27113
BellSoft Hardened Containers23libxml22.10.4-r3BELL-CVE-2025-27113
BellSoft Hardened Containers23openjdk11-perf11.0.28_p13-r0BELL-CVE-2025-27113
BellSoft Hardened Containers23openjdk8-perf8.462_p12-r0BELL-CVE-2025-27113
BellSoft Hardened Containers23, 25, streamopenjdk11-lite, openjdk11-container-jre11.0.28_p12-r0BELL-CVE-2025-27113
BellSoft Hardened Containers23, 25, streamopenjdk17-crac17.0.16_p13-r0BELL-CVE-2025-27113
BellSoft Hardened Containers23, 25, streamopenjdk17-lite, openjdk17-container-jre17.0.16_p12-r0BELL-CVE-2025-27113
BellSoft Hardened Containers23, 25, streamopenjdk21-crac21.0.8_p13-r0BELL-CVE-2025-27113
BellSoft Hardened Containers23, 25, streamopenjdk21-lite, openjdk21-container-jre21.0.8_p12-r0BELL-CVE-2025-27113
BellSoft Hardened Containers23, 25, streamopenjdk24-lite, openjdk24-container-jre24.0.2_p12-r0BELL-CVE-2025-27113
BellSoft Hardened Containers23, 25, streamopenjdk88.462_p11-r0BELL-CVE-2025-27113
BellSoft Hardened Containersstreamlibxml22.13.6-r0BELL-CVE-2025-27113

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE · Alpine · Alpaquita · BellSoft Hardened Containers.

Red Hat

Red Hat rates this Low.

Red Hat's statement

Because this vulnerability requires that an unsuspecting user parses a specially crafted malicious XML file, or that a service that does so accepts untrusted input, and because the consequences of this flaw are limited to exhaustion of the resources available to the user with whose privileges the vulnerable application is run, Red Hat assesses this vulnerability's impact as Low.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10libxml2Fix deferred
Red Hat Enterprise Linux 6libxml2Out of support scope
Red Hat Enterprise Linux 7libxml2Out of support scope
Red Hat Enterprise Linux 8libxml2Fix deferred
Red Hat Enterprise Linux 9libxml2Fix deferred
Red Hat JBoss Core Serviceslibxml2Fix deferred
Red Hat OpenShift AI (RHOAI)rhoai/odh-ai-gateway-operator-rhel9Not affected
Red Hat OpenShift AI (RHOAI)rhoai/odh-core-bff-rhel9Under investigation
Red Hat OpenShift AI (RHOAI)rhoai/odh-dashboard-operator-rhel9Not affected
Red Hat OpenShift AI (RHOAI)rhoai/odh-dashboard-rhel9Under investigation
Red Hat OpenShift AI (RHOAI)rhoai/odh-data-science-pipelines-operator-controller-rhel9Not affected
Red Hat OpenShift AI (RHOAI)rhoai/odh-kf-notebook-controller-rhel9Under investigation
Red Hat OpenShift AI (RHOAI)rhoai/odh-kserve-controller-rhel9Not affected
Red Hat OpenShift AI (RHOAI)rhoai/odh-kserve-llmisvc-controller-rhel9Not affected
Red Hat OpenShift AI (RHOAI)rhoai/odh-kserve-module-operator-rhel9Not affected
Red Hat OpenShift AI (RHOAI)rhoai/odh-kuberay-operator-controller-rhel9Not affected
Red Hat OpenShift AI (RHOAI)rhoai/odh-kube-rbac-proxy-rhel9Not affected
Red Hat OpenShift AI (RHOAI)rhoai/odh-llama-stack-k8s-operator-rhel9Not affected
Red Hat OpenShift AI (RHOAI)rhoai/odh-maas-controller-rhel9Not affected
Red Hat OpenShift AI (RHOAI)rhoai/odh-mlflow-operator-rhel9Not affected
20 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-27113.

References

Check your stackJSON