CVEfocus › CVE database › CVE-2026-0989

CVE-2026-0989Libxml2: unbounded relaxng include recursion leading to stack overflow

CVSS 3.7 LowEPSS 0.6% (higher than 43% of CVEs)Published 2026-01-15Updated 2026-11-25Assigner: redhat

A flaw was identified in the RelaxNG parser of libxml2 related to how external schema inclusions are handled. The parser does not enforce a limit on inclusion depth when resolving nested <include> directives. Specially crafted or overly complex schemas can cause excessive recursion during parsing. This may lead to stack exhaustion and application crashes, creating a denial-of-service risk.

CWE-674

What to do

Fixed builds are available from Debian, Ubuntu: see the table below for the fixed version per release.

Red Hat, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

6Fixed
22Fix pending

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 25.10libxml2Fixed2.14.5+dfsg-0.2ubuntu0.1UBUNTU-CVE-2026-0989
Ubuntu 24.04libxml2Fixed2.9.14+dfsg-1.3ubuntu3.7UBUNTU-CVE-2026-0989
Ubuntu 22.04libxml2Fixed2.9.13+dfsg-1ubuntu0.11UBUNTU-CVE-2026-0989
Ubuntu 20.04libxml2Fix pending2.9.10+dfsg-5ubuntu0.20.04.10+esm4 (Ubuntu Pro)UBUNTU-CVE-2026-0989
Ubuntu 18.04libxml2Fix pending2.9.4+dfsg1-6.1ubuntu1.9+esm7 (Ubuntu Pro)UBUNTU-CVE-2026-0989
Ubuntu 16.04libxml2Fix pending2.9.3+dfsg1-1ubuntu0.7+esm12 (Ubuntu Pro)UBUNTU-CVE-2026-0989
Ubuntu 14.04libxml2Fix pending2.9.1+dfsg1-3ubuntu4.13+esm11 (Ubuntu Pro)UBUNTU-CVE-2026-0989
Debian 14libxml2Fixed2.15.2+dfsg-0.1DEBIAN-CVE-2026-0989
Debian 13libxml2Fixed2.12.7+dfsg+really2.9.14-2.1+deb13u3DEBIAN-CVE-2026-0989
Debian 12libxml2Fixed2.9.14+dfsg-1.3~deb12u6DEBIAN-CVE-2026-0989
Red Hat Enterprise Linux 10libxml2Fix pending
Fix deferred
Red Hat Enterprise Linux 10libxml2-develFix pending
Fix deferred
Red Hat Enterprise Linux 10libxml2-staticFix pending
Fix deferred
Red Hat Enterprise Linux 10python3-libxml2Fix pending
Fix deferred
Red Hat Enterprise Linux 9libxml2Fix pending
Fix deferred
Red Hat Enterprise Linux 9libxml2-develFix pending
Fix deferred
Red Hat Enterprise Linux 9python3-libxml2Fix pending
Fix deferred
Red Hat Enterprise Linux 8libxml2Fix pending
Fix deferred
Red Hat Enterprise Linux 8libxml2-develFix pending
Fix deferred
Red Hat Enterprise Linux 8python3-libxml2Fix pending
Fix deferred
Red Hat Enterprise Linux 7libxml2Fix pending
Fix deferred
Red Hat Enterprise Linux 7libxml2-develFix pending
Fix deferred
Red Hat Enterprise Linux 7libxml2-pythonFix pending
Fix deferred
Red Hat Enterprise Linux 7libxml2-staticFix pending
Fix deferred
Red Hat Enterprise Linux 6libxml2Fix pending
Fix deferred
Red Hat Enterprise Linux 6libxml2-develFix pending
Fix deferred
Red Hat Enterprise Linux 6libxml2-pythonFix pending
Fix deferred
Red Hat Enterprise Linux 6libxml2-staticFix pending
Fix deferred

What the vendor says

As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Workaround: To mitigate this issue, restrict applications using libxml2 from processing untrusted RelaxNG schema files. Implement strict input validation and sanitization for all RelaxNG schema inputs to prevent the parsing of maliciously crafted, deeply nested include directives.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.