On this page (8 sections)

On 25 November 2026 Ubuntu published USN-9196-1, a security notice covering a batch of Expat vulnerabilities. Expat is the widely used C library that many programs rely on to parse XML, so the fix reaches far more software than the package name suggests.

If you run Ubuntu 22.04 LTS, 24.04 LTS or 26.04 LTS servers, containers or hosting stacks, you should apply the updated packages. This article summarizes what the notice says, which issues are the most serious, and how to check and update safely.

What happened

The Ubuntu notice says several security issues were fixed in Expat. It references ten distinct CVE identifiers, ranging from UTF-16 handling mistakes and integer overflows to a heap over-read, an entity expansion problem and a file-overwrite issue in the bundled xmlwf tool. Ubuntu's wording for most of them is that an attacker could "possibly" cause a crash, a denial of service, information disclosure or, in two cases, code execution.

The notice says that a standard system update will make all the necessary changes. It does not describe active attacks, and none of the three CVE records reviewed carries a CISA Known Exploited Vulnerabilities flag.

The issues in plain terms

Ubuntu groups the fixes into one notice, but the problems fall into a few classes. The table below uses Ubuntu's own descriptions.

Expat issues listed in USN-9196-1 (descriptions from Ubuntu)
CVEWeakness describedPossible impact per Ubuntu
CVE-2026-93990UTF-16 surrogate pairs not validatedMalformed characters passed to applications
CVE-2026-102633Integer overflow in allocation size on 32-bit platforms (24.04 and 26.04 only)Crash, or possibly arbitrary code execution
CVE-2026-77214Heap buffer over-read from unvalidated buffer lengthsCrash or disclosure of sensitive information
CVE-2026-115506Entity expansion attacks detected too lateExcessive resource use, denial of service
CVE-2026-113351Memory allocations tracked wrongly after a parser reset (24.04 and 26.04 only)Later documents fail to parse, denial of service
CVE-2026-118370Integer overflow with a very large number of attributesCrash, or possibly arbitrary code execution
CVE-2026-117610Empty input to external entity parsers causes NULL pointer dereferenceCrash, denial of service
CVE-2026-124317Truncated multibyte sequences with unknown encodings cause out-of-bounds readCrash or information disclosure
CVE-2026-128241xmlwf follows symbolic links when writing output with -dLocal file overwrite; output files now created with 0600 permissions
CVE-2026-134703UTF-16 surrogate pairs could be split when converting non-native byte order inputMalformed characters passed to applications

Technical details of the three scored CVEs

CVE-2026-93990: unchecked UTF-16 surrogates (CVSS 8.7)

Per the CVE record and GitHub advisory, Expat before 2.8.5 does not check that a high surrogate in UTF-16 input is followed by a low surrogate. A lone high surrogate swallows the next code unit. The advisory text says this can hide markup characters from the parser and enable XML injection, while the CVE description says unpaired surrogates reach applications built with XML_UNICODE and that input characters are silently replaced in other builds. The listed CVSS v4 vector is network, low complexity, no privileges, with high integrity impact.

CVE-2026-102633: integer overflow on 32-bit (CVSS 8.2)

The advisory says libexpat 2.7.2 through 2.8.5 can overflow an integer in expat_realloc() when computing allocation sizes, but only on 32-bit platforms. Malicious XML could lead to a heap buffer overflow, memory corruption or denial of service. Its vector marks attack complexity as high. Ubuntu states this issue affected only 24.04 LTS and 26.04 LTS.

CVE-2026-77214: heap over-read in XML_ParseBuffer (CVSS 8.3)

According to the advisory, libexpat before commit 13c5f63 advances the parse buffer end using a caller-supplied length that is never checked against the allocation. Repeated XML_ParseBuffer calls can push it past the heap block, so later parsing reads out of bounds. A parse buffer must already exist, for example after XML_GetBuffer. The record says the over-read can reveal adjacent heap memory, which can help defeat ASLR. This mostly matters for programs that use the buffer-based API directly.

The GitHub advisory pages list affected and patched versions as unknown and are marked unreviewed, and the CVE-2026-102633 text names 2.8.5 as affected. For distribution systems, rely on the fixed package versions in the Ubuntu notice rather than on upstream version numbers alone.

Who is realistically exposed

Expat is rarely run by itself. It sits underneath language runtimes, web and mail software, SOAP and XML-RPC endpoints, document converters and many system tools. Your risk depends on whether anything on the host parses XML from outside parties.

  • Hosts that accept XML from the internet: APIs, feeds, SAML or SOAP endpoints, upload processors.
  • Shared hosting and multi-site servers, where many applications share one system libexpat.
  • Containers and images based on Ubuntu 22.04, 24.04 or 26.04 that have not been rebuilt recently.
  • 32-bit systems for CVE-2026-102633, since the overflow is described as specific to 32-bit platforms.

Software that bundles its own copy of Expat will not be fixed by the system package update. Check vendor notices for such products, for example the Siemens advisory referenced by all three CVE records.

How to check your exposure

This read-only command, run on Ubuntu or Debian-based hosts, shows the installed version of the Expat library package. Compare the result with the fixed versions in the table below.

Show installed Expat package versions (Debian/Ubuntu)Shell
dpkg -l expat libexpat1
Fixed package versions from USN-9196-1
Ubuntu releasePackagesFixed version
26.04 LTS (resolute)expat, libexpat12.7.4-1ubuntu0.3
24.04 LTS (noble)expat, libexpat12.6.1-2ubuntu0.7
22.04 LTS (jammy)expat, libexpat12.4.7-1ubuntu0.10

If the installed version is equal to or newer than the fixed one for your release, the update is in place. To see whether the system is 32-bit, which matters for CVE-2026-102633, run the following and look for a 32-bit architecture name such as i386 or armhf.

Show the system architecture (Debian/Ubuntu)Shell
dpkg --print-architecture

What to do now

  1. Run the version check above on every Ubuntu 22.04, 24.04 and 26.04 host and note which are below the fixed version.
  2. Update the packages with your normal process (commands below), starting with internet-facing servers that parse XML.
  3. Restart long-running services that load libexpat so they pick up the new library. A package update does not change code already in memory.
  4. Rebuild and redeploy container images built on affected Ubuntu releases.
  5. Identify software that bundles its own Expat and check the vendor for updates.
  6. Review application logs for repeated XML parsing errors or unexplained crashes around the time you were exposed.

This updates only the two affected packages on Ubuntu, as the notice says a standard update is sufficient. Run it as a user with sudo rights.

Update Expat packages (Ubuntu)Shell
sudo apt update
sudo apt install --only-upgrade expat libexpat1
Caution. Restarting services such as web servers, mail servers or application runtimes briefly interrupts them. Schedule restarts in a maintenance window and test on staging first if the host runs production workloads.

To find processes still using an old deleted copy of the library after the update, you can list them with the standard lsof tool, if installed. Any process shown has not been restarted since the upgrade.

List processes still mapping a deleted libexpat file (Linux, requires lsof)Shell
sudo lsof -n 2>/dev/null | grep -i libexpat | grep -i deleted

Detection and monitoring afterwards

No exploitation is reported, so there is no known indicator to hunt for. Practical monitoring is about spotting side effects: crashes or restarts of XML-handling services, spikes in CPU or memory when large or deeply nested documents arrive, and malformed or unusually encoded XML in request logs. Keep unattended security updates enabled so that library fixes like this one do not wait for a manual review.

From the outside, you can also check what your public sites expose with a security scan, and keep an eye on certificate, DNS and header changes through monitoring. These do not tell you whether a library is patched on the server, so the package check above remains the source of truth. For broader hygiene, see our guide to small business website security.

Timeline

  • 19 September 2026: CVE-2026-93990 published by the National Vulnerability Database.
  • 29 September 2026: CVE-2026-102633 published.
  • 7 October 2026: CVE-2026-77214 published.
  • 25 November 2026: Ubuntu publishes USN-9196-1 with fixed packages for 22.04, 24.04 and 26.04 LTS.

Sources

This article is based on the public sources below. Details can change as vendors and researchers publish more; check the original advisories before acting on version numbers.

  1. CVE-2026-93990 - GitHub Advisory Databasegithub.com
  2. CVE-2026-102633 - GitHub Advisory Databasegithub.com
  3. CVE-2026-77214 - GitHub Advisory Databasegithub.com
  4. USN-9196-1: Expat vulnerabilities | Ubuntu security notices | Ubuntuubuntu.com ·
  • Ubuntu
  • Expat
  • libexpat
  • XML parsing
  • patching