CVEfocus › CVE database › CVE-2026-9149

CVE-2026-9149Libsolv: heap buffer overflow in libsolv repo_add_solv via negative maxsize from crafted…

CVSS 6.5 MediumEPSS 0.3% (higher than 24% of CVEs)Published 2026-05-20Updated 2026-11-24Assigner: redhat

A flaw was found in libsolv. This heap buffer overflow vulnerability occurs when a victim processes a specially crafted `.solv` file containing negative size values in the `repo_add_solv` function. This leads to an undersized memory allocation and a subsequent out-of-bounds write. An attacker could exploit this to cause a denial of service (DoS).

CWE-122

What to do

Fixed builds are available from AlmaLinux, Debian, Red Hat, Rocky Linux: see the table below for the fixed version per release.

Debian, Red Hat, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

12Fixed
19Fix pending
3Under investigation
1Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10libsolvFix pendingUBUNTU-CVE-2026-9149
Ubuntu 26.04libsolvUnder investigationUBUNTU-CVE-2026-9149
Ubuntu 25.10libsolvWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2026-9149
Ubuntu 24.04libsolvUnder investigationUBUNTU-CVE-2026-9149
Ubuntu 22.04libsolvUnder investigationUBUNTU-CVE-2026-9149
Ubuntu 20.04libsolvFix pendingUBUNTU-CVE-2026-9149
Ubuntu 18.04libsolvFix pendingUBUNTU-CVE-2026-9149
Ubuntu 16.04libsolvFix pendingUBUNTU-CVE-2026-9149
Debian 14libsolvFixed0.7.38-1DEBIAN-CVE-2026-9149
Debian 13libsolvFix pendingDEBIAN-CVE-2026-9149
Debian 12libsolvFix pendingDEBIAN-CVE-2026-9149
Red Hat Enterprise Linux 10libsolvFixed0:0.7.33-5.el10_2RHSA-2026:28236
Red Hat Enterprise Linux 10libsolv-develFixed0:0.7.33-5.el10_2RHSA-2026:28236
Red Hat Enterprise Linux 10libsolv-toolsFixed0:0.7.33-5.el10_2RHSA-2026:28236
Red Hat Enterprise Linux 10libsolv-tools-baseFixed0:0.7.33-5.el10_2RHSA-2026:28236
Red Hat Enterprise Linux 10python3-solvFixed0:0.7.33-5.el10_2RHSA-2026:28236
Red Hat Enterprise Linux 9libsolvFix pending
Fix deferred
Red Hat Enterprise Linux 9libsolv-develFix pending
Fix deferred
Red Hat Enterprise Linux 9libsolv-toolsFix pending
Fix deferred
Red Hat Enterprise Linux 9python3-solvFix pending
Fix deferred
Red Hat Enterprise Linux 8libsolvFix pending
Fix deferred
Red Hat Enterprise Linux 8libsolv-develFix pending
Fix deferred
Red Hat Enterprise Linux 8libsolv-toolsFix pending
Fix deferred
Red Hat Enterprise Linux 8python3-solvFix pending
Fix deferred
Red Hat Enterprise Linux 7libsolvFix pending
Fix deferred
Red Hat Enterprise Linux 7libsolv-demoFix pending
Fix deferred
Red Hat Enterprise Linux 7libsolv-develFix pending
Fix deferred
Red Hat Enterprise Linux 7libsolv-toolsFix pending
Fix deferred
Red Hat Enterprise Linux 7python2-solvFix pending
Fix deferred
AlmaLinux 10libsolvFixed0.7.33-5.el10_2.alma.1ALSA-2026:28236
AlmaLinux 10libsolv-develFixed0.7.33-5.el10_2.alma.1ALSA-2026:28236
AlmaLinux 10libsolv-toolsFixed0.7.33-5.el10_2.alma.1ALSA-2026:28236
AlmaLinux 10libsolv-tools-baseFixed0.7.33-5.el10_2.alma.1ALSA-2026:28236
AlmaLinux 10python3-solvFixed0.7.33-5.el10_2.alma.1ALSA-2026:28236
Rocky Linux 10libsolvFixed0:0.7.33-5.el10_2RLSA-2026:28236

What the vendor says

As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Workaround: To mitigate this issue, avoid processing untrusted `.solv` files with libsolv or any applications that consume `.solv` input. Ensure that all `.solv` data processed by the system originates from trusted sources only.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.