CVE-2026-82327

Libsolv: libsolv: out-of-bounds write in repo_write() via unvalidated directory id from vertical/paged .solv filelist data

Published Aug 28, 2026 CVSS 3.1 · 5.5 Medium EPSS < 1% KEV · Not listed
Description
A flaw was found in libsolv, a dependency-resolution library used by RPM-based package managers such as dnf and zypper to work with .solv repository cache files. When libsolv rewrites a .solv cache file, it reads directory-id values from the file's compressed filelist data without validating that they fall within the expected range. A corrupted or specially crafted .solv cache file (for example, one left in a torn state after an unclean system shutdown) can cause an out-of-bounds memory write when a tool such as dnf, yum, or zypper next processes it. Successful exploitation is expected to result in a crash of the affected tool (denial of service); it is not expected to allow arbitrary code execution because the out-of-bounds write always stores a fixed, non-attacker-controlled value.

Analysis

AI-generated

Technical impact

An out‑of‑bounds memory write occurs when libsolv rewrites a .solv cache file, because directory‑id values read from the file’s compressed filelist data are not validated. A corrupted or specially crafted .solv cache file can trigger a crash in tools such as dnf, yum or zypper when they next process the file. This failure results in denial of service for the affected package‑management operation, but does not lead to arbitrary code execution because the out‑of‑bounds write stores a fixed, non‑attacker‑controlled value.

Affected Systems

Red Hat Enterprise Linux 7 through 10, Red Hat Hardened Images, Red Hat OpenShift Container Platform 4, Red Hat Satellite 6, and Red Hat Update Infrastructure 4 for Cloud Providers are affected. The vulnerability is present in the libsolv component used by their RPM‑based package managers; no specific affected versions were listed.

Risk and Exploitability

The CVSS score of 5.5 reflects moderate severity, and the EPSS score is not available, indicating no known high exploitation probability. The issue is not listed in CISA’s KEV catalog, suggesting it is not a known exploited vulnerability. Exploitation would require the attacker to supply or influence a corrupted .solv cache file—typically through an unclean shutdown or by tampering with repository data—so the risk to systems that strictly control repository updates is lower, but systems that rely on automatic package‑manager updates remain susceptible to denial of service.

Remediation

Vendor Workaround

No mitigation is currently available that meets Red Hat Product Security's standards for usability, deployment, applicability, or stability.


OpenCVE Recommended Actions

  • Install the latest Red Hat update that contains the libsolv fix for affected distributions and platforms.
  • Upgrade or reinstall the dnf, yum, and zypper packages to the most recent supported releases to ensure they include the patched libsolv version.
  • If a corrupted .solv cache file is detected after an unclean shutdown, remove the file and rebuild the repository cache by re‑synchronizing the repository metadata.

Generated by OpenCVE AI on August 28, 2026 at 16:46 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Redhat openshift Ai
CPEs cpe:/a:redhat:openshift_ai
Vendors & Products Redhat openshift Ai
Type Values Removed Values Added
First Time appeared Redhat rhel Els
CPEs cpe:/o:redhat:enterprise_linux:10
cpe:/o:redhat:enterprise_linux:7
cpe:/o:redhat:enterprise_linux:8
cpe:/o:redhat:enterprise_linux:9
cpe:/a:redhat:enterprise_linux:10
cpe:/a:redhat:enterprise_linux:8
cpe:/a:redhat:enterprise_linux:9
cpe:/a:redhat:openshift:5
cpe:/o:redhat:rhel_els:7
Vendors & Products Redhat rhel Els
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Redhat hardened Images
Redhat openshift Container Platform
Redhat update Infrastructure 4 For Cloud Providers
Vendors & Products Redhat hardened Images
Redhat openshift Container Platform
Redhat update Infrastructure 4 For Cloud Providers
Type Values Removed Values Added
Description A flaw was found in libsolv, a dependency-resolution library used by RPM-based package managers such as dnf and zypper to work with .solv repository cache files. When libsolv rewrites a .solv cache file, it reads directory-id values from the file's compressed filelist data without validating that they fall within the expected range. A corrupted or specially crafted .solv cache file (for example, one left in a torn state after an unclean system shutdown) can cause an out-of-bounds memory write when a tool such as dnf, yum, or zypper next processes it. Successful exploitation is expected to result in a crash of the affected tool (denial of service); it is not expected to allow arbitrary code execution because the out-of-bounds write always stores a fixed, non-attacker-controlled value.
Title Libsolv: libsolv: out-of-bounds write in repo_write() via unvalidated directory id from vertical/paged .solv filelist data
First Time appeared Redhat
Redhat enterprise Linux
Redhat hummingbird
Redhat openshift
Redhat rhui
Redhat satellite
Weaknesses CWE-129
CPEs cpe:/a:redhat:hummingbird:1
cpe:/a:redhat:openshift:4
cpe:/a:redhat:rhui:4::el8
cpe:/a:redhat:satellite:6
cpe:/o:redhat:enterprise_linux:10
cpe:/o:redhat:enterprise_linux:7
cpe:/o:redhat:enterprise_linux:8
cpe:/o:redhat:enterprise_linux:9
Vendors & Products Redhat
Redhat enterprise Linux
Redhat hummingbird
Redhat openshift
Redhat rhui
Redhat satellite
References
Metrics cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H'}

Weaknesses
  • CWE-129

    Improper Validation of Array Index

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Nov 6, 2026, 7:45 AM
Reserved
Aug 28, 2026, 2:09 PM
Status
Awaiting Analysis
Published
Aug 28, 2026, 4:18 PM
Modified
Nov 6, 2026, 8:17 AM
Severity
Moderate
Public date
Aug 28, 2026, 2:00 PM