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

Source: https://junglewise.ai/threats/cve-2026-9149-opensuse-libsolv-heap-buffer-overflow-in-repo-add-solv  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-05-21. Updated: 2026-05-21  
License: CC BY 4.0 with a link back

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](https://junglewise.ai/threats/technologies/libsolv). Vendors: [Opensuse](https://junglewise.ai/threats/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

- [https://access.redhat.com/security/cve/CVE-2026-9149](https://access.redhat.com/security/cve/CVE-2026-9149)
- [https://bugzilla.redhat.com/show_bug.cgi?id=2460380](https://bugzilla.redhat.com/show_bug.cgi?id=2460380)
- [https://github.com/openSUSE/libsolv/pull/617](https://github.com/openSUSE/libsolv/pull/617)

## Related threats

- [OpenSUSE libsolv stack overflow in PGP EdDSA verification](https://junglewise.ai/threats/cve-2026-48863-opensuse-libsolv-stack-overflow-in-pgp-eddsa-verification)
- [openSUSE libsolv stack overflow in Debian metadata parser](https://junglewise.ai/threats/cve-2026-9150-opensuse-libsolv-stack-overflow-in-debian-metadata-parser)
