USN-7307-1: xmltok library vulnerability
26 February 2025
Libxmltok could be made to crash if it opened a specially crafted file.
Releases
Packages
- libxmltok - XML Parser Toolkit, runtime libraries
Details
Tim Boddy discovered that Expat, contained within the xmltok library, did
not properly handle memory reallocation when processing XML files. If a
user or application linked against Expat were tricked into opening a
crafted XML file, an attacker could cause a denial of service by consuming
excessive memory resources.
Update instructions
The problem can be corrected by updating your system to the following package versions:
Ubuntu 24.10
Ubuntu 24.04
-
libxmltok1t64
-
1.2-4.1ubuntu2.24.0.4.1+esm3
Available with Ubuntu Pro
Ubuntu 22.04
-
libxmltok1
-
1.2-4ubuntu0.22.04.1~esm5
Available with Ubuntu Pro
Ubuntu 20.04
-
libxmltok1
-
1.2-4ubuntu0.20.04.1~esm5
Available with Ubuntu Pro
Ubuntu 18.04
-
libxmltok1
-
1.2-4ubuntu0.18.04.1~esm5
Available with Ubuntu Pro
In general, a standard system update will make all the necessary changes.