# CVE-2026-130888: nbdkit: qcow2dec ZSTD heap over-read via incorrect input buffer size

- **Severity:** MEDIUM 6.1
- **CVSS:** 6.1 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: None; User interaction: Required; Scope: Unchanged; Confidentiality impact: Low; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.17% (percentile 4, 2026-11-28)
- **CWE:** CWE-125
- **Published:** 2026-11-19T04:55:43.967Z
- **Modified:** 2026-11-19T20:17:28.800Z

## Who should check

- Anyone running nbdkit \>= 1.35.7, \< 1.49.5
- Anyone running Fedora \>= 1.35.7, \< 1.49.5
- Anyone running Red Hat Enterprise Linux 7 (versions: see the vendor advisory)
- Anyone running Red Hat Enterprise Linux 8 (versions: see the vendor advisory)
- Anyone running Red Hat Enterprise Linux 9 (versions: see the vendor advisory)
- Anyone running Red Hat Enterprise Linux 10 (versions: see the vendor advisory)

## Description

A flaw was found in nbdkit. The qcow2dec filter's zstd\_compressed\_cluster() function incorrectly sets the ZSTD input buffer size to the uncompressed cluster size instead of the compressed buffer size. A crafted QCOW2 image with ZSTD-compressed clusters can trigger a heap over-read, leading to a denial of service and potentially exposing heap memory.

## Affected and fixed versions

- nbdkit: \>= 1.35.7, \< 1.49.5 (cvelist)
- Fedora: \>= 1.35.7, \< 1.49.5 (cvelist)
- Red Hat Enterprise Linux 7: see vendor advisory (cvelist)
- Red Hat Enterprise Linux 8: see vendor advisory (cvelist)
- Red Hat Enterprise Linux 9: see vendor advisory (cvelist)
- Red Hat Enterprise Linux 10: see vendor advisory (cvelist)

## Technologies

Red Hat (all products)

## Mitigation

- Upgrade nbdkit to 1.49.5 or later.
- Upgrade Fedora to 1.49.5 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-130888. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-130888.md
Affected: nbdkit >= 1.35.7, < 1.49.5; Fedora >= 1.35.7, < 1.49.5; Red Hat Enterprise Linux 7; Red Hat Enterprise Linux 8; Red Hat Enterprise Linux 9; Red Hat Enterprise Linux 10
Fixed in: nbdkit 1.49.5, Fedora 1.49.5

Steps:
1. Search this machine and project for nbdkit, Fedora, Red Hat Enterprise Linux 7, Red Hat Enterprise Linux 8, Red Hat Enterprise Linux 9, Red Hat Enterprise Linux 10: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-130888 being exploited?

There is no confirmed exploitation: CVE-2026-130888 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.17% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-130888?

Medium: CVSS 6.1 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed). A user has to take an action, such as opening a link, for the attack to work.

### Which versions are affected by CVE-2026-130888?

nbdkit \>= 1.35.7, \< 1.49.5; Fedora \>= 1.35.7, \< 1.49.5; Red Hat Enterprise Linux 7; Red Hat Enterprise Linux 8; Red Hat Enterprise Linux 9; Red Hat Enterprise Linux 10.

### Is there a fix for CVE-2026-130888?

Yes. Fixed in nbdkit 1.49.5, Fedora 1.49.5. Upgrade nbdkit to 1.49.5 or later. Upgrade Fedora to 1.49.5 or later.

### How do I check if I'm affected by CVE-2026-130888?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://bodhi.fedoraproject.org/updates/?packages=nbdkit>
- patch: <https://gitlab.com/nbdkit/nbdkit/-/commit/c84da7612cff7a56d842ccfe96b2a9e19bf8fea4>
- other: <https://lists.libguestfs.org/archives/list/guestfs@lists.libguestfs.org/thread/LXZQCFZQQVSA2G47FMNQ3KJBMJBUVYJP/>
- other: <https://bugzilla.redhat.com/show_bug.cgi?id=2575655>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-130888>
- FIRST EPSS: EPSS scores by FIRST <https://www.first.org/epss/>

HTML: <https://flawdb.com/CVE-2026-130888> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-130888>
