Skip to content
OpenAdvisories
Critical USN-7694-1 4 CVEs

libxml2 vulnerabilities

Published Aug 14, 2025 · Updated Jun 25, 2026

Summary

Ahmed Lekssays discovered that libxml2 did not properly perform certain
mathematical operations, leading to an integer overflow. An attacker
could possibly use this issue to cause a crash, resulting in a denial of
service, or possibly execute arbitrary code. (CVE-2025-6021)

Ahmed Lekssays discovered that libxml2 did not properly validate the size
of an untrusted input stream. An attacker could possibly use this issue
to cause a crash, resulting in a denial of service, or possibly execute
arbitrary code. (CVE-2025-6170)

Nikita Sveshnikov discovered that libxml2 did not properly handle certain
XPath expressions, leading to a use-after-free vulnerability. An attacker
could potentially exploit this issue to cause a denial of service.
(CVE-2025-49794)

Nikita Sveshnikov discovered that libxml2 contained a type confusion
vulnerability when parsing specially crafted XML documents. An attacker
could potentially exploit this issue to cause a denial of service.
(CVE-2025-49796)

Fixed packages 6

ReleasePackageFixed in
Ubuntu · 22.04 LTS 22.04:LTS libxml2 2.9.13+dfsg-1ubuntu0.8
Ubuntu · 24.04 LTS 24.04:LTS libxml2 2.9.14+dfsg-1.3ubuntu3.4
Ubuntu · Pro 14.04 LTS Pro:14.04:LTS libxml2 2.9.1+dfsg1-3ubuntu4.13+esm8
Ubuntu · Pro 16.04 LTS Pro:16.04:LTS libxml2 2.9.3+dfsg1-1ubuntu0.7+esm9
Ubuntu · Pro 18.04 LTS Pro:18.04:LTS libxml2 2.9.4+dfsg1-6.1ubuntu1.9+esm4
Ubuntu · Pro 20.04 LTS Pro:20.04:LTS libxml2 2.9.10+dfsg-5ubuntu0.20.04.10+esm1

Vulnerabilities 4

References

  • report
    https://ubuntu.com/security/CVE-2025-6021
  • report
    https://ubuntu.com/security/CVE-2025-6170
  • report
    https://ubuntu.com/security/CVE-2025-49794
  • report
    https://ubuntu.com/security/CVE-2025-49796