{"id":"CVE-2024-42040","aliases":["DEBIAN-CVE-2024-42040","EUVD-2024-39870","GHSA-xh96-vq46-m9ww","OESA-2026-1971","UBUNTU-CVE-2024-42040"],"status":"published","title":"Buffer Overflow vulnerability in the net/bootp.c in DENEX U-Boot from its initial commit in 2002 ...","description":"Buffer Overflow vulnerability in the net/bootp.c in DENEX U-Boot from its initial commit in 2002 (3861aa5) up to today on any platform allows an attacker on the local network to leak memory from four up to 32 bytes of memory stored behind the packet to the network depending on the later use of DHCP-provided parameters via crafted DHCP responses.","severity":{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","level":"high","assessor":"adp","from":"cve"},"epss":{"day":"2026-11-12","score":0.00598,"percentile":0.49146,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-120"],"published":"2024-08-23T00:00:00Z","modified":"2026-11-02T12:02:59Z","fixes":[{"ecosystem":"Debian:12","package":"u-boot","fixed_in":["2023.01+dfsg-2+deb12u3"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"u-boot","fixed_in":["2025.01-3+deb13u1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"u-boot","fixed_in":["2025.01-3.2"],"sources":["osv"]},{"ecosystem":"openEuler:22.03-LTS-SP4","package":"uboot-tools","fixed_in":["2021.10-12.oe2203sp4"],"sources":["osv"]},{"ecosystem":"openEuler:24.03-LTS","package":"uboot-tools","fixed_in":["2024.01-4.oe2403sp3"],"sources":["osv"]},{"ecosystem":"openEuler:24.03-LTS-SP1","package":"uboot-tools","fixed_in":["2024.01-4.oe2403sp1"],"sources":["osv"]},{"ecosystem":"openEuler:24.03-LTS-SP2","package":"uboot-tools","fixed_in":["2024.01-4.oe2403sp2"],"sources":["osv"]},{"ecosystem":"openEuler:24.03-LTS-SP3","package":"uboot-tools","fixed_in":["2024.01-4.oe2403sp3"],"sources":["osv"]},{"ecosystem":"openEuler:20.03-LTS-SP4","package":"uboot-tools","fixed_in":["2020.07-11.oe2003sp4"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"u-boot","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2023.01+dfsg-2+deb12u3"}]}],"versions":["2023.01+dfsg-2","2023.01+dfsg-2+deb12u1","2023.01+dfsg-2+deb12u2"]},{"source":"osv","ecosystem":"Debian:13","package":"u-boot","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2025.01-3+deb13u1"}]}],"versions":["2025.01-3"]},{"source":"osv","ecosystem":"Debian:14","package":"u-boot","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2025.01-3.2"}]}],"versions":["2025.01-3","2025.01-3.1"]},{"source":"osv","ecosystem":"openEuler:22.03-LTS-SP4","package":"uboot-tools","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2021.10-12.oe2203sp4"}]}]},{"source":"osv","ecosystem":"openEuler:24.03-LTS","package":"uboot-tools","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2024.01-4.oe2403sp3"}]}]},{"source":"osv","ecosystem":"openEuler:24.03-LTS-SP1","package":"uboot-tools","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2024.01-4.oe2403sp1"}]}]},{"source":"osv","ecosystem":"openEuler:24.03-LTS-SP2","package":"uboot-tools","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2024.01-4.oe2403sp2"}]}]},{"source":"osv","ecosystem":"openEuler:24.03-LTS-SP3","package":"uboot-tools","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2024.01-4.oe2403sp3"}]}]},{"source":"osv","ecosystem":"openEuler:20.03-LTS-SP4","package":"uboot-tools","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2020.07-11.oe2003sp4"}]}]},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"u-boot","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2015.04+dfsg1-2ubuntu1","2015.10+dfsg1-2","2015.10+dfsg1-3","2015.10+dfsg1-4","2016.01+dfsg1-1","2016.01+dfsg1-1ubuntu1","2016.01+dfsg1-2ubuntu1","2016.01+dfsg1-2ubuntu2","2016.01+dfsg1-2ubuntu3","2016.01+dfsg1-2ubuntu5","2016.01+dfsg1-2ubuntu5+esm1","2016.01+dfsg1-2ubuntu5+esm2"]},{"source":"osv","ecosystem":"Ubuntu:Pro:18.04:LTS","package":"u-boot","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2016.03+dfsg1-6ubuntu2","2018.07~rc3+dfsg1-0ubuntu1~18.04.1","2018.07~rc3+dfsg1-0ubuntu2~18.04.1","2018.07~rc3+dfsg1-0ubuntu3~18.04.1","2019.07+dfsg-1ubuntu4~18.04.1","2020.10+dfsg-1ubuntu0~18.04.2","2020.10+dfsg-1ubuntu0~18.04.3","2020.10+dfsg-1ubuntu0~18.04.3+esm1","2020.10+dfsg-1ubuntu0~18.04.3+esm2"]},{"source":"osv","ecosystem":"Ubuntu:Pro:20.04:LTS","package":"u-boot","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2019.07+dfsg-1ubuntu3","2019.07+dfsg-1ubuntu5","2019.07+dfsg-1ubuntu6","2020.10+dfsg-1ubuntu0~20.04.2","2021.01+dfsg-3ubuntu0~20.04.1","2021.01+dfsg-3ubuntu0~20.04.3","2021.01+dfsg-3ubuntu0~20.04.4","2021.01+dfsg-3ubuntu0~20.04.5","2021.01+dfsg-3ubuntu0~20.04.6","2021.01+dfsg-3ubuntu0~20.04.6+esm1","2021.01+dfsg-3ubuntu0~20.04.6+esm2"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"u-boot","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2021.07+dfsg-0ubuntu8","2021.07+dfsg-0ubuntu9","2021.07+dfsg-0ubuntu10","2022.01+dfsg-2ubuntu1","2022.01+dfsg-2ubuntu2","2022.01+dfsg-2ubuntu2.1","2022.01+dfsg-2ubuntu2.3","2022.01+dfsg-2ubuntu2.4","2022.01+dfsg-2ubuntu2.5","2022.01+dfsg-2ubuntu2.6","2022.01+dfsg-2ubuntu2.7","2022.01+dfsg-2ubuntu2.8","2022.01+dfsg-2ubuntu2.9"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"u-boot-nezha","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2021.09+git20211008.62392d3-0ubuntu1","2022.04+git20220405.7446a472-0ubuntu0.1","2022.04+git20220405.7446a472-0ubuntu0.2","2022.04+git20220405.7446a472-0ubuntu0.3","2022.04+git20220405.7446a472-0ubuntu0.4"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"u-boot","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2023.07+dfsg-1ubuntu2","2024.01+dfsg-1ubuntu1","2024.01+dfsg-1ubuntu2","2024.01+dfsg-1ubuntu3","2024.01+dfsg-1ubuntu4","2024.01+dfsg-1ubuntu5","2024.01+dfsg-1ubuntu5.1","2024.01+dfsg-1ubuntu5.2","2025.01-0ubuntu0.24.04.1","2025.01-0ubuntu0.24.04.2","2025.10-0ubuntu0.24.04.1","2025.10-0ubuntu0.24.04.2","2025.10-0ubuntu0.24.04.3","2025.10-0ubuntu0.24.04.4"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"u-boot-nezha","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2022.10-1089-g528ae9bc6c-0ubuntu2","2024.01~rc1-190-g2e89b706f5-0ubuntu1","2024.01~rc1-190-g2e89b706f5-0ubuntu2","2024.01~rc1-190-g2e89b706f5-0ubuntu2.24.04.2"]},{"source":"osv","ecosystem":"Ubuntu:25.10","package":"u-boot","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2025.01-1~0ubuntu2","2025.01-3ubuntu1","2025.01-3ubuntu2","2025.01-3ubuntu4","2025.10-0ubuntu0.25.10.1"]},{"source":"osv","ecosystem":"Ubuntu:26.10","package":"u-boot","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2025.10-0ubuntu2","2025.10-0ubuntu3","2025.10-0ubuntu4","2025.10-0ubuntu5","2025.10-0ubuntu6"]},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"u-boot","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2025.01-3ubuntu4","2025.10-0ubuntu1","2025.10-0ubuntu2","2025.10-0ubuntu2.1","2025.10-0ubuntu2.2"]}],"products":[{"vendor":"denx","product":"u-boot"}],"references":[{"url":"https://github.com/u-boot/u-boot/tags","tags":["Release Notes","web"]},{"url":"https://www.schutzwerk.com/advisories/SCHUTZWERK-SA-2024-004.txt","tags":["Mitigation","Third Party Advisory","advisory","report"]},{"url":"http://seclists.org/fulldisclosure/2024/Aug/38","tags":["Mailing List","Mitigation","Third Party Advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-42040","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-xh96-vq46-m9ww"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/42xxx/CVE-2024-42040.json","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2024-42040","tags":["advisory"]},{"url":"https://www.openeuler.org/zh/security/security-bulletins/detail/?id=openEuler-SA-2026-1971","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2024-42040","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2024-42040","tags":["report"]},{"url":"https://lists.denx.de/pipermail/u-boot/2024-August/562528.html","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2024-42040","description":"Buffer Overflow vulnerability in the net/bootp.c in DENEX U-Boot from its initial commit in 2002 (3861aa5) up to today on any platform allows an attacker on the local network to leak memory from four up to 32 bytes of memory stored behind the packet to the network depending on the later use of DHCP-provided parameters via crafted DHCP responses.","status":"published","published":"2024-08-23T00:00:00Z","modified":"2024-11-20T16:22:55.745Z","cvss":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","level":"high","assessor":"adp"}],"cwes":["CWE-120"],"updated_at":"2026-11-02T14:34:03.00063Z"}],"euvd":[{"id":"EUVD-2024-39870","description":"Buffer Overflow vulnerability in the net/bootp.c in DENEX U-Boot from its initial commit in 2002 (3861aa5) up to today on any platform allows an attacker on the local network to leak memory from four up to 32 bytes of memory stored behind the packet to the network depending on the later use of DHCP-provided parameters via crafted DHCP responses.","status":"published","published":"2024-08-23T00:00:00Z","modified":"2024-11-20T16:22:55Z","cvss":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","level":"high"}],"updated_at":"2026-11-03T00:04:54.237682Z"}],"ghsa":[{"id":"GHSA-xh96-vq46-m9ww","title":"Buffer Overflow vulnerability in the net/bootp.c in DENEX U-Boot from its initial commit in 2002 ...","description":"Buffer Overflow vulnerability in the net/bootp.c in DENEX U-Boot from its initial commit in 2002 (3861aa5) up to today on any platform allows an attacker on the local network to leak memory from four up to 32 bytes of memory stored behind the packet to the network depending on the later use of DHCP-provided parameters via crafted DHCP responses.","status":"published","published":"2024-08-23T15:30:34Z","modified":"2026-04-03T18:32:10Z","cvss":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","level":"high"}],"cwes":["CWE-120"],"updated_at":"2026-11-02T15:07:08.460272Z"}],"nvd":[{"id":"CVE-2024-42040","description":"Buffer Overflow vulnerability in the net/bootp.c in DENEX U-Boot from its initial commit in 2002 (3861aa5) up to today on any platform allows an attacker on the local network to leak memory from four up to 32 bytes of memory stored behind the packet to the network depending on the later use of DHCP-provided parameters via crafted DHCP responses.","status":"published","published":"2024-08-23T15:15:16.323Z","modified":"2026-06-17T07:48:41.493Z","cvss":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","level":"high","assessor":"secondary"}],"cwes":["CWE-120"],"updated_at":"2026-11-02T14:10:19.870727Z"}],"osv":[{"id":"CVE-2024-42040","description":"Buffer Overflow vulnerability in the net/bootp.c in DENEX U-Boot from its initial commit in 2002 (3861aa5) up to today on any platform allows an attacker on the local network to leak memory from four up to 32 bytes of memory stored behind the packet to the network depending on the later use of DHCP-provided parameters via crafted DHCP responses.","status":"published","published":"2024-08-23T00:00:00Z","modified":"2026-10-28T02:31:00.196307366Z","cvss":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:44:41.963899Z"},{"id":"DEBIAN-CVE-2024-42040","description":"Buffer Overflow vulnerability in the net/bootp.c in DENEX U-Boot from its initial commit in 2002 (3861aa5) up to today on any platform allows an attacker on the local network to leak memory from four up to 32 bytes of memory stored behind the packet to the network depending on the later use of DHCP-provided parameters via crafted DHCP responses.","status":"published","published":"2024-08-23T15:15:16.323Z","modified":"2026-11-02T12:02:59.166091649Z","cvss":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:45:43.156294Z"},{"id":"OESA-2026-1971","title":"uboot-tools security update","description":"This package includes the mkimage program, which allows generation of U-Boot images in various formats, and the fw_printenv and fw_setenv programs to read and modify U-Boot\u0026amp;apos;s environment.\r\n\r\nSecurity Fix(es):\n\nBuffer Overflow vulnerability in the net/bootp.c in DENEX U-Boot from its initial commit in 2002 (3861aa5) up to today on any platform allows an attacker on the local network to leak memory from four up to 32 bytes of memory stored behind the packet to the network depending on the later use of DHCP-provided parameters via crafted DHCP responses.(CVE-2024-42040)","status":"published","published":"2026-04-17T11:10:58Z","modified":"2026-08-18T01:19:39.329341071Z","cvss":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:52:46.087701Z"},{"id":"UBUNTU-CVE-2024-42040","description":"Buffer Overflow vulnerability in the net/bootp.c in DENEX U-Boot from its initial commit in 2002 (3861aa5) up to today on any platform allows an attacker on the local network to leak memory from four up to 32 bytes of memory stored behind the packet to the network depending on the later use of DHCP-provided parameters via crafted DHCP responses.","status":"published","published":"2024-08-23T15:15:00Z","modified":"2026-10-21T23:00:17.241884854Z","cvss":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T16:54:58.679387Z"}]}}
