Buffer Overflow Vulnerability in STM32 SMBus Driver by STMicroelectronics
CVE-2026-102954
6.8MEDIUM
What is CVE-2026-102954?
A vulnerability exists in the STM32 SMBus driver, where functions smbus_block_read() and smbus_block_pcall() can read beyond the intended buffer limits. The issue arises when the byte count reported by an SMBus peripheral exceeds the maximum buffer size defined in the API. This could lead to an attacker being able to write more data than intended, resulting in stack or memory corruption. The flaw allows a malicious device on the SMBus line to cause potentially harmful effects including system crashes or unauthorized code execution. The vulnerability can be mitigated by implementing a fix that restricts the data read to the acceptable buffer range, ensuring safety against such exploits.
Affected Version(s)
zephyr 4.3.0 < 4.5.0
