CVE-2026-79976: memory-safety in zephyrproject zephyr
Description
CVE-2026-79976 is a memory-safety vulnerability in the Zephyr project's MCTP-over-I2C+GPIO target binding. It arises because the selected register and data-phase flag are not cleared upon an I2C STOP condition, leading to stale state and potential NULL pointer dereferences. This can cause a fatal exception and device reset or halt, resulting in denial of service. The issue affects builds with the experimental CONFIG_MCTP subsystem enabled and CONFIG_MCTP_I2C_GPIO_TARGET set to yes. No confidentiality or integrity breach occurs, and no attacker-controlled data is written.
CVSS v3.1
Score 7.1high
Affected software
zephyrproject
zephyr
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
Technical Analysis
The vulnerability exists in the MCTP-over-I2C+GPIO target binding code (subsys/pmci/mctp/mctp_i2c_gpio_target.c) of Zephyr. When an I2C STOP is issued, the selected register (b->reg_addr) and data-phase flag (b->rxtx) are not cleared, leaving stale state. A controller can trigger this by performing a normal packet write followed by a STOP, then a bare read followed by a STOP. This leads to a NULL packet being passed to mctp_bus_rx() or dereferencing a cleared transmit packet buffer, causing a fatal exception or dropped packets. The flaw results in denial of service due to device reset or halt on targets that trap address 0 accesses. The fix involves resetting b->reg_addr and clearing b->rxtx at every STOP, requiring a new register selection before data phases. Only builds with CONFIG_MCTP and CONFIG_MCTP_I2C_GPIO_TARGET enabled are affected.
Potential Impact
An attacker with control over the I2C bus controller can cause a denial of service by triggering fatal exceptions or device resets on affected Zephyr targets. The vulnerability does not allow confidentiality or integrity compromise, nor does it permit arbitrary code execution. On hardware where address 0 is readable, the impact is limited to malformed packet buffers and dropped outbound packets. The vulnerability requires no authentication and can be exploited by ordinary I2C transactions.
Mitigation Recommendations
A fix is available that resets the register selection and data-phase flag on every I2C STOP condition. Users should upgrade to a Zephyr version that includes this fix. Only builds with the experimental CONFIG_MCTP subsystem and CONFIG_MCTP_I2C_GPIO_TARGET enabled are affected, so disabling these options can also mitigate the issue. Patch status is not explicitly provided; check the Zephyr vendor advisory for the current remediation status and apply official fixes as recommended.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- zephyr
- Date Reserved
- 2026-08-25T16:06:27.086Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6ad905114d27ba8daadca2fa
Added to database: 10/21/2026, 18:31:45 UTC
Last enriched: 10/21/2026, 18:45:16 UTC
Last updated: 10/21/2026, 18:46:14 UTC
Views: 5
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.