Bug 2575655 (CVE-2026-130888) - CVE-2026-130888 nbdkit: nbdkit: qcow2dec ZSTD heap over-read via incorrect input buffer size
Summary: CVE-2026-130888 nbdkit: nbdkit: qcow2dec ZSTD heap over-read via incorrect in...
Keywords:
Status: NEW
Alias: CVE-2026-130888
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-11-18 04:37 UTC by OSIDB Bzimport
Modified: 2026-11-18 04:43 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-11-18 04:37:06 UTC
A flaw was found in nbdkit's qcow2dec filter. The zstd_compressed_cluster() function sets the ZSTD input buffer size to cluster_size (the uncompressed cluster size) instead of compressed_size (the actual allocated buffer size). The equivalent zlib/deflate path correctly uses compressed_size. A crafted QCOW2 image with ZSTD-compressed clusters can cause a heap over-read of up to approximately 2 MB past a small compressed allocation, leading to a crash (denial of service) and potentially disclosing heap memory if the process survives.

This does not affect RHEL, which does not ship the qcow2dec filter. Fedora was affected and has been fixed upstream (commit c84da7612cff7a56d842ccfe96b2a9e19bf8fea4).

Public report: https://lists.libguestfs.org/archives/list/guestfs@lists.libguestfs.org/thread/LXZQCFZQQVSA2G47FMNQ3KJBMJBUVYJP/
Fix: https://gitlab.com/nbdkit/nbdkit/-/commit/c84da7612cff7a56d842ccfe96b2a9e19bf8fea4
Tracker: PSIRTSUPT-26022


Note You need to log in before you can comment on or make changes to this bug.