USN-7694-1

Type: Security
Severity: Medium
Published: 2025-08-14
Ubuntu 25.04 (Plucky Puffin)
Ubuntu 20.04 LTS (Focal Fossa)
Ubuntu 22.04 LTS (Jammy Jellyfish)
Ubuntu 24.04 LTS (Noble Numbat)

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) Update Instructions: Run `sudo pro fix USN-7694-1` to fix the vulnerability. The problem can be corrected by updating your system to the following package versions: libxml2 - 2.12.7+dfsg+really2.9.14-0.4ubuntu0.2 libxml2-dev - 2.12.7+dfsg+really2.9.14-0.4ubuntu0.2 libxml2-doc - 2.12.7+dfsg+really2.9.14-0.4ubuntu0.2 libxml2-utils - 2.12.7+dfsg+really2.9.14-0.4ubuntu0.2 python3-libxml2 - 2.12.7+dfsg+really2.9.14-0.4ubuntu0.2 No subscription required

Evidence and freshness

Data current

Last supporting evidence check: 2026-11-28T02:49:42.558Z UTC

Official vendor advisory

Ubuntu 25.04 (Plucky Puffin)

View source
Observed 2026-11-28T02:49:42.558Z UTC. Last updated 2025-11-26T08:51:32.289Z UTC.

Upstream Advisory

Affected Packages

  • libxml2 2.12.7+dfsg+really2.9.14-0.4ubuntu0.2-2.12.7+dfsg+really2.9.14-0.4ubuntu0.2

  • libxml2-dev 2.12.7+dfsg+really2.9.14-0.4ubuntu0.2-2.12.7+dfsg+really2.9.14-0.4ubuntu0.2

  • libxml2-doc 2.12.7+dfsg+really2.9.14-0.4ubuntu0.2-2.12.7+dfsg+really2.9.14-0.4ubuntu0.2

  • libxml2-utils 2.12.7+dfsg+really2.9.14-0.4ubuntu0.2-2.12.7+dfsg+really2.9.14-0.4ubuntu0.2

  • python3-libxml2 2.12.7+dfsg+really2.9.14-0.4ubuntu0.2-2.12.7+dfsg+really2.9.14-0.4ubuntu0.2

  • libxml2 2.9.10+dfsg-5ubuntu0.20.04.10+esm1-2.9.10+dfsg-5ubuntu0.20.04.10+esm1

  • libxml2-dev 2.9.10+dfsg-5ubuntu0.20.04.10+esm1-2.9.10+dfsg-5ubuntu0.20.04.10+esm1

  • libxml2-doc 2.9.10+dfsg-5ubuntu0.20.04.10+esm1-2.9.10+dfsg-5ubuntu0.20.04.10+esm1

  • libxml2-utils 2.9.10+dfsg-5ubuntu0.20.04.10+esm1-2.9.10+dfsg-5ubuntu0.20.04.10+esm1

  • python-libxml2 2.9.10+dfsg-5ubuntu0.20.04.10+esm1-2.9.10+dfsg-5ubuntu0.20.04.10+esm1

  • python3-libxml2 2.9.10+dfsg-5ubuntu0.20.04.10+esm1-2.9.10+dfsg-5ubuntu0.20.04.10+esm1

  • libxml2 2.9.13+dfsg-1ubuntu0.8-2.9.13+dfsg-1ubuntu0.8

  • libxml2-dev 2.9.13+dfsg-1ubuntu0.8-2.9.13+dfsg-1ubuntu0.8

  • libxml2-doc 2.9.13+dfsg-1ubuntu0.8-2.9.13+dfsg-1ubuntu0.8

  • libxml2-utils 2.9.13+dfsg-1ubuntu0.8-2.9.13+dfsg-1ubuntu0.8

  • python3-libxml2 2.9.13+dfsg-1ubuntu0.8-2.9.13+dfsg-1ubuntu0.8

  • libxml2 2.9.14+dfsg-1.3ubuntu3.4-2.9.14+dfsg-1.3ubuntu3.4

  • libxml2-dev 2.9.14+dfsg-1.3ubuntu3.4-2.9.14+dfsg-1.3ubuntu3.4

  • libxml2-doc 2.9.14+dfsg-1.3ubuntu3.4-2.9.14+dfsg-1.3ubuntu3.4

  • libxml2-utils 2.9.14+dfsg-1.3ubuntu3.4-2.9.14+dfsg-1.3ubuntu3.4

  • python3-libxml2 2.9.14+dfsg-1.3ubuntu3.4-2.9.14+dfsg-1.3ubuntu3.4

Interested in being alerted when there are new versions of libxml2 and the other packages? Set up an alert.
USN-7694-1: libxml2 vulnerabilities | Package Alert