p PatchFirst

USN-8790-1

USN-8790-1 · Ubuntu security update: expat

Fix available

Compare with your installed version

Affected products and known fixed versions are public information. Compare them with your installed version.

  • expat Ubuntu Pro 14.04 LTSUpdate to 2.1.0-4ubuntu1.4+esm12
  • expat Ubuntu Pro 16.04 LTSUpdate to 2.1.0-7ubuntu0.16.04.5+esm13
  • expat Ubuntu Pro 18.04 LTSUpdate to 2.2.5-3ubuntu0.9+esm4
  • expat Ubuntu Pro 20.04 LTSUpdate to 2.2.9-1ubuntu0.8+esm2
  • and 3 more

Check the installed version:

dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="expat"'

Assess your server’s risks

The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.

Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.

curl -fsSL https://patchfirst.dev/check.sh | sh
Check your server for free →

Channels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.

This page contains facts from the distribution’s bulletin. Check the original advisory before installing the update.

It was discovered that Expat could be made to allocate large amounts of memory when parsing a small crafted document. An attacker could possibly use this issue to cause Expat to consume resources, leading to a denial of service. This issue was only addressed in Ubuntu 24.04 LTS. (CVE-2025-59375)

It was discovered that Expat incorrectly handled empty external parameter entity content. An attacker could possibly use this issue to cause Expat to crash, resulting in a denial of service. (CVE-2026-32776)

It was discovered that Expat incorrectly handled certain DTD content. An attacker could possibly use this issue to cause Expat to enter an infinite loop, resulting in a denial of service. (CVE-2026-32777)

It was discovered that Expat incorrectly handled memory when retrying after an earlier out-of-memory condition. An attacker could possibly use this issue to cause Expat to crash, resulting in a denial of service. (CVE-2026-32778)

It was discovered that Expat performed attribute name collision checks inefficiently. An attacker could possibly use this issue to cause Expat to consume resources when processing a moderately sized crafted XML document, resulting in a denial of service. This issue was only addressed in Ubuntu 24.04 LTS and Ubuntu 26.04 LTS. (CVE-2026-45186)

It was discovered that Expat used insufficient entropy, allowing hash flooding through a crafted XML document. An attacker could possibly use this issue to cause Expat to consume resources, leading to a denial of service. This issue was only addressed in Ubuntu 14.04 LTS, Ubuntu 24.04 LTS, and Ubuntu 26.04 LTS. (CVE-2026-41080)

It was discovered that Expat did not track handler call depth for certain functions called from within handlers, leading to a use-after-free. An attacker could possibly use this issue to cause Expat to crash, resulting in a denial of service, or possibly execute arbitrary code. (CVE-2026-50219, CVE-2026-56412)

It was discovered that Expat incorrectly handled certain values, leading to integer overflows. An attacker could possibly use this issue to cause Expat to crash, resulting in a denial of service. (CVE-2026-56403, CVE-2026-56404, CVE-2026-56405)

It was discovered that Expat incorrectly handled certain values, leading to an integer overflow. An attacker could possibly use this issue to cause Expat to crash, resulting in a denial of service. This issue only affected Ubuntu 18.04 LTS, Ubuntu 20.04 LTS, Ubuntu 22.04 LTS, Ubuntu 24.04 LTS, and Ubuntu 26.04 LTS. (CVE-2026-56408)

Published
Updated

Vulnerabilities closed

Stack: system

