cve.bz

CVE-2026-86142 xmlsoft libxml2: Heap-based Buffer Overflow

7.8 highEPSS 0.2%Fix available

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

On this page
In libxml2 before 2.15.4, there is a heap-based buffer overflow in xmlXPtrEvalXPtrPart because of xmlXPtrEval xpointer length saturation.

Severity

CVSS 3.1

7.8 high
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
0.2% (unchanged from 0.2% a week ago; 0.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 5th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2026-09-14. 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-122 Heap-based Buffer Overflow
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-86142 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-86142?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-86142?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-2026-86142 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.15.4

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13libxml2no fix listedDEBIAN-CVE-2026-86142
Debian14libxml22.15.4+dfsg-1DEBIAN-CVE-2026-86142
Ubuntu22.04:LTSlibxml22.9.13+dfsg-1ubuntu0.14UBUNTU-CVE-2026-86142 USN-8910-1
Ubuntu24.04:LTSlibxml22.9.14+dfsg-1.3ubuntu3.10UBUNTU-CVE-2026-86142 USN-8910-1
Ubuntu26.04:LTSlibxml22.15.2+dfsg-0.1ubuntu0.3UBUNTU-CVE-2026-86142 USN-8910-1
UbuntuPro:14.04:LTSlibxml22.9.1+dfsg1-3ubuntu4.13+esm13UBUNTU-CVE-2026-86142 USN-8910-1
UbuntuPro:16.04:LTSlibxml22.9.3+dfsg1-1ubuntu0.7+esm14UBUNTU-CVE-2026-86142 USN-8910-1
UbuntuPro:18.04:LTSlibxml22.9.4+dfsg1-6.1ubuntu1.9+esm9UBUNTU-CVE-2026-86142 USN-8910-1
UbuntuPro:20.04:LTSlibxml22.9.10+dfsg-5ubuntu0.20.04.10+esm6UBUNTU-CVE-2026-86142 USN-8910-1
Red Hatenterprise_linux:8::appstreamlibxml2-devel, libxml2-debuginfo, libxml2-debugsource and 1 more0:2.9.7-21.el8_10.10RHSA-2026:80675
Red Hatenterprise_linux:8::baseoslibxml2, python3-libxml2, libxml2-debuginfo and 2 more0:2.9.7-21.el8_10.10RHSA-2026:80675
Red Hatenterprise_linux:9::appstreamlibxml2-devel, libxml2-debuginfo, libxml2-debugsource and 1 more0:2.9.13-14.el9_8.5RHSA-2026:71585
Red Hatenterprise_linux:9::appstreamlibxml2-devel, libxml2-debuginfo, libxml2-debugsource and 1 more0:2.9.13-18.el9_9.1RHSA-2026:98468
Red Hatenterprise_linux:9::baseoslibxml2, python3-libxml2, libxml2-debuginfo and 2 more0:2.9.13-14.el9_8.5RHSA-2026:71585
Red Hatenterprise_linux:9::baseoslibxml2, python3-libxml2, libxml2-debuginfo and 2 more0:2.9.13-18.el9_9.1RHSA-2026:98468
Red Hatenterprise_linux:10.2libxml2, libxml2-devel, libxml2-static and 4 more0:2.12.5-10.el10_2.4RHSA-2026:71586
Red Hatenterprise_linux:10.3libxml2, libxml2-devel, libxml2-static and 4 more0:2.12.5-15.el10_3.2RHSA-2026:98572
Red Hatenterprise_linux_eus:10.0libxml2, libxml2-devel, libxml2-static and 4 more0:2.12.5-9.el10_0.9RHSA-2026:89759
Red Hathummingbird:1libxml2, libxml2-16, libxml2-devel and 2 more0:2.15.4-0.1.hum1RHSA-2026:64463
Red Hatrhel_aus:8.4::appstream, rhel_eus_long_life:8.4::appstreamlibxml2-devel, libxml2-debuginfo, libxml2-debugsource and 1 more0:2.9.7-9.el8_4.20RHSA-2026:93473
Red Hatrhel_aus:8.4::baseos, rhel_eus_long_life:8.4::baseoslibxml2, python3-libxml2, libxml2-debuginfo and 2 more0:2.9.7-9.el8_4.20RHSA-2026:93473
11 more for Red Hat in the JSON and on Red Hat's page.
AlmaLinux8libxml2, libxml2-devel, python3-libxml22.9.7-21.el8_10.10ALSA-2026:80675
AlmaLinux9libxml2, libxml2-devel, python3-libxml22.9.13-14.el9_8.5ALSA-2026:71585
AlmaLinux9libxml2, libxml2-devel, python3-libxml22.9.13-18.el9_9.1ALSA-2026:98468
AlmaLinux10libxml2, libxml2-devel, libxml2-static and 1 more2.12.5-10.el10_2.4ALSA-2026:71586
AlmaLinux10libxml2, libxml2-devel, libxml2-static and 1 more2.12.5-15.el10_3.2ALSA-2026:98572
Rocky Linux8libxml20:2.9.7-21.el8_10.10RLSA-2026:80675
Rocky Linux9libxml20:2.9.13-14.el9_8.5RLSA-2026:71585
Rocky Linux9libxml2, libxml2-devel, python3-libxml2 and 3 more0:2.9.13-18.el9_9.1RLSA-2026:98468
Rocky Linux10libxml20:2.12.5-10.el10_2.4RLSA-2026:71586
Rocky Linux10libxml2, libxml2-devel, libxml2-static and 4 more0:2.12.5-15.el10_3.2RLSA-2026:98572
Azure Linux3libxml22.11.5-11AZL-99720
Alpaquita23libxml22.10.4-r11BELL-CVE-2026-86142
Alpaquita25libxml22.13.9-r5BELL-CVE-2026-86142
Alpaquitastreamlibxml22.13.9-r6BELL-CVE-2026-86142
BellSoft Hardened Containers23libxml22.10.4-r11BELL-CVE-2026-86142
BellSoft Hardened Containers25libxml22.13.9-r5BELL-CVE-2026-86142
BellSoft Hardened Containersstreamlibxml22.13.9-r6BELL-CVE-2026-86142

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; 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 · Red Hat · Alpaquita · BellSoft Hardened Containers.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

A heap-based buffer overflow in libxml2's xmlXPtrEvalXPtrPart function enables an out-of-bounds write during the evaluation of oversized xpointer() expressions. The flaw is assigned a Moderate severity rating because exploitation strictly requires local access and complex, multi-gigabyte payload inputs, effectively mitigating the threat of remote or automated system compromise.

Red Hat's mitigation

To mitigate this applications should avoid passing untrusted XPointer expressions into xmlXPtrEval or XInclude xpointer= attributes and strictly cap input length well below INT_MAX. Additionally, administrators should enforce process or cgroup memory limits to prevent the construction of multi-gigabyte scheme bodies, relying on heap allocator hardening rather than standard fortify flags, which cannot stop this byte-store loop.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10libxml2-0:2.12.5-10.el10_2.4Fixed 2026-09-24RHSA-2026:71586
Red Hat Enterprise Linux 10libxml2-0:2.12.5-15.el10_3.2Fixed 2026-11-11RHSA-2026:98572
Red Hat Enterprise Linux 10.0 Extended Update Supportlibxml2-0:2.12.5-9.el10_0.9Fixed 2026-10-26RHSA-2026:89759
Red Hat Enterprise Linux 7 Extended Lifecycle Supportlibxml2-0:2.9.1-6.el7_9.20Fixed 2026-11-02RHSA-2026:93791
Red Hat Enterprise Linux 8libxml2-0:2.9.7-21.el8_10.10Fixed 2026-10-12RHSA-2026:80675
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Supportlibxml2-0:2.9.7-9.el8_4.20Fixed 2026-11-02RHSA-2026:93473
Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-Onlibxml2-0:2.9.7-9.el8_4.20Fixed 2026-11-02RHSA-2026:93473
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Supportlibxml2-0:2.9.7-13.el8_6.24Fixed 2026-10-29RHSA-2026:92589
Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-Onlibxml2-0:2.9.7-13.el8_6.24Fixed 2026-10-29RHSA-2026:92589
Red Hat Enterprise Linux 8.8 Telecommunications Update Servicelibxml2-0:2.9.7-16.el8_8.24Fixed 2026-11-02RHSA-2026:93463
Red Hat Enterprise Linux 10podmanNot affected
Red Hat Enterprise Linux 6libxml2Out of support scope
Red Hat Enterprise Linux 8container-tools:rhel8/podmanNot affected
Red Hat Enterprise Linux 9podmanNot affected
Red Hat Hardened Imagesswift-langNot affected
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-llama-stack-k8s-operator-rhel9Not affected
Red Hat OpenShift AI (RHOAI)rhoai/odh-model-serving-api-rhel9Not affected
Red Hat OpenShift Container Platform 4openshift/ose-rhel-coreos-8Not affected
46 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-2026-86142.

Attack patterns (CAPEC)

  • CAPEC-92 Forced Integer Overflow Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON