On this page (7 sections)

Ubuntu published USN-9115-1 on 17 November 2026, covering three vulnerabilities in Mini-XML (also called mxml), a small C library for reading and writing XML. Two of them can crash a program through runaway recursion. The third is a stack-based buffer overflow that Ubuntu says could, in the worst case, allow arbitrary code execution.

If you run Ubuntu 16.04 LTS or 18.04 LTS servers, especially ones that process XML files from outside sources, check whether the libmxml1 package is installed and whether the fixed version is available to you. The fixes are delivered through Ubuntu Pro (ESM), not the standard archive.

What Ubuntu fixed

Mini-XML is a library, not a service. It does nothing by itself, but any program linked against it inherits its bugs when that program opens or writes XML. Ubuntu describes the overall risk as Mini-XML being made to crash or run programs if it opened a specially crafted file.

The three CVEs in USN-9115-1
CVEWeaknessImpact (per Ubuntu / NVD)CVSS (NVD)
CVE-2016-4570CWE-400, uncontrolled resource consumption in mxmlDeleteCrash and denial of service through stack consumption5.5 Medium
CVE-2016-4571CWE-400, uncontrolled resource consumption in mxml_write_nodeCrash and denial of service through stack consumption5.5 Medium
CVE-2018-20004CWE-787, out-of-bounds write in mxml_write_nodeCrash, or possibly arbitrary code execution8.8 High
The GitHub Advisory Database labels the two 2016 entries "High" severity, while the NVD record gives them a CVSS score of 5.5 (Medium). The sources disagree on the label, so treat the NVD score as the scored value and the practical risk as depending on how your software uses the library.

Technical details in plain terms

Unbounded recursion (CVE-2016-4570 and CVE-2016-4571)

Ubuntu explains that Mini-XML used unbounded recursion when deleting and writing XML nodes. A deeply nested XML document makes the library call itself over and over until the stack is used up, and the process crashes. The CVE-2016-4570 advisory concerns the mxmlDelete function and the CVE-2016-4571 advisory concerns mxml_write_node. Both were published in the NVD on 3 February 2017 and list mxml 2.9 and 2.7, and possibly earlier versions. Ubuntu states these two only affected 16.04 LTS.

Stack buffer overflow (CVE-2018-20004)

The third issue is more serious. Per the GitHub advisory, a stack-based buffer overflow exists in mxml_write_node in mxml 2.12, involving a double-precision floating point number. Ubuntu words it as the library incorrectly handling certain floating point values when writing XML nodes. The CVSS v3.1 vector is AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H, meaning network reachable, low complexity, no privileges, but user interaction required. Ubuntu says an attacker could possibly cause a crash or possibly execute arbitrary code.

The CVE references include public write-ups tagged as exploit material, including an upstream issue tracker entry. Public details exist, but the research does not report any attacks in the wild. The FIRST EPSS estimates shown by GitHub are about 1.6% for the two 2016 CVEs and about 2.0% for CVE-2018-20004 over the next 30 days. That is a probability estimate, not evidence of exploitation.

Who is realistically exposed

Exposure depends on whether a program on your system uses libmxml1 and feeds it XML you do not fully control. A few practical points:

  • The affected releases are Ubuntu 16.04 LTS and 18.04 LTS. Both are past standard support, so fixes come through Ubuntu Pro with ESM Apps.
  • The two recursion bugs matter mostly for availability: a crafted file can crash the program that parses it.
  • The overflow matters most where an application writes XML containing attacker-influenced numeric values, or opens files from untrusted users, uploads or third parties.
  • Systems that have libmxml1 installed only as an unused dependency carry less practical risk, but the package should still be updated.
  • The research does not list which applications link to Mini-XML, so check your own systems instead of assuming.

How to check your servers

Start by finding out whether the library is installed and which version you have. The first command is read-only and lists the installed libmxml1 package and its version. Run it on each Ubuntu 16.04 and 18.04 host.

Show the installed libmxml1 version (Ubuntu 16.04 and 18.04)Shell
dpkg -l libmxml1

Compare the result with the fixed versions: 2.10-1ubuntu0.1~esm1 on 18.04 LTS and 2.9-0ubuntu2+esm1 on 16.04 LTS. If you see an older version, the system is not yet patched. To see which installed packages depend on the library, run this read-only query. It lists the packages that would be affected by a crash or exploit through Mini-XML.

List installed packages that depend on libmxml1 (Ubuntu)Shell
apt-cache rdepends --installed libmxml1

If this prints nothing beyond the header, no installed package depends on the library through the package manager. Software you compiled yourself or bundled in an application directory will not appear here, so check vendor-supplied applications separately.

What to do now

  1. Inventory every Ubuntu 16.04 and 18.04 host and run dpkg -l libmxml1 to see whether the package is present.
  2. Confirm the host has Ubuntu Pro with ESM Apps enabled, since the fixes are delivered that way. Ubuntu notes Pro is free for up to five machines.
  3. Run the package update and confirm the version matches the fixed one for your release.
  4. Restart services that use the library so they load the patched version (see the warning below).
  5. If you cannot patch right away, stop accepting XML files from untrusted sources in any application that uses Mini-XML, and limit who can submit files to it.
  6. Plan an upgrade off 16.04 and 18.04. Relying on extended maintenance is a stopgap, not a long-term position.

On a host with ESM Apps enabled, a standard update pulls the fix. This command refreshes package lists and upgrades only libmxml1. Afterward, rerun dpkg -l libmxml1 and look for the fixed version string.

Update only libmxml1 (Ubuntu 16.04 and 18.04 with ESM Apps)Shell
sudo apt update && sudo apt install --only-upgrade libmxml1
Caution. A library update does not change programs that are already running. A process keeps using the old code in memory until it is restarted, so restart the services that depend on libmxml1, or reboot during a maintenance window. Restarting services interrupts them briefly, so plan it for a quiet period.
Tip. Ubuntu's notice says a standard system update will make the necessary changes. If apt does not offer the fixed version, the most likely reason is that Ubuntu Pro ESM Apps is not enabled on that machine, since Ubuntu states the 18.04 fix is available via ESM Apps.

Monitoring afterwards

Library bugs like these tend to show up as application crashes first. Watch for unexplained restarts or segmentation faults in services that parse XML, and for unusually large or deeply nested files arriving at upload or import endpoints. A repeated crash right after a file is processed deserves a look even if the cause is not yet known.

For public-facing sites, regular outside-in checks help catch what changes after an incident. Webforta Monitor tracks uptime, certificate, DNS and header changes, which can reveal a service that keeps falling over. For general hygiene on exposed servers, the small business website security guide covers patching habits, and what to do if your website is hacked is worth having ready if a crash turns out to be more than a crash.

Bottom line

USN-9115-1 is a patch-and-restart job rather than an emergency. Nothing in the research indicates active exploitation, but CVE-2018-20004 is a memory corruption bug with public technical details, and the affected Ubuntu releases are old ones where fixes only arrive through ESM. Find the hosts, apply the update, restart the dependent services, and use the opportunity to schedule a move to a supported release.

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-2016-4570 - GitHub Advisory Databasegithub.com
  2. CVE-2016-4571 - GitHub Advisory Databasegithub.com
  3. CVE-2018-20004 - GitHub Advisory Databasegithub.com
  4. USN-9115-1: Mini-XML vulnerabilities | Ubuntu security notices | Ubuntuubuntu.com ·
  • Ubuntu
  • USN
  • Mini-XML
  • buffer overflow
  • Ubuntu Pro ESM