nbdkit: qcow2dec ZSTD heap over-read via incorrect input buffer size
- State
- Published
- Severity
- 6.1 Medium
- Published
- Nov 19, 2026
- Updated
- Nov 19, 2026
- Reserved
- Nov 17, 2026
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.
| Product | Versions |
|---|---|
| nbdkit | 1.35.7 to before 1.49.5 Affected |
| Fedora Fedora | 1.35.7 to before 1.49.5 Affected |
| Red Hat Enterprise Linux 7 Red Hat | |
| Red Hat Enterprise Linux 8 Red Hat | |
| Red Hat Enterprise Linux 9 Red Hat | |
| Red Hat Enterprise Linux 10 Red Hat |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 3.1 | 6.1 Medium | fedora |
Weaknesses
- CWE-125 Out-of-bounds Read
References
- https://gitlab.com/nbdkit/nbdkit/-/commit/c84da7612cff7a56d842ccfe96b2a9e19bf8fea4Patch
- https://lists.libguestfs.org/archives/list/guestfs@lists.libguestfs.org/thread/LXZQCFZQQVSA2G47FMNQ3KJBMJBUVYJP/Mailing List
- https://bugzilla.redhat.com/show_bug.cgi?id=2575655Issue Tracker
- https://bodhi.fedoraproject.org/updates/?packages=nbdkitVendor Advisory
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.