USN-7199-1

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

It was discovered that Expat, contained within the xmltok library, incorrectly handled malformed XML data. If a user or application were tricked into opening a crafted XML file, an attacker could cause a denial of service, or possibly execute arbitrary code. (CVE-2015-1283, CVE-2016-0718, CVE-2016-4472, CVE-2019-15903) It was discovered that Expat, contained within the xmltok library, incorrectly handled XML data containing a large number of colons, which could lead to excessive resource consumption. If a user or application were tricked into opening a crafted XML file, an attacker could possibly use this issue to cause a denial of service. (CVE-2018-20843) It was discovered that Expat, contained within the xmltok library, incorrectly handled certain input, which could lead to an integer overflow. If a user or application were tricked into opening a crafted XML file, an attacker could possibly use this issue to cause a denial of service. (CVE-2021-46143, CVE-2022-22822, CVE-2022-22823, CVE-2022-22824, CVE-2022-22825, CVE-2022-22826, CVE-2022-22827) Update Instructions: Run `sudo pro fix USN-7199-1` to fix the vulnerability. The problem can be corrected by updating your system to the following package versions: libxmltok1 - 1.2-4ubuntu0.20.04.1~esm4 libxmltok1-dev - 1.2-4ubuntu0.20.04.1~esm4 Available with Ubuntu Pro: https://ubuntu.com/pro

Evidence and freshness

Data current

Last supporting evidence check: 2026-11-28T00:47:41.838Z UTC

Official vendor advisory

Ubuntu 20.04 LTS (Focal Fossa)

View source
Observed 2026-11-28T00:47:41.838Z UTC. Last updated 2025-11-26T08:40:40.026Z UTC.

Upstream Advisory

Affected Packages

  • libxmltok1 1.2-4ubuntu0.20.04.1~esm4-1.2-4ubuntu0.20.04.1~esm4

  • libxmltok1-dev 1.2-4ubuntu0.20.04.1~esm4-1.2-4ubuntu0.20.04.1~esm4

  • libxmltok1-dev 1.2-4.1ubuntu2.24.0.4.1+esm2-1.2-4.1ubuntu2.24.0.4.1+esm2

  • libxmltok1t64 1.2-4.1ubuntu2.24.0.4.1+esm2-1.2-4.1ubuntu2.24.0.4.1+esm2

  • libxmltok1 1.2-4ubuntu0.22.04.1~esm4-1.2-4ubuntu0.22.04.1~esm4

  • libxmltok1-dev 1.2-4ubuntu0.22.04.1~esm4-1.2-4ubuntu0.22.04.1~esm4

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