Impact
The vulnerability is an out-of-bounds write in the Nuvoton NPCX eSPI driver that occurs when the driver parses Target‑Attached‑Flash requests. The 12‑bit length field in the request header is copied directly into a 64‑byte buffer without validation, allowing up to 239 32‑bit writes past the end of the structure. This can overwrite nearby controller memory, cause a crash or hang, and bypasses the flash protection checks that the eSPI TAF feature is designed to enforce. The outcome is a compromise of the embedded controller’s state and the ability to write arbitrary data to flash at host‑chosen locations.
Affected Systems
The flaw appears in the Zephyr RTOS Nuvoton NPCX eSPI driver (drivers/espi/espi_npcx.c). It affects Nuvoton NPCX and NPCK series SoCs when the CONFIG_ESPI_TAF configuration is enabled. No in‑tree Zephyr boards enable the feature by default, so the issue is limited to custom builds or boards that explicitly enable eSPI TAF support.
Risk and Exploitability
The CVSS score is 6.3, indicating moderate severity. EPSS is not available, and the vulnerability is not in the CISA KEV catalog, so the probability of imminent exploitation is unclear. Exploitation requires malicious host firmware or a host that can send an oversized eSPI packet, which is typically beyond the reach of ordinary host software. Therefore, while the potential impact is significant—controller memory corruption, flash protection bypass—actual exploitation is limited to environments where the host controls the eSPI bus or runs untrusted firmware.
OpenCVE Enrichment