CVE-2026-5072

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.
References
Configurations

Configuration 1 (hide)

cpe:2.3:o:zephyrproject:zephyr:*:*:*:*:*:*:*:*

History

23 Jul 2026, 16:10

Type Values Removed Values Added
Summary
  • (es) Una vulnerabilidad de desplazamiento de bits en el subsistema PTP de Zephyr permite a un atacante remoto causar comportamiento indefinido y posibles fallos del sistema. Un atacante envía un mensaje PTP_MSG_MANAGEMENT manipulado para establecer un valor negativo no validado de log_announce_interval en el conjunto de datos del puerto. Cuando se procesa un mensaje PTP_MSG_ANNOUNCE subsiguiente, port_timer_set_timeout_random calcula un tiempo de espera como NSEC_PER_SEC >> -log_seconds; si el valor proporcionado por el atacante es suficientemente negativo (p. ej., -127), la cantidad de desplazamiento excede el ancho de entero de 64 bits, lo que desencadena un comportamiento indefinido en C. Esto puede causar un fallo del sistema a través de una trampa de instrucción ilegal generada por el compilador en algunas arquitecturas, o producir un tiempo de espera cero erróneo lo que lleva a bucles de inanición de recursos u otros errores lógicos.

08 Jul 2026, 13:31

Type Values Removed Values Added
First Time Zephyrproject
Zephyrproject zephyr
CPE cpe:2.3:o:zephyrproject:zephyr:*:*:*:*:*:*:*:*
References () https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-3v98-458v-388r - () https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-3v98-458v-388r - Exploit, Patch, Vendor Advisory

26 May 2026, 18:16

Type Values Removed Values Added
CWE CWE-20 CWE-1335

26 May 2026, 15:16

Type Values Removed Values Added
CWE CWE-20

22 May 2026, 17:16

Type Values Removed Values Added
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 6.5

22 May 2026, 08:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-05-22 08:16

Updated : 2026-10-15 23:17


NVD link : CVE-2026-5072

Mitre link : CVE-2026-5072

CVE.ORG link : CVE-2026-5072


JSON object : View

Products Affected

zephyrproject

  • zephyr
CWE
CWE-1335

Incorrect Bitwise Shift of Integer