Libsolv: heap buffer overflow in libsolv repo_add_solv via negative maxsize from crafted .solv file
Published May 20, 2026
6.5
MEDIUMCVSS 3.1
EPSS 0.57%
Description
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).
Affected products
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | |||
|---|---|---|---|---|---|---|
| Red Hat | Red Hat Enterprise Linux 7 | affected |
| |||
| Red Hat | Red Hat Enterprise Linux 8 | affected |
| |||
| Red Hat | Red Hat Enterprise Linux 9 | affected |
| |||
| Red Hat | Red Hat OpenShift Container Platform 4 | affected |
| |||
| Red Hat | Red Hat Satellite 6 | affected |
| |||
| Red Hat | Red Hat Update Infrastructure 4 for Cloud Providers | affected |
|
- ≤ 0.7.36
- n/a
- 4.0
- 6.0
- 4
- 7.0
- 8.0
- 9.0
- 10.0
No data.
Red Hat Enterprise Linux 10
libsolv-0:0.7.33-5.el10_2
Fixed · RHSA-2026:28236
Red Hat Enterprise Linux 10.0 Extended Update Support
libsolv-0:0.7.29-8.el10_0.1
Fixed · RHSA-2026:48818
Red Hat Hardened Images
libsolv-main-0.7.38-2.hum1
Fixed · RHSA-2026:21333
Red Hat Enterprise Linux 7
libsolv
Fix deferred
Red Hat Enterprise Linux 8
libsolv
Fix deferred
Red Hat Enterprise Linux 9
libsolv
Fix deferred
Red Hat OpenShift Container Platform 4
openshift/ose-rhel-coreos-8
Fix deferred
Red Hat OpenShift Container Platform 4
openshift/ose-rhel-coreos-9
Fix deferred
Red Hat Satellite 6
satellite-capsule:el8/libsolv
Fix deferred
Red Hat Update Infrastructure 4 for Cloud Providers
libsolv
Fix deferred
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 10 | libsolv-0:0.7.33-5.el10_2 | Fixed | RHSA-2026:28236 |
| Red Hat Enterprise Linux 10.0 Extended Update Support | libsolv-0:0.7.29-8.el10_0.1 | Fixed | RHSA-2026:48818 |
| Red Hat Hardened Images | libsolv-main-0.7.38-2.hum1 | Fixed | RHSA-2026:21333 |
| Red Hat Enterprise Linux 7 | libsolv | Fix deferred | n/a |
| Red Hat Enterprise Linux 8 | libsolv | Fix deferred | n/a |
| Red Hat Enterprise Linux 9 | libsolv | Fix deferred | n/a |
| Red Hat OpenShift Container Platform 4 | openshift/ose-rhel-coreos-8 | Fix deferred | n/a |
| Red Hat OpenShift Container Platform 4 | openshift/ose-rhel-coreos-9 | Fix deferred | n/a |
| Red Hat Satellite 6 | satellite-capsule:el8/libsolv | Fix deferred | n/a |
| Red Hat Update Infrastructure 4 for Cloud Providers | libsolv | Fix deferred | n/a |
No package ranges for this CVE.
Remediation
Vendor solution
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.
Red Hat statement
This Moderate impact heap buffer overflow in libsolv occurs when processing specially crafted `.solv` files with negative size values. Exploitation requires a victim to process attacker-controlled input, such as an untrusted `.solv` file, which can lead to a denial of service. The vulnerability is not easily exploitable without user interaction or specific application workflows that handle untrusted solvdb inputs.
Red Hat mitigation
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.
References (8)
- https://access.redhat.com/errata/RHSA-2026:21333 vendor-advisoryx_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:28236 vendor-advisoryx_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:48818 vendor-advisoryx_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2026-9149 vdb-entryx_refsource_REDHATThird Party AdvisoryVendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2460380 issue-trackingx_refsource_REDHATIssue TrackingThird Party Advisory
- https://github.com/openSUSE/libsolv/pull/617 exploitIssue TrackingPatch
- https://nvd.nist.gov/vuln/detail/CVE-2026-9149
- https://www.cve.org/CVERecord?id=CVE-2026-9149
| Link | Providers | Tags |
|---|---|---|
| https://access.redhat.com/errata/RHSA-2026:21333 | vendor-advisoryx_refsource_REDHAT | |
| https://access.redhat.com/errata/RHSA-2026:28236 | vendor-advisoryx_refsource_REDHAT | |
| https://access.redhat.com/errata/RHSA-2026:48818 | vendor-advisoryx_refsource_REDHAT | |
| https://access.redhat.com/security/cve/CVE-2026-9149 | vdb-entryx_refsource_REDHATThird Party AdvisoryVendor Advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=2460380 | issue-trackingx_refsource_REDHATIssue TrackingThird Party Advisory | |
| https://github.com/openSUSE/libsolv/pull/617 | exploitIssue TrackingPatch | |
| https://nvd.nist.gov/vuln/detail/CVE-2026-9149 | ||
| https://www.cve.org/CVERecord?id=CVE-2026-9149 |
Change history (0)
No recorded changes yet.