Code execution via unchecked I2C write length
Published Jun 15, 2025 · Updated Jun 16, 2025
Stack overflow in uYanki board-stm32f103rc-berial commit 84daed541609cb7b46854cc6672a275d1007e295 allows attackers to execute code via I2C input. The heartrate1_i2c_hal_write function copies num + 1 bytes from buff with memcpy into a fixed MAX_READ_SIZE stack buffer without checking the requested length. Exploitation requires control of both num and buff in the embedded MAX30100 example and can overwrite adjacent stack data, crash the firmware, or redirect execution.
Summary
What happened
Stack overflow in uYanki board-stm32f103rc-berial commit 84daed541609cb7b46854cc6672a275d1007e295 allows attackers to execute code via I2C input. The heartrate1_i2c_hal_write function copies num + 1 bytes from buff with memcpy into a fixed MAX_READ_SIZE stack buffer without checking the requested length. Exploitation requires control of both num and buff in the embedded MAX30100 example and can overwrite adjacent stack data, crash the firmware, or redirect execution.
The record
- CVE
- CVE-2025-6093
- Published
- Jun 15, 2025
- Updated
- Jun 16, 2025
- Vendor
- uYanki
- Product
- board-stm32f103rc-berial
- Classifications
- CWE-121, CWE-119
- Attack vector
- Unavailable
- Privileges
- Unavailable
Timeline
How it unfolded
- Jun 15, 2025CVE publishedPublication date reported by the CVE source.
- Jun 16, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=84daed541609cb7b46854cc6672a275d1007e295
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo