USN-7424-1: Expat vulnerability

Publication date

8 April 2025

Overview

Expat could be made to crash if it received specially crafted input.


Packages

  • expat - XML parsing C library

Details

It was discovered that Expat could crash due to stack overflow when
processing XML documents with deeply nested entity references. If a user
or automated system were tricked into processing specially crafted XML
input, an attacker could use this issue to cause a denial of service.

It was discovered that Expat could crash due to stack overflow when
processing XML documents with deeply nested entity references. If a user
or automated system were tricked into processing specially crafted XML
input, an attacker could use this issue to cause a denial of service.

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 expat –  2.6.2-2ubuntu0.2
libexpat1 –  2.6.2-2ubuntu0.2
24.04 noble expat –  2.6.1-2ubuntu0.3
libexpat1 –  2.6.1-2ubuntu0.3
22.04 jammy expat –  2.4.7-1ubuntu0.6
libexpat1 –  2.4.7-1ubuntu0.6

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 ›