Exploited now
Vulnerability WatchVulnerabilities, exploits & advisories — updated every 15 minutes
Alerts

Home › CVE › Vulnerabilities

CVE-2026-90587 — zephyrproject zephyr

Medium · CVSS 4.6EPSS 0.3% First seen November 09, 2026

One of 7 zephyrproject zephyr vulnerabilities published together by NVD: our article covers all of them.

Vulnerabilities

Analysis

CVE-2026-90587: Zephyr USB host flaw lets a device with zero configurations crash the host

CVE-2026-90587 is a medium-severity (CVSS 4.6) flaw in the Zephyr RTOS USB host stack. A connected USB device that reports zero configurations can trigger a NULL pointer read, which can crash the USB host thread. No fixed version, affected version range, or exploitation activity has been published in the available material.

Key points

  • CVE-2026-90587 is a medium-severity (CVSS 4.6) flaw in Zephyr's USB host stack.
  • A connected USB device reporting zero configurations can trigger a NULL pointer read.
  • The most likely outcome is a fatal exception in the USB host thread, causing a denial of service.
  • No attacker-controlled write was identified; the stated impact is availability plus a bounded out-of-bounds read.
  • Fixed versions, affected version ranges, and exploitation status have not been published in the source material.

What's affected

CVE-2026-90587 affects the Zephyr Project's Zephyr RTOS. The NVD entry places the flaw in the device initialization code of the USB host subsystem. The source material does not list affected Zephyr versions and does not say whether a fix has been released. The USB host stack is marked experimental, which limits exposure to builds that enable it.

How serious is it

NVD rates the issue medium, with a CVSS score of 4.6. The problem begins when a USB device advertises zero configurations in its device descriptor. The host detects this condition and logs an error, but it does not set the return code. The initialization routine therefore reports success while skipping the step that allocates the configuration structure. Later code then reads through that unallocated pointer. No authentication or user action is needed beyond physically attaching the device, and a USB gadget that presents the same descriptor would be enough.

On targets where address zero is unmapped or null-pointer exception detection is enabled, the result is a fatal exception in the USB host thread, which denies service to the host. On targets where low memory is readable, NVD notes that the descriptor walker can read memory it should not and may invoke class driver code with attacker-influenced values. NVD did not identify an attacker-controlled write, so the stated impact is availability loss plus a bounded out-of-bounds read.

Exploitation status

The available material does not report active exploitation, and no public exploit reference is given. Treat the absence of reports as unconfirmed rather than as evidence that exploitation has not occurred.

What to do

Determine whether your Zephyr-based products enable the USB host stack. If they do not need USB host functionality, disable it in the build configuration. Limit physical access to USB ports on exposed devices, and follow the Zephyr Project's security advisories for a fixed release and its version range. Monitor device logs for fatal exceptions originating in the USB host thread, and review any unexpected USB attachments on affected hardware.

Recommended actions

  1. Identify Zephyr-based products and check whether they enable CONFIG_USB_HOST_STACK.
  2. Disable the USB host stack on builds that do not require USB host functionality.
  3. Restrict physical access to USB ports on exposed or unattended devices.
  4. Watch Zephyr Project advisories and upgrade to a fixed release once it is published.
  5. Monitor logs for fatal exceptions in the USB host thread and investigate unexpected USB attachments.

Written with AI assistance from the sources listed on this page; check the vendor advisory before acting.

Summary

usbh_device_init() in subsys/usb/host/usbh_device.c rejects a device whose device descriptor advertises bNumConfigurations == 0, but it only logs the error and jumps to the cleanup label without setting the return code. At that point the local err is still 0 from the preceding successful descriptor read, so the function returns success while having skipped usbh_device_set_configuration() — the only place udev->cfg_desc is allocated. The device structure is zero-initialised by usbh_device_alloc(), so udev->cfg_desc remains NULL. usbh_device_connect() treats the zero return as a successful enumeration and calls usbh_class_probe_device(), which starts its descriptor walk from udev->cfg_desc. usbh_desc_get_next_function() passes that NULL pointer to usbh_desc_is_valid(), whose only guard compares the caller-supplied size, so head->bLength is read through a NULL pointer. The condition is triggered entirely by the attached peripheral: attaching a USB device (or any USB gadget emulating one) that reports bNumConfigurations = 0 reaches the defect directly from the UHC_EVT_DEV_CONNECTED_FS/_HS event handler in subsys/usb/host/usbh_core.c, with no authentication and no user interaction beyond the physical attachment. On targets where page zero is unmapped or CONFIG_NULL_POINTER_EXCEPTION_DETECTION is enabled this raises a fatal exception in the USB host thread, denying service to the host. Where address zero is readable, the descriptor walker instead parses low memory as a descriptor chain and can dispatch a class probe() with attacker-influenced values, causing further out-of-bounds reads through the still-NULL udev->cfg_desc in usbh_desc_get_iface(). No attacker-controlled write was identified, so the impact is availability plus a bounded out-of-bounds read. Note that CONFIG_USB_HOST_STACK is marked experimental.

Description: NIST National Vulnerability Database (public domain)

Severity breakdown

Medium · 4.6 CVSS 3.1 base score from the CNA (zephyrproject.org)

An attacker without an account can exploit this with physical access, without any user action.

Attack from
physical access to the device
Attack complexity
low (no special conditions)
Login needed
no
User action needed
no
Scope
stays within the vulnerable component
Impact
high on availability, none on confidentiality and integrity

Vector CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Weakness

  • CWE-476: NULL Pointer Dereference

Affected and fixed versions

ProductAffected versionsFixed in
zephyrproject zephyr≥ 4.4.0, < 4.5.04.5.0

From the vendor's CVE record; confirm with the vendor advisory before relying on a version number.

References by type

Vendor advisories

Patches and fixed releases

Details from NVD (public domain).

Affected

  • zephyrproject zephyr

What to do

  • Follow the vendor advisory and the references below for fixed versions and workarounds.

Frequently asked questions

What is CVE-2026-90587?

CVE-2026-90587 is a medium-severity (CVSS 4.6) flaw in the Zephyr RTOS USB host stack. A connected USB device that reports zero configurations can trigger a NULL pointer read, which can crash the USB host thread. No fixed version, affected version range, or exploitation activity has been published in the available material. Weakness type: NULL Pointer Dereference (CWE-476).

How severe is CVE-2026-90587?

CVE-2026-90587 has a CVSS 3.1 base score of 4.6 (medium), from the CNA (zephyrproject.org). An attacker without an account can exploit this with physical access, without any user action.

Is CVE-2026-90587 being exploited?

Not as far as is known: CVE-2026-90587 is not in CISA's Known Exploited Vulnerabilities catalog as of November 26, 2026. EPSS estimates a 0.3% chance that it is exploited in the next 30 days.

Which versions are affected by CVE-2026-90587?

zephyrproject zephyr ≥ 4.4.0, < 4.5.0 (fixed in 4.5.0).

How do I fix CVE-2026-90587?

Identify Zephyr-based products and check whether they enable CONFIGUSBHOSTSTACK. Disable the USB host stack on builds that do not require USB host functionality. Restrict physical access to USB ports on exposed or unattended devices.

Timeline & sources

References