USN-7302-1

Type: Security
Severity: Medium
Published: 2025-02-25
Ubuntu 20.04 LTS (Focal Fossa)
Ubuntu 22.04 LTS (Jammy Jellyfish)
Ubuntu 24.04 LTS (Noble Numbat)

It was discovered that libxml2 incorrectly handled certain memory operations. A remote attacker could use this issue to cause libxml2 to crash, resulting in a denial of service, or possibly execute arbitrary code. This issue only affected Ubuntu 14.04 LTS, Ubuntu 16.04 LTS, and Ubuntu 18.04 LTS. (CVE-2022-49043) It was discovered that the libxml2 xmllint tool incorrectly handled certain memory operations. If a user or automated system were tricked into running xmllint on a specially crafted xml file, a remote attacker could cause xmllint to crash, resulting in a denial of service. This issue only affected Ubuntu 14.04 LTS, Ubuntu 16.04 LTS, and Ubuntu 18.04 LTS. (CVE-2024-34459) It was discovered that libxml2 did not properly manage memory. An attacker could possibly use this issue to cause a denial of service or execute arbitrary code. (CVE-2024-56171) It was discovered that libxml2 could be made to write out of bounds. An attacker could possibly use this issue to cause a denial of service or execute arbitrary code. (CVE-2025-24928) It was discovered that libxml2 could be made to dereference invalid memory. An attacker could possibly use this issue to cause a denial of service. (CVE-2025-27113) Update Instructions: Run `sudo pro fix USN-7302-1` to fix the vulnerability. The problem can be corrected by updating your system to the following package versions: libxml2 - 2.9.10+dfsg-5ubuntu0.20.04.9 libxml2-dev - 2.9.10+dfsg-5ubuntu0.20.04.9 libxml2-doc - 2.9.10+dfsg-5ubuntu0.20.04.9 libxml2-utils - 2.9.10+dfsg-5ubuntu0.20.04.9 python-libxml2 - 2.9.10+dfsg-5ubuntu0.20.04.9 python3-libxml2 - 2.9.10+dfsg-5ubuntu0.20.04.9 No subscription required

Evidence and freshness

Data current

Last supporting evidence check: 2026-11-28T01:47:42.136Z UTC

Official vendor advisory

Ubuntu 20.04 LTS (Focal Fossa)

View source
Observed 2026-11-28T01:47:42.136Z UTC. Last updated 2025-11-26T08:43:53.189Z UTC.

Upstream Advisory

Affected Packages

  • libxml2 2.9.10+dfsg-5ubuntu0.20.04.9-2.9.10+dfsg-5ubuntu0.20.04.9

  • libxml2-dev 2.9.10+dfsg-5ubuntu0.20.04.9-2.9.10+dfsg-5ubuntu0.20.04.9

  • libxml2-doc 2.9.10+dfsg-5ubuntu0.20.04.9-2.9.10+dfsg-5ubuntu0.20.04.9

  • libxml2-utils 2.9.10+dfsg-5ubuntu0.20.04.9-2.9.10+dfsg-5ubuntu0.20.04.9

  • python-libxml2 2.9.10+dfsg-5ubuntu0.20.04.9-2.9.10+dfsg-5ubuntu0.20.04.9

  • python3-libxml2 2.9.10+dfsg-5ubuntu0.20.04.9-2.9.10+dfsg-5ubuntu0.20.04.9

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

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

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

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

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

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

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

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

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

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

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