CVE-2026-9149: openSUSE libsolv heap buffer overflow in repo_add_solv

CVE-2026-9149 · Severity: medium · CVSS 6.5 · Published 2026-05-21

libsolv is a library used by package managers (like DNF and Zypper) to resolve software dependencies. A vulnerability exists where processing a maliciously crafted repository file (.solv) can cause the application to crash. This could lead to a denial of service, preventing users or automated systems from installing or updating software.

Technologies: Opensuse Libsolv. Vendors: Opensuse.

Quick answers

Is CVE-2026-9149 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-9149 being exploited in the wild.
How severe is CVE-2026-9149?
Medium severity, with a CVSS score of 6.5, published 21 May 2026.
Which products and versions are affected?
Opensuse Libsolv <= 0.7.36.
Is there a fix for CVE-2026-9149?
A patch was published on 2026-04-28: Fix merged into libsolv master branch Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
How is CVE-2026-9149 attacked?
It is attacked over the network, in a software library.
Am I affected by CVE-2026-9149?
Check whether you run Opensuse Libsolv at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

Technical details

A heap-based buffer overflow exists in libsolv's `repo_add_solv` function due to improper validation of `maxsize` and `allsize` values read from `.solv` file headers. The `read_id` function returns a signed `Id` (int); if a crafted file contains a large unsigned value, it is interpreted as a negative integer. This leads to an integer overflow during buffer size calculation in `solv_calloc`, resulting in an undersized heap allocation. Subsequently, `fread` uses a default `DATA_READ_CHUNK` (8192 bytes) to populate the buffer, causing an out-of-bounds write. The vulnerability is reachable via any application that parses untrusted `.solv` files, such as `dumpsolv`. A fix has been proposed in the openSUSE libsolv GitHub repository (PR #617).

Affected products

  • openSUSE libsolv <= 0.7.36

Timeline

  • 2026-04-21: disclosed: Reported by Aisle Research via Red Hat Bugzilla
  • 2026-04-23: other: Pull request with fix submitted to openSUSE/libsolv GitHub
  • 2026-04-28: patched: Fix merged into libsolv master branch
  • 2026-05-21: advisory: CVE-2026-9149 published in NVD

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.