1. Archivio CVE
  2. 2026
  3. CVE-2026-5072

CVE-2026-5072

6.5 Gravità media CVSS v3.1 · fonte NVD CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H 6.5 – Media

Descrizione

A bitwise shift vulnerability in Zephyr's PTP subsystem allows a remote attacker to cause undefined behavior and potential system crashes. An attacker sends a crafted PTP_MSG_MANAGEMENT message to set an unvalidated negative log_announce_interval value in the port's data set. When a subsequent PTP_MSG_ANNOUNCE message is processed, port_timer_set_timeout_random computes a timeout as NSEC_PER_SEC >> -log_seconds; if the attacker-supplied value is sufficiently negative (e.g., -127), the shift amount exceeds the 64-bit integer width, triggering undefined behavior in C. This can cause a system crash via a compiler-generated illegal instruction trap on some architectures, or produce an erroneous zero timeout leading to resource starvation loops or other logical errors.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
zephyrproject zephyr <= 4.3.0 –
Tutte le 396 vulnerabilità di Zephyrproject Zephyr

Tipo di vulnerabilità

CWE-1335 Incorrect Bitwise Shift of Integer

An integer value is specified to be shifted by a negative amount or an amount greater than or equal to the number of bits contained in the value.

Impatto sui sistemi

AmbitoImpatto
Integrità Interruzione del servizio: arresto o riavvio
Altro Comportamento indefinito, Stato imprevisto, Alterare la logica di esecuzione

Come si previene

Sviluppo Implicitly or explicitly add checks and mitigation for negative or over-shift values.

Le indicazioni di mitigazione sono riportate nella lingua originale del catalogo CWE del MITRE.

Tutte le 5 CVE di tipo CWE-1335, con andamento e prevenzione

Fonte: catalogo CWE del MITRE · cwe.mitre.org