#VU123165 Out-of-bounds read in Universal Boot Loader (U-Boot) - CVE-2024-42040

 

#VU123165 Out-of-bounds read in Universal Boot Loader (U-Boot) - CVE-2024-42040

Published: February 24, 2026


Vulnerability identifier: #VU123165
Vulnerability risk: Medium
CVSSv4.0: CVSS:4.0/AV:A/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2024-42040
CWE-ID: CWE-125
Exploitation vector: Adjecent network
Exploit availability: No public exploit available
Vulnerable software:
Universal Boot Loader (U-Boot)
Software vendor:
DENX

Description

The vulnerability allows a remote attacker to gain access to potentially sensitive information.

The vulnerability exists due to a boundary condition within the bootp_handler() function in net/bootp.c when handling DHCP packets. A remote attacker on the local network can send specially crafted DHCP packets to the affected system to trigger an out-of-bounds read error and read contents of memory on the system by analyzing DHCP responses.


Remediation

Install updates from vendor's website.

External links