Skip to main content

nbdkit CVE-2026-130888

| EUVDEUVD-2026-129467 MEDIUM
Out-of-bounds Read (CWE-125)
2026-11-19 patrick@puiterwijk.org GHSA-gr82-2frv-56jg
6.1
CVSS 3.1 · Vendor: puiterwijk
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft QCOW2 image with ZSTD-compressed clusters
  2. Exploit
    Victim processes image via nbdkit qcow2dec filter
  3. Execution
    Oversized ZSTD input buffer triggers heap over-read
  4. Impact
    Service crash (DoS) or heap memory disclosure

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, read limits
MITRE ATT&CK

1 technique across 1 tactic: Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires that nbdkit be used with the qcow2dec filter loaded and that it process a crafted QCOW2 image whose clusters are ZSTD-compressed - the specific code path is zstd_compressed_cluster(), which sets the ZSTD input buffer to the uncompressed cluster size instead of the compressed buffer size. Concrete limiting factors: the attack vector is local (AV:L), a victim must actually open/convert the attacker-supplied image (UI:R), and the qcow2dec filter must be in use (an optional, non-default nbdkit component rather than core functionality). No elevated privileges are needed to author the malicious image (PR:N), but the attacker cannot trigger the flaw remotely or without the victim processing the file.

Impact

This is a medium-severity, local-vector issue whose signals are internally consistent and point to limited real-world urgency. The CVSS 3.1 vector (AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H, base 6.1) describes a flaw that is not remotely reachable: an attacker cannot trigger it over the network but must get a victim to process an attacker-supplied QCOW2 image through nbdkit's qcow2dec filter (UI:R). The dominant impact is availability (A:H, a denial of service from the heap over-read), with only limited confidentiality exposure (C:L) from potentially leaked adjacent heap memory, and no integrity impact (I:N). No EPSS score was provided in the input, so exploitation-probability modeling cannot be incorporated. The CVE is not in CISA KEV and no exploit or PoC reference is present - only the vendor fix commit and tracking references - so there is no public exploit identified at time of analysis. The vuln.today decision label is 'this_month', which aligns with a patch-on-normal-cadence posture rather than emergency action. Net: a genuine but bounded bug, best treated as a routine-priority patch where the qcow2dec filter is actually used; it is not a high-urgency or widely-weaponizable item, and the local vector plus required user interaction substantially limit opportunistic exploitation.

Exploit ScenarioDerived

An attacker crafts a malicious QCOW2 image containing ZSTD-compressed clusters and induces a victim to open or convert it with nbdkit's qcow2dec filter. Because zstd_compressed_cluster() sizes the ZSTD input buffer to the uncompressed cluster size rather than the compressed buffer size, decompression reads past the heap buffer, crashing the service (DoS) and potentially returning adjacent heap bytes. No public exploit or PoC was identified in the provided sources; exploitation requires local processing of the attacker-controlled image (AV:L, UI:R).

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 19, 2026

nbdkit's optional qcow2dec filter can over-read the heap when it converts a QCOW2 image containing ZSTD-compressed clusters, crashing the process and potentially disclosing adjacent heap memory contents. Only deployments that explicitly load the qcow2dec filter and process an attacker-supplied image are affected; the vector is local (AV:L) with user interaction (UI:R), and no privileges are needed to craft the image (PR:N). Upstream fixed the buffer-size argument in commit c84da7612cff7a56d842ccfe96b2a9e19bf8fea4, and Fedora has published update references; no public exploit code was identified at time of analysis.

RemediationAI

Apply the upstream fix in nbdkit commit c84da7612cff7a56d842ccfe96b2a9e19bf8fea4, which corrects the ZSTD input buffer size passed by zstd_compressed_cluster(); a released patched version number is not given in the available data, so verify fixed builds via the Fedora Bodhi update page (https://bodhi.fedoraproject.org/updates/?packages=nbdkit) and the Red Hat Bugzilla entry (https://bugzilla.redhat.com/show_bug.cgi?id=2575655), and consult the upstream mailing list thread (https://lists.libguestfs.org/archives/list/guestfs@lists.libguestfs.org/thread/LXZQCFZQQVSA2G47FMNQ3KJBMJBUVYJP/) for release guidance. Because the flaw is only reachable when the optional qcow2dec filter is loaded, hosts that do not need QCOW2 decoding can avoid the code path entirely by not loading the filter; where the filter is required, restrict processing to QCOW2 images from trusted sources or, better, pre-convert untrusted images in a sandboxed process, accepting that these are exposure-reduction measures and not substitutes for the upstream fix. Note that the upstream project's position, as reflected in the references, is that updating is the complete remedy.

Affected VersionsENISA

Fedora 1.35.7 <1.49.5

Affected Packages

euvd fedora fix: 1.49.5

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The qcow2dec filter in nbdkit decodes QCOW2 disk images so that their contents can be served or converted. QCOW2 supports per-cluster compression, and one of the supported schemes is ZSTD. In the zstd_compressed_cluster() routine, the code passes the uncompressed cluster size to the ZSTD decompression API as the size of the input (compressed) buffer, so when a crafted image declares a compressed cluster the decoder reads past the end of the allocated compressed-data buffer. This is a classic out-of-bounds read (CWE-125): the immediate consequence is a heap over-read that can abort the process (denial of service, rated A:H in the assessed CVSS vector) and, because decompression reads memory beyond the buffer, may return heap contents into decoded output (C:L). The assessed vector is CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H, giving a base score of 6.1 - the flaw is not remotely reachable and depends on the victim opening or converting the malicious image with the qcow2dec filter in use, which is an optional, non-default nbdkit component rather than core functionality. The trigger is specifically the ZSTD-compressed cluster code path; other compression schemes and non-compressed images are outside the described flaw.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (puiterwijk) PRIMARY 6.1 MEDIUM
AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H
vuln.today AI 6.1 MEDIUM

Flaw is reachable only by processing an attacker-supplied image locally (AV:L, UI:R); no privileges to craft it (PR:N); over-read causes crash (A:H) with limited heap leakage (C:L) and no integrity impact.

3.1 AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H
4.0 AV:L/AC:L/AT:N/PR:N/UI:P/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N
Red Hat 6.1 MEDIUM

Primary rating from Vendor (puiterwijk).

CVSS VectorVendor: puiterwijk

Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
Low
Integrity
None
Availability
High

Lifecycle Timeline

1
Patch available
Nov 19, 2026 - 06:01 EUVD

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.1%
Top 98% exploitable
Prevalence
Low
niche virtualization/NBD tooling; qcow2dec filter is an optional component
Social Media
1
Sightings
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +30
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy