---
id: CVE-2026-82327
title: >-
  Libsolv: libsolv: out-of-bounds write in repo_write() via unvalidated
  directory id from vertical/paged .solv filelist data
summary: >-
  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…
severity: medium
cvss: 5.5
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H'
cvssSource: cna
cwe:
  - CWE-129
vendor: Red Hat
product: libsolv
affected:
  - libsolv (all versions)
  - libsolv (all versions)
  - libsolv (all versions)
  - libsolv (all versions)
  - libsolv (all versions)
  - openshift/ose-rhel-coreos-8 (all versions)
  - openshift/ose-rhel-coreos-9 (all versions)
  - libsolv (all versions)
  - libsolv0 (all versions)
  - python3.12-solv (all versions)
  - python-solv (all versions)
  - libsolv (all versions)
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-08-28T16:07:47.382953Z'
published: '2026-08-28'
updated: '2026-10-21'
sourceUpdated: '2026-10-21T20:06:20.412Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-82327'
references:
  - url: 'https://access.redhat.com/security/cve/CVE-2026-82327'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2525602'
    label: RHBZ#2525602
tags:
  - cve.org
epss: 0.00163
epssPercentile: 0.05134
ingestedAt: '2026-10-21T18:09:27.271Z'
---

## Overview

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.

## Affected

- `libsolv (all versions)`
- `libsolv (all versions)`
- `libsolv (all versions)`
- `libsolv (all versions)`
- `libsolv (all versions)`
- `openshift/ose-rhel-coreos-8 (all versions)`
- `openshift/ose-rhel-coreos-9 (all versions)`
- `libsolv (all versions)`
- `libsolv0 (all versions)`
- `python3.12-solv (all versions)`
- `python-solv (all versions)`
- `libsolv (all versions)`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

### Workarounds

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