USN-8022-1: Expat vulnerabilities

Publication date

10 February 2026

Overview

Several security issues were fixed in Expat.


Packages

  • expat - XML parsing C library

Details

It was discovered that Expat incorrectly handled memory when parsing certain
XML files. An attacker could possibly use this issue to cause a denial of
service. This issue was only addressed in Ubuntu 25.10. (CVE-2025-59375)

It was discovered that Expat incorrectly handled the initialization of parsers
for external entities. An attacker could possibly use this issue to cause a
denial of service. (CVE-2026-24515)

It was discovered that Expat incorrectly handled integer calculations when
allocating memory for XML tags. An attacker could possibly use this issue to
cause a denial of service or execute arbitrary code. (CVE-2026-25210)

It was discovered that Expat incorrectly handled memory when parsing certain
XML files. An attacker could possibly use this issue to cause a denial of
service. This issue was only addressed in Ubuntu 25.10. (CVE-2025-59375)

It was discovered that Expat incorrectly handled the initialization of parsers
for external entities. An attacker could possibly use this issue to cause a
denial of service. (CVE-2026-24515)

It was discovered that Expat incorrectly handled integer calculations when
allocating memory for XML tags. An attacker could possibly use this issue to
cause a denial of service or execute arbitrary code. (CVE-2026-25210)

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
25.10 questing expat –  2.7.1-2ubuntu0.2
libexpat1 –  2.7.1-2ubuntu0.2
22.04 LTS jammy expat –  2.4.7-1ubuntu0.7
libexpat1 –  2.4.7-1ubuntu0.7
20.04 LTS focal expat –  2.2.9-1ubuntu0.8+esm1  
libexpat1 –  2.2.9-1ubuntu0.8+esm1  
18.04 LTS bionic expat –  2.2.5-3ubuntu0.9+esm3  
libexpat1 –  2.2.5-3ubuntu0.9+esm3  
16.04 LTS xenial expat –  2.1.0-7ubuntu0.16.04.5+esm11  
lib64expat1 –  2.1.0-7ubuntu0.16.04.5+esm11  
libexpat1 –  2.1.0-7ubuntu0.16.04.5+esm11  
14.04 LTS trusty expat –  2.1.0-4ubuntu1.4+esm11  
lib64expat1 –  2.1.0-4ubuntu1.4+esm11  
libexpat1 –  2.1.0-4ubuntu1.4+esm11  

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 ›