Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAttach malicious device to SMBus bus
-
DeliveryApplication calls smbus_block_read into 32-byte buffer
-
ExploitPeripheral reports block count above 32
-
ExecutionDriver writes up to 223 bytes past buffer
-
ImpactStack corruption crashes system or enables code execution
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, write limits
MITRE ATT&CK
2 techniques across 2 tactics: Execution, Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires an attacker-controlled, counterfeit or faulty SMBus/PMBus peripheral physically on the bus (e.g. a removable smart battery, PMBus supply or plug-in module), or the ability to electrically drive the bus lines, that returns a block count greater than SMBUS_BLOCK_BYTES_MAX (32). It additionally requires the application to invoke smbus_block_read() or smbus_block_pcall() on the STM32 SMBus driver with a caller buffer sized to the documented 32-byte maximum (as the in-tree smbus shell command does), and is limited to Zephyr builds using drivers/smbus/smbus_stm32.c on versions >= 4.3.0 and < 4.5.0. Limiting factors: the physical-presence/bus-access precondition (AV:P) is the dominant constraint; the flaw does not apply to sibling SMBus drivers (Intel PCH, ITE IT51xxx) which already reject counts over 32, nor to Zephyr before 4.3.0 or at/after 4.5.0. |
| Impact | This is a genuine memory-corruption flaw (CWE-787) but a moderate, not top-tier, priority. The CVSS 3.1 base score is 6.8 (MEDIUM) and the vector CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H hinges on AV:P (Physical): exploitation requires a malicious, counterfeit or faulty peripheral already present on the SMBus/I2C bus, or an attacker able to physically drive the bus lines - not a remote or network-reachable condition. Although the vector shows PR:N (no authentication in CVSS terms), that only reflects that the addressed peripheral needs no credentials to return an oversized block count; it does not imply remote reach. No EPSS score is provided, there is no CISA KEV listing, and no public exploit is referenced, so there is no public exploit identified at time of analysis - the two references are the fix commit and the GHSA advisory, both vendor sources, not proof-of-concept exploit code. The vendor/vuln.today Decision label is 'this_month' (not act_now or emergency), consistent with a patch-this-cycle rather than drop-everything posture. The high C/I/A impact is credible because a device-controlled count can write up to 223 bytes past a 32-byte caller buffer, and via the syscall path the out-of-bounds write occurs in supervisor mode beyond the user-validated region, making code-execution escalation plausible. Net: real and worth patching, but the physical-access precondition sharply limits real-world exploitability versus a network-exposed bug of the same impact. |
| Exploit ScenarioDerived | An attacker introduces a malicious or counterfeit SMBus device - such as a removable smart battery, PMBus supply or plug-in module - onto the I2C/SMBus bus of a Zephyr-based STM32 product, or otherwise drives the bus lines. When the application (for example the in-tree 'smbus block_read' shell command) calls smbus_block_read()/smbus_block_pcall() into a typical 32-byte stack buffer, the device reports a block count above 32, causing the driver to write up to 223 bytes past the buffer. Physical/bus access (AV:P) and low complexity (AC:L) are required; no public exploit code is referenced. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 23, 2026
An out-of-bounds stack write in the Zephyr STM32 SMBus driver (drivers/smbus/smbus_stm32.c) affects builds from 4.3.0 up to, but not including, 4.5.0, where smbus_stm32_block_read() and smbus_stm32_block_pcall() trust a peripheral-supplied block-count byte as the length of a data transfer into the caller's buffer without checking it against SMBUS_BLOCK_BYTES_MAX (32), allowing up to 223 bytes of attacker-influenced overwrite. Physical attackers who can place a malicious, counterfeit or faulty SMBus/PMBus device on the bus - a removable smart battery, PMBus supply or plug-in module - or who can electrically drive the bus lines can trigger the corruption in the context of the calling thread, crashing the system or potentially achieving code execution; the CVSS vector is AV:P/AC:L/PR:N/UI:N (physical access, unauthenticated), scoring 6.8. No public exploit code or active exploitation has been identified at the time of analysis, and the vendor has released a fix in Zephyr 4.5.0.
RemediationAI
Vendor-released patch: Zephyr 4.5.0, which contains commit fec8353553c7e574cc50b3edd0e32300d0b372b8 (https://github.com/zephyrproject-rtos/zephyr/commit/fec8353553c7e574cc50b3edd0e32300d0b372b8) and stages block data in a driver-local 255-byte buffer, rejecting counts above SMBUS_BLOCK_BYTES_MAX with -ENODATA before copying into the caller buffer. Upgrade to 4.5.0 or later, or cherry-pick that commit; the backport to v4.4-branch (PR #121231) is still open at the time of writing, and the v4.3-branch backport (PR #121230) is marked end of life, so v4.3.x users should move to 4.5.0 rather than wait for a maintenance release. The advisory documents no workaround other than the fix; builds on the affected driver that must stay on 4.4.x should carry the upstream patch directly. Full details are in https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-9xp6-5g46-jvrg. Remediation falls in the normal monthly cycle (decision label: this_month).
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Zephyr's SMBus block-read protocol is implemented on top of a single i2c_transfer() composed of several i2c_msg structures. In the vulnerable driver the byte-count byte returned by the peripheral is read directly into the len field of the following i2c_msg, whose .buf is the caller-supplied destination. Because drivers/i2c/i2c_stm32.c honours the per-message len as written by the preceding read, the subsequent message copies anywhere from 0 to 255 bytes into a buffer that the SMBus API contract (include/zephyr/drivers/smbus.h) and the syscall verifiers in drivers/smbus/smbus_handlers.c only validate for SMBUS_BLOCK_BYTES_MAX (32) bytes. The root cause is CWE-787 (out-of-bounds write): a length value from an untrusted bus participant is used as a copy bound without validation. The in-tree smbus block_read shell command passes a 32-byte stack buffer and checks the returned count only after smbus_block_read() returns, so the overflow occurs before any caller-side check; when the call arrives via the smbus_block_read/smbus_block_pcall syscalls the write also exceeds the 32-byte region the kernel validated for the user thread, making it a supervisor-mode overflow. The sibling Intel PCH and ITE IT51xxx SMBus drivers already reject counts above 32, confirming the expected contract. The upstream fix stages the transfer in a driver-local 255-byte buffer and copies out only when the count is at most 32, returning -ENODATA otherwise.
Know when Zephyr gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Exploitation needs a device on the local SMBus bus so AV:P; the peripheral needs no auth to return the count giving PR:N; attacker-controlled overflow yields high C/I/A.
Primary rating from Vendor (zephyr).
CVSS VectorVendor: zephyr
DescriptionCVE.org
The STM32 SMBus driver (drivers/smbus/smbus_stm32.c) implements smbus_block_read() and smbus_block_pcall() by issuing a single i2c_transfer() in which the byte-count byte returned by the peripheral is read directly into the len field of the following i2c_msg. That message then receives data straight into the caller-supplied buffer. Nothing bounds the count, so smbus_stm32_block_read() and smbus_stm32_block_pcall() read up to 255 bytes into a buffer that the SMBus API documents (and the syscall verifiers validate) as holding at most SMBUS_BLOCK_BYTES_MAX (32) bytes.
The count is chosen by the addressed SMBus peripheral. A malicious, counterfeit or faulty device on the bus (for example a removable smart battery, PMBus supply or plug-in module), or anyone able to drive the bus lines, can report a block count above 32 and cause the driver to write up to 223 bytes past the end of the caller's buffer. Callers typically pass a 32-byte stack buffer, as the in-tree smbus block_read shell command does, so the overflow lands on the caller's stack before any caller-side count check can run.
The result is attacker-controlled stack or memory corruption in the context of the calling thread, which can crash the system or potentially be leveraged for code execution. When the call arrives through the smbus_block_read/smbus_block_pcall system calls, the out-of-bounds write happens in supervisor mode beyond the 32-byte region validated for the user thread. The fix receives the block into a driver-local 255-byte buffer and copies it out only when the count is at most SMBUS_BLOCK_BYTES_MAX, returning -ENODATA otherwise.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.
Memory corruption occurs when a program writes data beyond the boundaries of allocated memory regions or accesses memory in unintended ways, violating the integrity of the process's address space.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
Potential off-by-one buffer overflow vulnerability in the Zephyr fuse file system. Rated critical severity (CVSS 10.0),
An out-of-bounds write in the Zephyr RTOS DNS resolver (dns_unpack_name()) lets a crafted DNS response corrupt memory on
Possible variant of CVE-2021-3434 in function le_ecred_reconf_req. Rated critical severity (CVSS 9.8), this vulnerabilit
Unchecked user input length in /subsys/net/l2/wifi/wifi_shell.c can cause buffer overflows. Rated critical severity (CVS
Potential buffer overflow vulnerability in the Zephyr CAN bus subsystem. Rated critical severity (CVSS 9.8), this vulner
Integer Underflow in 6LoWPAN IPHC Header Uncompression in Zephyr. Rated critical severity (CVSS 9.8), this vulnerability
Buffer overflow in Zephyr USB DFU DNLOAD. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitable
DOS: Incorrect 802154 Frame Validation for Omitted Source / Dest Addresses. Rated critical severity (CVSS 9.8), this vul
zephyr-rtos version 1.12.0 contains a NULL base pointer reference vulnerability in sys_ring_buf_put(), sys_ring_buf_get(
Potential buffer overflow vulnerabilities n the Zephyr Bluetooth subsystem. Rated critical severity (CVSS 9.6), this vul
The documentation specifies that the BT_GATT_PERM_READ_LESC and BT_GATT_PERM_WRITE_LESC defines for a Bluetooth characte
Potential buffer overflows in the Bluetooth subsystem due to asserts being disabled in /subsys/bluetooth/host/hci_core.c
EUVD-2026-133384
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB