CVE-2026-86144

libxml2: libxml2: Information disclosure, SSRF, or denial of service due to improper parseFlags propagation.

Published Sep 5, 2026 CVSS 3.1 · 5.6 Medium EPSS < 1% KEV · Not listed
Description
In xinclude in libxml2 before 2.15.4, xmlXIncludeProcess and xmlXIncludeProcessTree do not propagate parseFlags. This has security relevance for, for example, the XML_PARSE_NONET flag, if (without it) a custom resource loader accesses the internet and triggers XML external entity injection, SSRF, or a denial of service (e.g., for an attacker-controlled internet resource that is intentionally slow).

Analysis

AI-generated

Technical impact

The flaw resides in libxml2’s handling of XInclude processing; the functions xmlXIncludeProcess and xmlXIncludeProcessTree fail to propagate the parser’s parseFlags. Because the XML_PARSE_NONET flag is not carried forward, an included resource may be fetched over the network even when the caller intended to disallow external access. This unchecked fetch enables an attacker to trigger XML External Entity injection, Server Side Request Forgery, or a denial‑of‑service if the external resource is malicious or intentionally slow. The vulnerability is classified as CWE‑611 (XML External Entity) and CWE‑669 (Improper Logic).

Affected Systems

All installations of libxml2 built from the xmlsoft project that are older than version 2.15.4 and that process XML with XInclude support are affected. Because libxml2 is incorporated in a wide range of software stacks—including web servers, data transformation tools, configuration parsers, and other applications that ingest XML—this issue can potentially impact numerous systems across multiple sectors.

Risk and Exploitability

The CVSS base score of 5.6 indicates moderate severity, while the EPSS score of less than 1% suggests a very low probability of exploitation in the wild. The vulnerability is not currently listed in the CISA KEV catalog and no public exploits are known. Attack execution requires the ability to supply XML input that triggers XInclude processing with the XML_PARSE_NONET flag not enforced; the likely attack vector is via a remote or internal application that accepts untrusted XML. Given the moderate severity and low exploitation likelihood, the risk warrants timely mitigation.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade libxml2 to 2.15.4 or later
  • When parsing untrusted XML, explicitly set the XML_PARSE_NONET flag to block external network access
  • If immediate patching is not possible, constrain libxml2’s outbound connections using firewall rules or run the parser in a sandbox that blocks network I/O

Generated by OpenCVE AI on September 8, 2026 at 02:35 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Ubuntu USN Ubuntu USN USN-8910-1 libxml2 vulnerabilities
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Title XInclude Parse Flags Not Propagated, Enabling XML External Entity, SSRF, or DoS in libxml2 libxml2: libxml2: Information disclosure, SSRF, or denial of service due to improper parseFlags propagation.
Weaknesses CWE-611
References
Metrics threat_severity

None

threat_severity

Moderate

Type Values Removed Values Added
Title XInclude Parse Flags Not Propagated, Enabling XML External Entity, SSRF, or DoS in libxml2
Type Values Removed Values Added
Description In xinclude in libxml2 before 2.15.4, xmlXIncludeProcess and xmlXIncludeProcessTree do not propagate parseFlags. This has security relevance for, for example, the XML_PARSE_NONET flag, if (without it) a custom resource loader accesses the internet and triggers XML external entity injection, SSRF, or a denial of service (e.g., for an attacker-controlled internet resource that is intentionally slow).
First Time appeared Xmlsoft
Xmlsoft libxml2
Weaknesses CWE-669
CPEs cpe:2.3:a:xmlsoft:libxml2:*:*:*:*:*:*:*:*
Vendors & Products Xmlsoft
Xmlsoft libxml2
References
Metrics cvssV3_1

{'score': 5.6, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:L'}

Weaknesses
  • CWE-611

    Improper Restriction of XML External Entity Reference

  • CWE-669

    Incorrect Resource Transfer Between Spheres

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Sep 8, 2026, 1:04 PM
Reserved
Sep 5, 2026, 4:34 AM
Status
Analyzed
Published
Sep 5, 2026, 5:17 AM
Modified
Sep 15, 2026, 7:20 PM
Severity
Moderate
Public date
Sep 5, 2026, 4:34 AM