Advisory

USN-7694-1

Also known as: CVE-2025-49794, CVE-2025-49796, CVE-2025-6021, CVE-2025-6170

Summary

libxml2 vulnerabilities

Details

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)

Severity

Not rated by the source.

Dates

Published
2025-08-14 04:48 UTC
Modified
2026-06-25 13:32 UTC

Affected packages and fixes

libxml2

Debian packages (deb) · Ubuntu 22.04

Affected

  • introduced 0, fixed 2.9.13+dfsg-1ubuntu0.8 (ecosystem)

Fixed versions

2.9.13+dfsg-1ubuntu0.8

Fix

  • Fixed version 2.9.13+dfsg-1ubuntu0.8
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

libxml2

Debian packages (deb) · Ubuntu 24.04

Affected

  • introduced 0, fixed 2.9.14+dfsg-1.3ubuntu3.4 (ecosystem)

Fixed versions

2.9.14+dfsg-1.3ubuntu3.4

Fix

  • Fixed version 2.9.14+dfsg-1.3ubuntu3.4
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences