CVE-2025-49794

Publication date 16 June 2025

Last updated 26 August 2025


Ubuntu priority

Cvss 3 Severity Score

9.1 · Critical

Score breakdown

Description

A use-after-free vulnerability was found in libxml2. This issue occurs when parsing XPath elements under certain circumstances when the XML schematron has the <sch:name path="..."/> schema elements. This flaw allows a malicious actor to craft a malicious XML document used as input for libxml, resulting in the program's crash using libxml or other possible undefined behaviors.

Status

Package Ubuntu Release Status
libxml2 25.04 plucky
Fixed in 2.12.7+dfsg+really2.9.14-0.4ubuntu0.2
24.10 oracular Ignored end of life, was needs-triage
24.04 LTS noble
Fixed in 2.9.14+dfsg-1.3ubuntu3.4
22.04 LTS jammy
Fixed in 2.9.13+dfsg-1ubuntu0.8
20.04 LTS focal
Fixed in 2.9.10+dfsg-5ubuntu0.20.04.10+esm1
18.04 LTS bionic
Fixed in 2.9.4+dfsg1-6.1ubuntu1.9+esm4
16.04 LTS xenial
Fixed in 2.9.3+dfsg1-1ubuntu0.7+esm9
14.04 LTS trusty
Fixed in 2.9.1+dfsg1-3ubuntu4.13+esm8

Get expanded security coverage with Ubuntu Pro

Reduce your average CVE exposure time from 98 days to 1 day with expanded CVE patching, ten-years security maintenance and optional support for the full stack of open-source applications. Free for personal use.

Get Ubuntu Pro 30-day free trial

Patch details

For informational purposes only. We recommend not to cherry-pick updates. How can I get the fixes?

Package Patch details
libxml2

Severity score breakdown

CVSS version: CVSS v3.0

Base score 9.1 · Critical

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H

References

Related Ubuntu Security Notices (USN)

    • USN-7694-1
    • libxml2 vulnerabilities
    • 14 August 2025

Other references


Access our resources on patching vulnerabilities