Updated packages and versions

  • expat Ubuntu Pro 14.04 LTS

    Versions
    • 2.1.0-4
    • 2.1.0-4ubuntu1
    • 2.1.0-4ubuntu1.1
    • 2.1.0-4ubuntu1.2
    • 2.1.0-4ubuntu1.3
    • 2.1.0-4ubuntu1.4
    All versions (15)
    • 2.1.0-4ubuntu1.4+esm1
    • 2.1.0-4ubuntu1.4+esm2
    • 2.1.0-4ubuntu1.4+esm4
    • 2.1.0-4ubuntu1.4+esm6
    • 2.1.0-4ubuntu1.4+esm7
    • 2.1.0-4ubuntu1.4+esm8
    • 2.1.0-4ubuntu1.4+esm9
    • 2.1.0-4ubuntu1.4+esm10
    • 2.1.0-4ubuntu1.4+esm11
    Affected ranges
    • ECOSYSTEM: < 2.1.0-4ubuntu1.4+esm12

    Update to 2.1.0-4ubuntu1.4+esm12

  • expat Ubuntu Pro 16.04 LTS

    Versions
    • 2.1.0-7
    • 2.1.0-7ubuntu0.16.04.1
    • 2.1.0-7ubuntu0.16.04.2
    • 2.1.0-7ubuntu0.16.04.3
    • 2.1.0-7ubuntu0.16.04.4
    • 2.1.0-7ubuntu0.16.04.5
    All versions (15)
    • 2.1.0-7ubuntu0.16.04.5+esm2
    • 2.1.0-7ubuntu0.16.04.5+esm5
    • 2.1.0-7ubuntu0.16.04.5+esm6
    • 2.1.0-7ubuntu0.16.04.5+esm7
    • 2.1.0-7ubuntu0.16.04.5+esm8
    • 2.1.0-7ubuntu0.16.04.5+esm9
    • 2.1.0-7ubuntu0.16.04.5+esm10
    • 2.1.0-7ubuntu0.16.04.5+esm11
    • 2.1.0-7ubuntu0.16.04.5+esm12
    Affected ranges
    • ECOSYSTEM: < 2.1.0-7ubuntu0.16.04.5+esm13

    Update to 2.1.0-7ubuntu0.16.04.5+esm13

  • expat Ubuntu Pro 18.04 LTS

    Versions
    • 2.2.3-1
    • 2.2.3-2
    • 2.2.5-0ubuntu2
    • 2.2.5-3
    • 2.2.5-3ubuntu0.1
    • 2.2.5-3ubuntu0.2
    All versions (13)
    • 2.2.5-3ubuntu0.4
    • 2.2.5-3ubuntu0.7
    • 2.2.5-3ubuntu0.8
    • 2.2.5-3ubuntu0.9
    • 2.2.5-3ubuntu0.9+esm1
    • 2.2.5-3ubuntu0.9+esm2
    • 2.2.5-3ubuntu0.9+esm3
    Affected ranges
    • ECOSYSTEM: < 2.2.5-3ubuntu0.9+esm4

    Update to 2.2.5-3ubuntu0.9+esm4

  • expat Ubuntu Pro 20.04 LTS

    Versions
    • 2.2.7-2
    • 2.2.9-1
    • 2.2.9-1build1
    • 2.2.9-1ubuntu0.2
    • 2.2.9-1ubuntu0.4
    • 2.2.9-1ubuntu0.5
    All versions (10)
    • 2.2.9-1ubuntu0.6
    • 2.2.9-1ubuntu0.7
    • 2.2.9-1ubuntu0.8
    • 2.2.9-1ubuntu0.8+esm1
    Affected ranges
    • ECOSYSTEM: < 2.2.9-1ubuntu0.8+esm2

    Update to 2.2.9-1ubuntu0.8+esm2

  • expat Ubuntu 22.04 LTS

    Versions
    • 2.4.1-2
    • 2.4.1-3
    • 2.4.2-1
    • 2.4.3-1
    • 2.4.3-2
    • 2.4.4-1
    All versions (15)
    • 2.4.6-1
    • 2.4.7-1
    • 2.4.7-1ubuntu0.1
    • 2.4.7-1ubuntu0.2
    • 2.4.7-1ubuntu0.3
    • 2.4.7-1ubuntu0.4
    • 2.4.7-1ubuntu0.5
    • 2.4.7-1ubuntu0.6
    • 2.4.7-1ubuntu0.7
    Affected ranges
    • ECOSYSTEM: < 2.4.7-1ubuntu0.8

    Update to 2.4.7-1ubuntu0.8

  • expat Ubuntu 24.04 LTS

    Versions
    • 2.5.0-2
    • 2.6.0-1
    • 2.6.1-2
    • 2.6.1-2build1
    • 2.6.1-2ubuntu0.1
    • 2.6.1-2ubuntu0.2
    All versions (8)
    • 2.6.1-2ubuntu0.3
    • 2.6.1-2ubuntu0.4
    Affected ranges
    • ECOSYSTEM: < 2.6.1-2ubuntu0.5

    Update to 2.6.1-2ubuntu0.5

  • expat Ubuntu 26.04 LTS

    Versions
    • 2.7.1-2
    • 2.7.3-1
    • 2.7.4-1
    Affected ranges
    • ECOSYSTEM: < 2.7.4-1ubuntu0.1

    Update to 2.7.4-1ubuntu0.1

Original sources

Check your server →