CVE-2025-49796: Libxml: type confusion leads to denial of service (dos)

Published Jun 12, 2025
·
Updated

A vulnerability was found in libxml2. Processing certain sch:name elements from the input XML file can trigger a memory corruption issue. This flaw allows an attacker to craft a malicious XML input file that can lead libxml to crash, resulting in a denial of service or other possible undefined behavior due to sensitive data being corrupted in memory.

Other sources

Libxml: type confusion leads to denial of service (dos)

— Microsoft

Affected Software

17 affected componentsFixes available
Gnome libxml2
F5 Traffix SDC=5.2.0
debian/libxml2<2.9.14+dfsg-1.3~deb12u3
2.9.14+dfsg-1.3~deb12u3
debian/libxml2<2.12.7+dfsg+really2.9.14-2
2.12.7+dfsg+really2.9.14-2
debian/libxml2<2.12.7+dfsg+really2.9.14-2
2.12.7+dfsg+really2.9.14-2
debian/libxml2
2.9.14+dfsg-1.3~deb12u62.9.14+dfsg-1.3~deb12u42.12.7+dfsg+really2.9.14-2.1+deb13u32.12.7+dfsg+really2.9.14-2.1+deb13u12.15.4+dfsg-1
IBM SevOne Network Performance Management<=7.0.0 - 8.2.2
All of the following
azurelinux/libxml2<2.10.4-8
2.10.4-8
Microsoft CBL-Mariner=2.0
All of the following
azurelinux/libxml2<2.11.5-6
2.11.5-6
Microsoft Azure Linux=3.0
ubuntu/libxml2<2.9.1+dfsg1-3ubuntu4.13+esm8
2.9.1+dfsg1-3ubuntu4.13+esm8
ubuntu/libxml2<2.9.3+dfsg1-1ubuntu0.7+esm9
2.9.3+dfsg1-1ubuntu0.7+esm9
ubuntu/libxml2<2.9.4+dfsg1-6.1ubuntu1.9+esm4
2.9.4+dfsg1-6.1ubuntu1.9+esm4
ubuntu/libxml2<2.9.10+dfsg-5ubuntu0.20.04.10+esm1
2.9.10+dfsg-5ubuntu0.20.04.10+esm1
ubuntu/libxml2<2.9.13+dfsg-1ubuntu0.8
2.9.13+dfsg-1ubuntu0.8
ubuntu/libxml2<2.9.14+dfsg-1.3ubuntu3.4
2.9.14+dfsg-1.3ubuntu3.4

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.14+dfsg-1.3~deb12u3
  2. Upgrade

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

    Fixed in 2.12.7+dfsg+really2.9.14-2
  3. Upgrade

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

    Fixed in 2.9.14+dfsg-1.3~deb12u6Fixed in 2.9.14+dfsg-1.3~deb12u4Fixed in 2.12.7+dfsg+really2.9.14-2.1+deb13u3Fixed in 2.12.7+dfsg+really2.9.14-2.1+deb13u1Fixed in 2.15.4+dfsg-1
  4. Upgrade

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

    Fixed in 2.10.4-8
  5. Upgrade

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

    Fixed in 2.11.5-6
  6. Upgrade

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

    Fixed in 2.9.1+dfsg1-3ubuntu4.13+esm8
  7. Upgrade

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

    Fixed in 2.9.3+dfsg1-1ubuntu0.7+esm9
  8. Upgrade

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

    Fixed in 2.9.4+dfsg1-6.1ubuntu1.9+esm4
  9. Upgrade

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

    Fixed in 2.9.10+dfsg-5ubuntu0.20.04.10+esm1
  10. Upgrade

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

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

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

    Fixed in 2.9.14+dfsg-1.3ubuntu3.4

Event History

Feb 19, 2024
News Published
via The Register·01:29 AM
Mar 11, 2024
News Published
via The Register·04:28 AM
Jun 17, 2024
News Published
via The Register·01:59 AM
Nov 25, 2024
News Published
via The Register·01:30 AM
Feb 17, 2025
News Published
via The Register·02:25 AM
Mar 16, 2025
News Published
via The Register·10:58 PM
Mar 30, 2025
News Published
via The Register·10:45 PM
Jun 12, 2025
Data Sourced
via Red Hat·12:37 AM
DescriptionSeverityAffected Software
Jun 16, 2025
CVE Published
via MITRE·03:14 PM
Data Sourced
via MITRE·03:14 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·04:15 PM
DescriptionSeverityWeakness
Jun 23, 2025
News Published
via The Register·12:33 AM
Jul 29, 2025
Data Sourced
via Microsoft·07:00 AM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·07:00 AM
Affected Software
Updated
via Microsoft·07:00 AM
Affected Software
Aug 22, 2025
Advisory Published
via F5·05:31 PM
Data Sourced
via F5·05:31 PM
DescriptionSeverityWeaknessAffected Software
Nov 3, 2025
Data Sourced
via IBM·12:00 AM
DescriptionAffected Software
Nov 23, 2025
News Published
via The Register·10:46 PM
Dec 8, 2025
News Published
via The Register·12:10 AM
Dec 17, 2025
Updated
via IBM·12:00 AM
Affected Software
Jan 11, 2026
News Published
via The Register·11:43 PM
Jan 14, 2026
Updated
via IBM·12:00 AM
Affected Software
Jan 15, 2026
Updated
via IBM·12:00 AM
Affected Software
Jan 26, 2026
News Published
via The Hacker News·11:55 AM
Jan 30, 2026
Updated
via IBM·12:00 AM
Affected Software
Feb 8, 2026
News Published
via The Register·10:25 PM
Mar 2, 2026
Updated
via IBM·12:00 AM
Affected Software
Sep 26, 2026
Updated
via IBM·12:00 AM
Affected Software
Nov 24, 2026
Data Sourced
via OSV·02:55 PM
Affected Software

Parent advisories

This vulnerability appears in the following advisories.

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

What is the severity of CVE-2025-49796?

The severity of CVE-2025-49796 is classified as high due to its potential to cause denial of service.

2

How do I fix CVE-2025-49796?

To fix CVE-2025-49796, update to the latest version of libxml2 where the vulnerability is addressed.

3

What types of attacks can CVE-2025-49796 facilitate?

CVE-2025-49796 can facilitate denial of service attacks by crashing applications that rely on libxml2.

4

Which software is affected by CVE-2025-49796?

CVE-2025-49796 affects the GNOME libxml2 library.

5

What are the implications of CVE-2025-49796 for users?

The implications of CVE-2025-49796 for users include possible disruptions due to application crashes when processing malicious XML files.

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