USN-7001-1

Type: Security
Severity: Medium
Published: 2024-09-12
Ubuntu 20.04 LTS (Focal Fossa)
Ubuntu 22.04 LTS (Jammy Jellyfish)

Shang-Hung Wan discovered that Expat, contained within the xmltok library, did not properly handle certain function calls when a negative input length was provided. An attacker could use this issue to cause a denial of service or possibly execute arbitrary code. (CVE-2024-45490) Shang-Hung Wan discovered that Expat, contained within the xmltok library, did not properly handle the potential for an integer overflow on 32-bit platforms. An attacker could use this issue to cause a denial of service or possibly execute arbitrary code. (CVE-2024-45491) Update Instructions: Run `sudo pro fix USN-7001-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~esm3 libxmltok1-dev - 1.2-4ubuntu0.20.04.1~esm3 Available with Ubuntu Pro: https://ubuntu.com/pro

Evidence and freshness

Data current

Last supporting evidence check: 2026-11-28T06:52:44.004Z UTC

Official vendor advisory

Ubuntu 20.04 LTS (Focal Fossa)

View source
Observed 2026-11-28T06:52:44.004Z UTC. Last updated 2025-11-26T08:31:44.994Z UTC.

Upstream Advisory

Affected Packages

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

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

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

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

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