CVE-2026-125683: Qemu-kvm: client-triggered assertion failure in nbd_negotiate_options via nbd_opt_set_meta_context with over-long option length
A flaw was found in QEMU's NBD server. A remote attacker can crash qemu-nbd, qemu-storage-daemon, or qemu-system by sending NBDOPTSETMETACONTEXT or NBDOPTLISTMETACONTEXT with a declared option length exceeding the actual payload, triggering an assertion failure and denial of service.
Affected Software
Event History
Frequently Asked Questions
Which QEMU services can be crashed by this issue?
The issue can crash qemu-nbd, qemu-storage-daemon, or qemu-system when they act as an NBD server and process the affected NBD option negotiation requests.
What access does an attacker need to exploit the denial of service?
An attacker needs network access to the affected NBD server and must be able to send crafted NBD option-negotiation messages. The listed vector also indicates low privileges are required, with no user interaction needed.
What malformed input triggers the crash?
The attacker sends an NBD_OPT_SET_META_CONTEXT or NBD_OPT_LIST_META_CONTEXT request whose declared option length is larger than the payload actually provided. This causes an assertion failure in nbd_negotiate_options.