On this page (7 sections)

Ubuntu has published USN-9076-1, a security notice for libsolv, the dependency solver library used by package management tools. The flaw is a heap-based buffer over-read that could make libsolv crash when it processes specially crafted repository data, resulting in a denial of service.

The notice is relevant if you run Ubuntu 18.04 LTS or 16.04 LTS servers, especially ones that use tools built on libsolv. Ubuntu describes the impact as a crash only. For 18.04 LTS the notice says the fix is available through Ubuntu Pro (ESM Apps); for 16.04 LTS it lists a fixed version but does not spell out how it is delivered.

What happened

According to Ubuntu, libsolv incorrectly handled certain repository data, which leads to a heap-based buffer over-read. An attacker could possibly use this to make libsolv crash, causing a denial of service. The notice references CVE-2019-20387 and describes the outcome as a crash only. It does not mention code execution or data theft.

This is currently covered by a single primary source, the Ubuntu notice itself. The notice does not include a severity rating, a CVSS score or any statement about attacks in the wild, so treat those details as unknown rather than assuming either way.

Technical details in plain terms

A buffer over-read happens when software reads past the end of a block of memory it was given. Here the memory is on the heap, and the data being parsed is repository metadata, the package lists that tools use to work out which packages to install or upgrade. If the data is malformed in a particular way, libsolv reads beyond what it should and can crash.

A crash in a library matters mainly in terms of availability. If a process that depends on libsolv dies while handling bad repository data, whatever job it was doing, such as a package operation, fails. The attacker would need a way to get crafted repository data in front of libsolv, for example through a repository you have configured. Ubuntu does not describe the delivery path in more detail.

Who is affected

  • Ubuntu 18.04 LTS (bionic) systems with libsolv0 or libsolvext0 installed. Ubuntu says the fix is available with Ubuntu Pro via ESM Apps, and that a community fix might become publicly available in the future.
  • Ubuntu 16.04 LTS (xenial) systems with libsolv0 or libsolvext0 installed. The notice lists fixed versions with an ~esm1 suffix but does not state how they are delivered or whether Ubuntu Pro is required.
  • Other Ubuntu releases are not listed in this notice.

Hosts that only pull packages from trusted repositories likely face a lower practical risk than hosts that add third-party or untrusted repositories, though the notice does not rank risk itself. Older LTS releases are also the ones most likely to be forgotten, so it is worth confirming what is actually running.

How to check your exposure

Run this on Ubuntu to list the installed libsolv packages and their versions. Compare the output with the fixed versions in the table below.

List installed libsolv packages and versions (Ubuntu)Shell
dpkg -l | grep libsolv

Confirm which release the host is running with the command below, which prints the Ubuntu version.

Show the Ubuntu release (Ubuntu)Shell
lsb_release -a
Fixed package versions from USN-9076-1
Ubuntu releasePackageFixed version
18.04 LTS (bionic)libsolv00.6.30-1ubuntu0.1~esm2
18.04 LTS (bionic)libsolvext00.6.30-1ubuntu0.1~esm2
16.04 LTS (xenial)libsolv00.6.11-1.1ubuntu0.1~esm1
16.04 LTS (xenial)libsolvext00.6.11-1.1ubuntu0.1~esm1

If the installed version is equal to or newer than the fixed version for your release, you already have the fix.

What to do now

Ubuntu says that in general a standard system update will make the necessary changes. In practice the update only brings in the fixed packages if the host can reach the repository that carries them. For 18.04 LTS the notice says that is Ubuntu Pro via ESM Apps, so attach the host to Ubuntu Pro first. For 16.04 LTS the notice does not say how the fixed packages are delivered, so check that the upgrade actually reaches the version in the table.

Caution. Upgrading packages can interrupt running services or package operations on a production server. Schedule it in a maintenance window and confirm you have a recent backup first.

Once the host has access to the repository carrying the fix, the commands below refresh the package index and upgrade only the libsolv libraries. Afterwards, rerun the dpkg check and confirm the versions match the table.

Refresh package lists and upgrade only the libsolv libraries (Ubuntu)Shell
sudo apt update
sudo apt install --only-upgrade libsolv0 libsolvext0
  1. Find Ubuntu 18.04 LTS and 16.04 LTS hosts in your inventory.
  2. Run the dpkg check and compare versions with the fixed versions above.
  3. For 18.04 LTS, confirm the host is attached to Ubuntu Pro, since the notice says the fix is available via ESM Apps.
  4. Apply the update and verify the new version with dpkg again; if the fixed version does not appear, the host probably cannot see the ESM repository yet.
  5. Review which third-party or untrusted package repositories are configured and remove ones you do not need.
  6. If you cannot update yet, note the host and plan a date; the notice does not mention a workaround.
Tip. Ubuntu states that Ubuntu Pro is free for up to five machines, which may cover small fleets that still run 18.04 LTS.

Detection and monitoring

Because the described impact is a crash, the signs are availability problems rather than a compromise: package tools that fail unexpectedly or processes that exit while reading repository data. Check system logs for segmentation faults around package operations.

Search the kernel log for recent segmentation faults (Linux, read-only)Shell
sudo dmesg | grep -i segfault

For wider hygiene on servers that host websites, keep an eye on certificate and uptime state so an unexpected service failure is noticed quickly. Webforta Monitor covers uptime, certificate, DNS and header changes, and the small business security guide covers general hardening. Neither is a substitute for applying the update.

Timeline

  • 12 November 2026: Ubuntu publishes USN-9076-1 for libsolv, referencing CVE-2019-20387.
The research for this story does not include a CVSS score, a CVE record entry or any report of exploitation. This article does not claim anything beyond what the Ubuntu notice states.

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. USN-9076-1: libsolv vulnerability | Ubuntu security notices | Ubuntuubuntu.com ·
  • Ubuntu
  • libsolv
  • USN
  • denial of service
  • CVE-2019-20387