{"id":"CVE-2022-34835","details":"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.","modified":"2026-04-12T02:57:02.836300Z","published":"2022-06-30T00:15:08.023Z","related":["SUSE-SU-2022:2584-1","SUSE-SU-2022:2653-1","SUSE-SU-2022:2654-1","SUSE-SU-2022:2661-1","SUSE-SU-2022:2666-1","SUSE-SU-2022:2667-1","SUSE-SU-2022:2712-1"],"references":[{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/05/msg00001.html"},{"type":"FIX","url":"https://lists.denx.de/pipermail/u-boot/2022-June/486113.html"},{"type":"FIX","url":"https://source.denx.de/u-boot/u-boot/-/commit/8f8c04bf1ebbd2f72f1643e7ad9617dafa6e5409"},{"type":"FIX","url":"https://github.com/u-boot/u-boot/commit/8f8c04bf1ebbd2f72f1643e7ad9617dafa6e5409"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/u-boot/u-boot","events":[{"introduced":"0"},{"fixed":"e092e3250270a1016c877da7bdd9384f14b1321e"},{"introduced":"0"},{"last_affected":"eb3393310bffab27265cfc82f15470f70f1acd97"},{"introduced":"0"},{"last_affected":"f08ed34371c54244421eac8ffb4c77559c5ea013"},{"introduced":"0"},{"last_affected":"b6d46d951f1092f810e5d5971fb9a3dee8e87e86"},{"introduced":"0"},{"last_affected":"8f527342db4160a1f030de6fe4a1591787cce65a"},{"introduced":"0"},{"last_affected":"568a226f87655fd5339514f66413c2ad72f65d6f"},{"fixed":"8f8c04bf1ebbd2f72f1643e7ad9617dafa6e5409"}],"database_specific":{"versions":[{"introduced":"0"},{"fixed":"2022.07"},{"introduced":"0"},{"last_affected":"2022.07-rc1"},{"introduced":"0"},{"last_affected":"2022.07-rc2"},{"introduced":"0"},{"last_affected":"2022.07-rc3"},{"introduced":"0"},{"last_affected":"2022.07-rc4"},{"introduced":"0"},{"last_affected":"2022.07-rc5"}]}}],"versions":["LABEL_2002_11_05_0120","LABEL_2002_11_05_1735","LABEL_2002_11_10_2310","LABEL_2002_11_11_2211","LABEL_2002_11_18_0115","LABEL_2002_11_22_0015","LABEL_2002_12_03_2230","LABEL_2002_12_07_0120","LABEL_2002_12_21_0040","LABEL_2002_12_28_1700","LABEL_2003_01_11_1050","LABEL_2003_01_14_0055","LABEL_2003_02_28_0150","LABEL_2003_03_06_0050","LABEL_2003_03_06_0200","LABEL_2003_03_06_1440","LABEL_2003_03_06_2255","LABEL_2003_03_14_2150","LABEL_2003_03_25_1830","LABEL_2003_03_26_1300","LABEL_2003_03_27_1900","LABEL_2003_04_05_0300","LABEL_2003_04_15_1900","LABEL_2003_05_03_1700","LABEL_2003_05_12_2355","LABEL_2003_05_20_1630","LABEL_2003_05_20_2250","LABEL_2003_05_22_2230","LABEL_2003_05_23_0055","LABEL_2003_05_23_1450","LABEL_2003_05_30_1450","LABEL_2003_05_31_2115","LABEL_2003_06_04_0200","LABEL_2003_06_05_2140","LABEL_2003_06_16_0055","LABEL_2003_06_22_1530","LABEL_2003_06_26_2220","LABEL_2003_06_27_2340","LABEL_2003_06_29_0145","LABEL_2003_09_06_0055","LABEL_2003_09_12_0110","LABEL_2003_09_12_1745","LABEL_2003_09_13_2100","LABEL_2003_09_16_2310","LABEL_2003_09_18_2045","LABEL_2003_10_01_1830","LABEL_2003_10_06_2355","LABEL_2003_10_09_1515","LABEL_2003_10_09_2320","LABEL_2003_10_10_1200","LABEL_2003_10_14_2140","LABEL_2003_10_16_0200","LABEL_2003_10_20_0025","LABEL_2003_11_26_MKR","LABEL_2003_12_06_1550","LABEL_2004_01_21_2110","LABEL_2004_01_29_1030","LABEL_2004_02_11_2240","LABEL_2004_02_20_2310","LABEL_2004_02_24_0305","LABEL_2004_03_12_0130","LABEL_2004_03_14_2340","LABEL_2004_03_16_2330","LABEL_2004_03_25_1630","LABEL_2004_04_18_2135","LABEL_2004_04_23_2240","LABEL_2004_05_19_2335","LABEL_2004_05_29_1850","LABEL_2004_06_24_1800","LABEL_2004_07_01_1200","LABEL_2004_08_28_2355","LABEL_2004_08_29_0045","LABEL_2004_09_09_0000","LABEL_2004_10_12_0110","LABEL_2004_10_20_0020","LABEL_2004_11_17_2222","LABEL_2004_11_25_0035","LABEL_2004_12_18_2335","LABEL_2004_12_19_1100","LABEL_2004_12_19_2240","LABEL_2004_12_20_1220","LABEL_2005_01_31_2245","LABEL_2005_02_07_2045","LABEL_2005_02_08_1615","LABEL_2005_02_28_0050","LABEL_2005_03_06_0225","LABEL_2005_03_15_0125","LABEL_2005_04_05_1830","LABEL_2005_04_05_2345","LABEL_2005_04_14_0115","LABEL_2005_05_05_1920","LABEL_2005_05_09_1245","LABEL_2005_05_13_0050","LABEL_2005_07_04_0202","LABEL_2005_09_15_2320","LABEL_2006_04_18_1106","LABEL_2006_05_10_1800","LABEL_2006_05_19_1133","LABEL_2006_06_30_2020","U-Boot-0_2_0","U-Boot-0_3_0","U-Boot-0_3_1","U-Boot-0_4_0","U-Boot-0_4_1","U-Boot-0_4_2","U-Boot-0_4_3","U-Boot-0_4_4","U-Boot-0_4_5","U-Boot-0_4_6","U-Boot-0_4_7","U-Boot-0_4_8","U-Boot-1_0_0","U-Boot-1_0_1","U-Boot-1_0_2","U-Boot-1_1_0","U-Boot-1_1_1","U-Boot-1_1_2","U-Boot-1_1_3","U-Boot-1_1_4","U-Boot-1_1_6","U-Boot-1_2_0","v1.3.1","v1.3.1-rc1","v1.3.2","v1.3.2-rc2","v1.3.2-rc3","v1.3.3","v1.3.3-rc1","v1.3.3-rc2","v1.3.3-rc3","v2008.10-rc2","v2009.01","v2009.01-rc1","v2009.01-rc2","v2009.01-rc3","v2009.03","v2009.03-rc1","v2009.03-rc2","v2009.06","v2009.06-rc1","v2009.06-rc2","v2009.06-rc3","v2009.08","v2009.08-rc1","v2009.08-rc2","v2009.08-rc3","v2009.11","v2009.11-rc1","v2009.11-rc2","v2010.03","v2010.03-rc1","v2010.03-rc2","v2010.03-rc3","v2010.06-rc1","v2010.06-rc2","v2010.09","v2010.09-rc1","v2010.12","v2010.12-rc1","v2010.12-rc2","v2010.12-rc3","v2011.03","v2011.03-rc1","v2011.03-rc2","v2011.06","v2011.06-rc1","v2011.06-rc2","v2011.06-rc3","v2011.09","v2011.09-rc1","v2011.09-rc2","v2011.12","v2011.12-rc1","v2011.12-rc2","v2011.12-rc3","v2012.04","v2012.04-rc1","v2012.04-rc2","v2012.04-rc3","v2012.04.01","v2012.07","v2012.07-rc1","v2012.07-rc2","v2012.07-rc3","v2012.10","v2012.10-rc1","v2012.10-rc2","v2012.10-rc3","v2013.01","v2013.01-rc1","v2013.01-rc2","v2013.01-rc3","v2013.04","v2013.04-rc1","v2013.04-rc2","v2013.04-rc3","v2013.07","v2013.07-rc1","v2013.07-rc2","v2013.07-rc3","v2013.10","v2013.10-rc1","v2013.10-rc2","v2013.10-rc3","v2013.10-rc4","v2014.01-rc1","v2014.04","v2014.07","v2014.07-rc1","v2014.07-rc2","v2014.07-rc3","v2014.07-rc4","v2014.10","v2014.10-rc1","v2014.10-rc2","v2014.10-rc3","v2015.01","v2015.01-rc1","v2015.01-rc2","v2015.01-rc3","v2015.01-rc4","v2015.04","v2015.04-rc1","v2015.04-rc2","v2015.04-rc3","v2015.04-rc4","v2015.04-rc5","v2015.07","v2015.07-rc1","v2015.07-rc2","v2015.07-rc3","v2015.10","v2015.10-rc1","v2015.10-rc2","v2015.10-rc3","v2015.10-rc4","v2015.10-rc5","v2016.01","v2016.01-rc1","v2016.01-rc2","v2016.01-rc3","v2016.01-rc4","v2016.03","v2016.03-rc1","v2016.03-rc2","v2016.03-rc3","v2016.05","v2016.05-rc1","v2016.05-rc2","v2016.05-rc3","v2016.07","v2016.07-rc1","v2016.07-rc2","v2016.07-rc3","v2016.09","v2016.09-rc1","v2016.09-rc2","v2016.11","v2016.11-rc1","v2016.11-rc2","v2016.11-rc3","v2017.01","v2017.01-rc1","v2017.01-rc2","v2017.01-rc3","v2017.03","v2017.03-rc1","v2017.03-rc2","v2017.03-rc3","v2017.05","v2017.05-rc1","v2017.05-rc2","v2017.05-rc3","v2017.07","v2017.07-rc1","v2017.07-rc2","v2017.07-rc3","v2017.09","v2017.09-rc1","v2017.09-rc2","v2017.09-rc3","v2017.09-rc4","v2017.11","v2017.11-rc1","v2017.11-rc2","v2017.11-rc3","v2017.11-rc4","v2018.01","v2018.01-rc1","v2018.01-rc2","v2018.01-rc3","v2018.03","v2018.03-rc1","v2018.03-rc2","v2018.03-rc3","v2018.03-rc4","v2018.05","v2018.05-rc1","v2018.05-rc2","v2018.05-rc3","v2018.07","v2018.07-rc1","v2018.07-rc2","v2018.07-rc3","v2018.09","v2018.09-rc1","v2018.09-rc2","v2018.09-rc3","v2018.11","v2018.11-rc1","v2018.11-rc2","v2018.11-rc3","v2019.01","v2019.01-rc1","v2019.01-rc2","v2019.01-rc3","v2019.04","v2019.04-rc1","v2019.04-rc2","v2019.04-rc3","v2019.04-rc4","v2019.07","v2019.07-rc1","v2019.07-rc2","v2019.07-rc3","v2019.07-rc4","v2019.10","v2019.10-rc1","v2019.10-rc2","v2019.10-rc3","v2019.10-rc4","v2020.01","v2020.01-rc1","v2020.01-rc2","v2020.01-rc3","v2020.01-rc4","v2020.01-rc5","v2020.04","v2020.04-rc1","v2020.04-rc2","v2020.04-rc3","v2020.04-rc4","v2020.04-rc5","v2020.07","v2020.07-rc1","v2020.07-rc2","v2020.07-rc3","v2020.07-rc4","v2020.07-rc5","v2020.10","v2020.10-rc1","v2020.10-rc2","v2020.10-rc3","v2020.10-rc4","v2020.10-rc5","v2021.01","v2021.01-rc1","v2021.01-rc2","v2021.01-rc3","v2021.01-rc4","v2021.01-rc5","v2021.04","v2021.04-rc1","v2021.04-rc2","v2021.04-rc3","v2021.04-rc4","v2021.04-rc5","v2021.07","v2021.07-rc1","v2021.07-rc2","v2021.07-rc3","v2021.07-rc4","v2021.07-rc5","v2021.10","v2021.10-rc1","v2021.10-rc2","v2021.10-rc3","v2021.10-rc4","v2021.10-rc5","v2022.01","v2022.01-rc1","v2022.01-rc2","v2022.01-rc3","v2022.01-rc4","v2022.04","v2022.04-rc1","v2022.04-rc2","v2022.04-rc3","v2022.04-rc4","v2022.04-rc5","v2022.07-rc1","v2022.07-rc2","v2022.07-rc3","v2022.07-rc4","v2022.07-rc5","v2022.07-rc6"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-34835.json","vanir_signatures":[{"id":"CVE-2022-34835-6d5967c2","signature_version":"v1","signature_type":"Line","deprecated":false,"source":"https://github.com/u-boot/u-boot/commit/8f8c04bf1ebbd2f72f1643e7ad9617dafa6e5409","target":{"file":"cmd/i2c.c"},"digest":{"threshold":0.9,"line_hashes":["100091105016660023555553360295518897339","254993910775381724957448227349213901337","270035180097489953994680063071177126897","334907471678412928025123377302682051224","301872140551709476151363916559872789665","253387822215479943803129036816553239661","253961501308691215341063607519768158319","5429314177105493582515972480716068920","296066715336484858427174626106057493004","219575061841569388835091497924106951976","232110455447904385407477673857144053083","5429314177105493582515972480716068920","296066715336484858427174626106057493004","219575061841569388835091497924106951976","232110455447904385407477673857144053083","322806574432475430823387671535245614823","70543055235158811819209304917383484445","228636268218440360664859629222479928281","170962440708725520537006013314983585087","120743415564669861873874198191162863965","156710110811220832934660386852015214870","181270017957261300154995122195541239002","26916343001027483550646706241978579036","248262085007812613457976457112233998869","214181141457365287253367011564624115473","110830076168259664566391335188463444721","156710110811220832934660386852015214870","64422149074424848120013026321429263934","256405870771541301071900999173263378582","322165593044963996746694762389001279180","232521399329043039745730735915100165590","48321191635221706224953166075955250018","12519736097872831626516529156580894718","206597835879518414427620300221565502043","24941289354215901040244455878127022330"]}}],"vanir_signatures_modified":"2026-04-12T02:57:02Z"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}