USN-7307-1: xmltok library vulnerability

Publication date

26 February 2025

Overview

Libxmltok could be made to crash if it opened a specially crafted file.


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.

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

In general, a standard system update will make all the necessary changes.

Learn more about how to get the fixes.

The problem can be corrected by updating your system to the following package versions:

Ubuntu Release Package Version
24.10 oracular libxmltok1t64 –  1.2-4.1ubuntu3.2
24.04 noble libxmltok1t64 –  1.2-4.1ubuntu2.24.0.4.1+esm3  
22.04 jammy libxmltok1 –  1.2-4ubuntu0.22.04.1~esm5  
20.04 focal libxmltok1 –  1.2-4ubuntu0.20.04.1~esm5  
18.04 bionic libxmltok1 –  1.2-4ubuntu0.18.04.1~esm5  

Reduce your security exposure

Ubuntu Pro provides ten-year security coverage to 25,000+ packages in Main and Universe repositories, and it is free for up to five machines.


Have additional questions?

Talk to a member of the team ›