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

Published Jan 15, 2026
·
Updated

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.

Other sources

Libxml2: unbounded relaxng include recursion leading to stack overflow

— Microsoft

Uncontrolled recursion vulnerability in the RelaxNG include handling logic of the libxml2 XML parsing library. The issue arises from the absence of limits on recursive <include> directive resolution. When a deeply nested chain of included RelaxNG schema files is processed, the parser enters unbounded recursion, eventually exhausting the system call stack. This results in a stack overflow and application crash. Exploitation requires attacker-controlled schema input and primarily impacts availability by causing a denial of service.

— Red Hat

Affected Software

29 affected componentsFixes available
Xmlsoft Libxml2
Xmlsoft Libxml2<2.15.2
redhat Hardened Images
redhat JBoss Core Services
redhat OpenShift Container Platform=4.0
redhat Enterprise Linux=6.0
redhat Enterprise Linux=7.0
redhat Enterprise Linux=8.0
redhat Enterprise Linux=9.0
redhat Enterprise Linux=10.0
IBM VIOS>=4.1.0<4.1.1.30
IBM VIOS=4.1.2.0
IBM AIX>=7.2.5<7.2.5.12
IBM AIX>=7.3.2<7.3.3.3
IBM AIX=7.3.4
debian/libxml2<=2.9.14+dfsg-1.3~deb12u4, <=2.12.7+dfsg+really2.9.14-2.1+deb13u1
2.9.10+dfsg-6.7+deb11u102.9.14+dfsg-1.3~deb12u62.12.7+dfsg+really2.9.14-2.1+deb13u32.15.2+dfsg-0.1
All of the following
azurelinux/libxml2<2.11.5-10
2.11.5-10
Microsoft Azure Linux=3.0
ubuntu/libxml2<2.9.1+dfsg1-3ubuntu4.13+esm11
2.9.1+dfsg1-3ubuntu4.13+esm11
ubuntu/libxml2<2.9.3+dfsg1-1ubuntu0.7+esm12
2.9.3+dfsg1-1ubuntu0.7+esm12
ubuntu/libxml2<2.9.4+dfsg1-6.1ubuntu1.9+esm7
2.9.4+dfsg1-6.1ubuntu1.9+esm7
ubuntu/libxml2<2.9.10+dfsg-5ubuntu0.20.04.10+esm4
2.9.10+dfsg-5ubuntu0.20.04.10+esm4
ubuntu/libxml2<2.9.13+dfsg-1ubuntu0.11
2.9.13+dfsg-1ubuntu0.11
ubuntu/libxml2<2.9.14+dfsg-1.3ubuntu3.7
2.9.14+dfsg-1.3ubuntu3.7
ubuntu/libxml2<2.14.5+dfsg-0.2ubuntu0.1
2.14.5+dfsg-0.2ubuntu0.1
debian/libxml2<2.9.14+dfsg-1.3~deb12u6
2.9.14+dfsg-1.3~deb12u6
debian/libxml2<2.12.7+dfsg+really2.9.14-2.1+deb13u3
2.12.7+dfsg+really2.9.14-2.1+deb13u3
debian/libxml2<2.15.2+dfsg-0.1
2.15.2+dfsg-0.1
alpine/libxml2<2.13.9-r5
2.13.9-r5

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/libxml2 to a version that resolves this vulnerability.

    Fixed in 2.9.10+dfsg-6.7+deb11u10Fixed in 2.9.14+dfsg-1.3~deb12u6Fixed in 2.12.7+dfsg+really2.9.14-2.1+deb13u3Fixed in 2.15.2+dfsg-0.1
  2. Upgrade

    Upgrade azurelinux/libxml2 to a version that resolves this vulnerability.

    Fixed in 2.11.5-10
  3. Upgrade

    Upgrade ubuntu/libxml2 to a version that resolves this vulnerability.

    Fixed in 2.9.1+dfsg1-3ubuntu4.13+esm11
  4. Upgrade

    Upgrade ubuntu/libxml2 to a version that resolves this vulnerability.

    Fixed in 2.9.3+dfsg1-1ubuntu0.7+esm12
  5. Upgrade

    Upgrade ubuntu/libxml2 to a version that resolves this vulnerability.

    Fixed in 2.9.4+dfsg1-6.1ubuntu1.9+esm7
  6. Upgrade

    Upgrade ubuntu/libxml2 to a version that resolves this vulnerability.

    Fixed in 2.9.10+dfsg-5ubuntu0.20.04.10+esm4
  7. Upgrade

    Upgrade ubuntu/libxml2 to a version that resolves this vulnerability.

    Fixed in 2.9.13+dfsg-1ubuntu0.11
  8. Upgrade

    Upgrade ubuntu/libxml2 to a version that resolves this vulnerability.

    Fixed in 2.9.14+dfsg-1.3ubuntu3.7
  9. Upgrade

    Upgrade ubuntu/libxml2 to a version that resolves this vulnerability.

    Fixed in 2.14.5+dfsg-0.2ubuntu0.1
  10. Upgrade

    Upgrade debian/libxml2 to a version that resolves this vulnerability.

    Fixed in 2.9.14+dfsg-1.3~deb12u6
  11. Upgrade

    Upgrade debian/libxml2 to a version that resolves this vulnerability.

    Fixed in 2.12.7+dfsg+really2.9.14-2.1+deb13u3
  12. Upgrade

    Upgrade debian/libxml2 to a version that resolves this vulnerability.

    Fixed in 2.15.2+dfsg-0.1
  13. Upgrade

    Upgrade alpine/libxml2 to a version that resolves this vulnerability.

    Fixed in 2.13.9-r5

Event History

Jan 15, 2026
Data Sourced
via Red Hat·12:53 PM
DescriptionSeverityAffected Software
CVE Published
via MITRE·02:20 PM
Data Sourced
via MITRE·02:20 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·03:15 PM
DescriptionSeverityWeakness
Jan 19, 2026
Data Sourced
via Microsoft·09:01 AM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·09:01 AM
Affected Software
Updated
via Microsoft·09:01 AM
WeaknessAffected Software
Updated
via Microsoft·09:01 AM
Affected Software
Jan 21, 2026
Event
via FIRST·12:00 AM
Jun 18, 2026
Updated
via Microsoft·09:39 PM
Weakness
Jun 30, 2026
Data Sourced
via NVD·08:20 PM
Affected Software
Nov 24, 2026
Data Sourced
via OSV·02:54 PM
Affected Software

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

What is the severity of CVE-2026-0989?

CVE-2026-0989 is classified as a high severity vulnerability due to the potential for stack overflow attacks.

2

How do I fix CVE-2026-0989?

To fix CVE-2026-0989, update to a patched version of libxml2 that enforces limits on inclusion depth.

3

What types of software are affected by CVE-2026-0989?

CVE-2026-0989 affects the libxml2 library used primarily in GNOME applications.

4

What are the consequences of exploiting CVE-2026-0989?

Exploitation of CVE-2026-0989 can lead to application crashes and potentially allow remote code execution.

5

Is there a workaround for CVE-2026-0989?

Currently, there is no official workaround for CVE-2026-0989 other than applying the necessary updates.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203