CVE-2024-42040: Buffer Overflow

Published Aug 23, 2024
·
Updated

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.

Affected Software

6 affected componentsFixes available
DENEX U-Boot>=2002<
DENX U-Boot<=2025.10
debian/u-boot<2023.01+dfsg-2+deb12u3
2023.01+dfsg-2+deb12u3
debian/u-boot<2025.01-3+deb13u1
2025.01-3+deb13u1
debian/u-boot<2025.01-3.2
2025.01-3.2
debian/u-boot
2023.01+dfsg-2+deb12u32025.01-3+deb13u12025.01-3.2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/u-boot to a version that resolves this vulnerability.

    Fixed in 2023.01+dfsg-2+deb12u3
  2. Upgrade

    Upgrade debian/u-boot to a version that resolves this vulnerability.

    Fixed in 2025.01-3+deb13u1
  3. Upgrade

    Upgrade debian/u-boot to a version that resolves this vulnerability.

    Fixed in 2025.01-3.2
  4. Upgrade

    Upgrade debian/u-boot to a version that resolves this vulnerability.

    Fixed in 2023.01+dfsg-2+deb12u3Fixed in 2025.01-3+deb13u1Fixed in 2025.01-3.2

Event History

Aug 23, 2024
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description
Data Sourced
via NVD·03:15 PM
DescriptionSeverityWeaknessAffected Software
Data Sourced
via OSV·03:15 PM
DescriptionSeverityAffected Software

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

What is the severity of CVE-2024-42040?

CVE-2024-42040 has been classified as a high severity vulnerability due to its potential to leak sensitive memory information.

2

How do I mitigate CVE-2024-42040?

To mitigate CVE-2024-42040, it is recommended to update to a patched version of DENEX U-Boot released after the vulnerability was identified.

3

What platforms are affected by CVE-2024-42040?

CVE-2024-42040 affects DENEX U-Boot on any platform that utilizes the affected code from its initial commit in 2002 to the present.

4

What is the impact of exploiting CVE-2024-42040?

Exploitation of CVE-2024-42040 could allow an attacker on the local network to leak between four to 32 bytes of memory.

5

Is CVE-2024-42040 a remote or local vulnerability?

CVE-2024-42040 is a local vulnerability that can only be exploited by an attacker within the same local network.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203