What’s Vulnerable › Vulnerabilities
CVE-2022-34835
- Severity: critical (CVSS 9.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 2.3% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2022-06-30 · updated 2026-06-17
- Weakness: CWE-787
Description
In Das U-Boot through 2022.07-rc5, an integer signedness error and resultant stack-based buffer overflow in the "i2c md" command enables the corruption of the return address pointer of the do_i2c_md function.
Affected products
- u-boot: before 2022.07; 2022.07-rc1, 2022.07-rc2, 2022.07-rc3, 2022.07-rc4, 2022.07-rc5 — fixed in 2022.07
How to fix
Upgrade to a fixed version: u-boot 2022.07. Check the vendor advisory for mitigations.
References
- https://github.com/u-boot/u-boot/commit/8f8c04bf1ebbd2f72f1643e7ad9617dafa6e5409
- https://lists.denx.de/pipermail/u-boot/2022-June/486113.html
- https://source.denx.de/u-boot/u-boot/-/commit/8f8c04bf1ebbd2f72f1643e7ad9617dafa6e5409
- https://github.com/u-boot/u-boot/commit/8f8c04bf1ebbd2f72f1643e7ad9617dafa6e5409
- https://lists.debian.org/debian-lts-announce/2025/05/msg00001.html
- https://lists.denx.de/pipermail/u-boot/2022-June/486113.html
- https://source.denx.de/u-boot/u-boot/-/commit/8f8c04bf1ebbd2f72f1643e7ad9617dafa6e5409
- https://cert-portal.siemens.com/productcert/html/ssa-577017.html
Get alerted when CVE-2022-34835 or the next vulnerability affects your stack