Bug 2581777 - CVE-2026-125683 qemu: Client-triggered assertion failure in nbd_negotiate_options via NBD_OPT_SET_META_CONTEXT with over-long option length [fedora-all]
Summary: CVE-2026-125683 qemu: Client-triggered assertion failure in nbd_negotiate_opt...
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: qemu
Version: rawhide
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
Assignee: Fedora Virtualization Maintainers
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: {"flaws": ["c5a95979-9b80-4e12-9e30-a...
Depends On:
Blocks: CVE-2026-125683
TreeView+ depends on / blocked
 
Reported: 2026-11-23 10:31 UTC by Mauro Matteo Cascella
Modified: 2026-11-23 10:31 UTC (History)
8 users (show)

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


Attachments (Terms of Use)

Description Mauro Matteo Cascella 2026-11-23 10:31:51 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

A flaw was found in QEMU's NBD server implementation. A remote, unauthenticated attacker can crash the NBD server by sending an NBD_OPT_SET_META_CONTEXT or NBD_OPT_LIST_META_CONTEXT request with a declared option length larger than the actual payload. The handler processes the request and sends a valid reply, but fails to validate that the full declared length was consumed, leaving residual data that triggers an assertion failure (!client->optlen) in nbd/server.c. Unlike sibling option handlers, the meta-context options lack this validation check. This affects qemu-nbd, qemu-storage-daemon, and qemu-system with the internal NBD server, from v2.12.0 onward.

Upstream report: https://gitlab.com/qemu-project/qemu/-/work_items/4843


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