Impact
An out‑of‑bounds write occurs in the CDC NCM control‑to‑host handler when the host requests a response length smaller than the size of the fixed response structure. The USB stack copies the entire structure to a buffer that was allocated with exactly the host‑supplied wLength, causing a write up to 27 bytes beyond the allocated area. Because the overrun corrupts adjacent memory in the USB control pool, the device can be destabilized and may become unresponsive, producing a denial‑of‑service condition. The flaw is a classic buffer overflow (CWE‑787) and does not disclose information or allow remote code execution. The bug is triggered by any host that issues the standard GET_NTB_PARAMETERS or GET_NTB_INPUT_SIZE requests without authentication, so any connected USB host or interposer can exploit it.
Affected Systems
The vulnerability affects devices running the Zephyr RTOS using the device_next USB stack and the CDC NCM class implementation in subsys/usb/device_next/class/usbd_cdc_ncm.c. The issue impacts any build that includes this code path, regardless of the device’s top‑level firmware version; the exact affected Zephyr versions are not specified.
Risk and Exploitability
The CVSS score of 5.2 places the vulnerability in the low‑to‑medium severity range. EPSS is not available, but the lack of authentication and the ability to trigger the overflow from any host imply a realistic threat to any exposed USB device. The vulnerability is not listed in the CISA KEV catalog. An attacker can exploit the flaw simply by connecting a malicious USB host; no additional credentials or specialized hardware are required. The impact is limited to memory corruption and a potential DoS of the USB stack, but could serve as a foothold for more advanced attacks if additional vulnerabilities exist.
OpenCVE Enrichment