Skip to main content

CVE-2026-78119: bounds in zephyrproject zephyr

0
Medium
VulnerabilityCVE-2026-78119cvecve-2026-78119
Published: 10/21/2026 (10/21/2026, 18:19:33 UTC)
Source: CVE Database V5
Vendor/Project: zephyrproject
Product: zephyr

Description

CVE-2026-78119 is a vulnerability in the Nuvoton NPCX eSPI driver of Zephyr OS that allows out-of-bounds writes and reads due to improper validation of a 12-bit length field in Target-Attached-Flash (TAF) requests. This flaw can cause memory corruption in the embedded controller, potentially leading to crashes, hangs, or corruption of flash protection state. The issue requires host firmware or bus-level control to exploit and affects only configurations with CONFIG_ESPI_TAF enabled on NPCX/NPCK targets. A fix is available that adds bounds checking and rejects invalid requests.

CVSS v3.1

Score 6.3medium

Attack Vector
Local
Attack Complexity
Low
Privileges Required
High
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
High
Availability
High
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:L/I:H/A:H

Affected software

zephyrproject

zephyr

Affected versions
>=3.6.0 <4.5.0
GitHub Actionsmore threats →cve
zephyr
pkg:github/zephyr
Affected versions
>=3.6.0 <4.5.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/21/2026, 18:45:49 UTC

Technical Analysis

The vulnerability exists in the espi_taf_parse() function of the Nuvoton NPCX eSPI driver in Zephyr OS, where the 12-bit length field from TAF request headers is used without proper bounds checking. This leads to up to 956 bytes of out-of-bounds writes into the .bss section and reads beyond the FLASHRXBUF register array. The flaw allows an attacker with host firmware or bus-level control to corrupt embedded controller memory, potentially bypassing flash protection mechanisms. The defect is reachable only by requests violating the negotiated payload size, which normal host software cannot generate. The patch widens counters, enforces strict length checks, rejects oversized requests, and adds handling for unsupported cycle types. Only NPCX/NPCK targets with CONFIG_ESPI_TAF enabled are affected, and no in-tree boards enable this by default.

Potential Impact

An attacker with host firmware or bus-level control can cause out-of-bounds memory writes and reads in the embedded controller, leading to controller crashes, hangs, or corruption of driver state that manages flash protection regions. This compromises the trust boundary between host and embedded controller, potentially allowing unauthorized flash memory modification or denial of service. The vulnerability has a CVSS 3.1 score of 6.3 (medium severity) with low attack vector (local), low attack complexity, high privileges required, no user interaction, unchanged scope, low confidentiality impact, high integrity impact, and high availability impact.

Mitigation Recommendations

A fix is available that enforces strict bounds checking on the length fields in TAF requests, rejects requests exceeding negotiated payload sizes, and properly handles unsupported cycle types. Users should upgrade Zephyr OS to versions 4.5.0 or later where this vulnerability is patched. Only configurations with CONFIG_ESPI_TAF enabled on NPCX/NPCK targets are affected; disabling this configuration or avoiding use of affected versions mitigates the risk. Since this is not a cloud service, remediation depends on applying the vendor patch.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
zephyr
Date Reserved
2026-08-22T20:23:02.984Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 6ad905114d27ba8daadca2f9

Added to database: 10/21/2026, 18:31:45 UTC

Last enriched: 10/21/2026, 18:45:49 UTC

Last updated: 10/21/2026, 18:46:14 UTC

Views: 5

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses