> CVE-2026-12051 [MEDIUM]

« BACK_TO_HOME
PUBLISHED
2026-08-11 06:17
MODIFIED
2026-08-11 06:17
CVSS_SCORE V3
4.6
EPSS (Prob. Exploit)
0.23%
Top 86.1%
DATA SOURCES:
NVD đź”— 2026-08-11 CWE MITRE đź”— 2026-11-01 FIRST EPSS đź”— 2026-11-01 OSV đź”— 2026-10-26

> DESCRIPTION

The USB DFU class implementation in Zephyr's new (experimental) device_next USB device stack contains a NULL pointer dereference in handle_download() (subsys/usb/device_next/class/usbd_dfu.c). The handler computes MIN(setup->wLength, buf->len) and passes buf->data to the image write callback without checking that the buf net_buf pointer is non-NULL. The handler is reached over the USB control endpoint, driven by the USB host. For a DFU_DNLOAD (download) request with no Data OUT stage — notably the zero-length terminating download that the DFU protocol uses to end a firmware transfer — the USB core invokes the class handler with a NULL buffer. After the device has been advanced to the DFU_DNLOAD_IDLE state (by sending one valid download block and a GET_STATUS), a zero-length DFU_DNLOAD reaches handle_download() with buf == NULL, dereferencing it. The result is a NULL+offset read that triggers a fatal CPU fault, i.e. a denial of service (device crash/reset). The attacker is whatever controls the USB host the device is attached to; DFU download support must be enabled with a registered image. There is no memory corruption or information disclosure — impact is limited to availability. The fix adds an explicit if (buf != NULL) guard so the callback receives a zero-length, NULL-data transfer instead of crashing.

> AFFECTED_PRODUCTS

ℹ️ Aucun produit affecté n'a encore été publié par NVD pour cette CVE.

> CVSS V3 METRICS

CVSS_VECTOR
CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EXPLOITABILITY
0.9
IMPACT
3.6

> MÉTRIQUES CVSS DÉTAILLÉES

CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Métrique Valeur Interprétation
AV (Vecteur d'Attaque)
Attack Vector
Physical (P)
Exploit nécessite un accès physique à l'appareil
AC (Complexité d'Attaque)
Attack Complexity
Low (L)
Peu de conditions requises pour exploiter
PR (Privilèges Requis)
Privileges Required
None (N)
Aucune authentification requise
UI (Interaction Utilisateur)
User Interaction
None (N)
Aucune interaction utilisateur nécessaire
S (Périmètre)
Scope
Unchanged (U)
Impact reste dans le périmètre du composant compromis
C (Impact Confidentialité)
Confidentiality Impact
None (N)
Aucune divulgation d'informations
I (Impact Intégrité)
Integrity Impact
None (N)
Aucune modification de données possible
A (Impact Disponibilité)
Availability Impact
High (H)
Interruption totale du service possible

> RÉSUMÉ DES IMPACTS

Confidentialité
None
Aucune divulgation d'informations
Intégrité
None
Aucune modification de données possible
Disponibilité
High
Interruption totale du service possible

> WEAKNESSES

CWE-476

> CWE DETAILED DESCRIPTIONS

CWE-476: NULL Pointer Dereference - The product dereferences a pointer that it expects to be valid but is NULL.

> OSV (GOOGLE OPEN SOURCE VULNERABILITIES)

NULL pointer dereference in USB DFU device_next download handler (handle_download)

AFFECTED PACKAGES:
Unknown / Unknown
4 versions affected
ALIASES:
GHSA-vhvq-q6rw-jvm4

> HISTORIQUE DES MODIFICATIONS

Première apparition
11/08/2026 06:17
Source: NVD
📊 ENRICHISSEMENT 01/09/2026 06:02
CWE
Champ modifié: Description CWE
Ancienne valeur:
N/A
Nouvelle valeur:
CWE-476: NULL Pointer Dereference - The product dereferences a pointer that it expects to be valid but is NULL.
Total des modifications: 1 Dernière mise à jour: 2 months ago

> REFERENCES

https://github.com/zephyrproject-rtos/zephyr/commit/552ca371257597b71490482d5cc5...
https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-vhvq-q6rw-...
« BACK_TO_HOME