CVE-2024-38797: Out-of-bounds Read in HashPeImageByType()

Published Apr 7, 2025
·
Updated

EDK2 contains a vulnerability in the HashPeImageByType(). A user may cause a read out of bounds when a corrupted data pointer and length are sent via an adjecent network. A successful exploit of this vulnerability may lead to a loss of Integrity and/or Availability.

Affected Software

5 affected componentsFixes available
EDK2 EDK2
debian/edk2*
debian/edk2<2025.02-8
2025.02-8
debian/edk2<2025.02-8
2025.02-8
debian/edk2<=2022.11-6+deb12u2, <=2022.11-6+deb12u1
2025.02-8+deb13u12026.08+ds-2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/edk2 to a version that resolves this vulnerability.

    Fixed in 2025.02-8
  2. Upgrade

    Upgrade debian/edk2 to a version that resolves this vulnerability.

    Fixed in 2025.02-8+deb13u1Fixed in 2026.08+ds-2

Event History

Apr 7, 2025
CVE Published
via MITRE·05:18 PM
Data Sourced
via MITRE·05:18 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·06:15 PM
DescriptionSeverityWeakness
Data Sourced
via OSV·06:15 PM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2024-38797?

CVE-2024-38797 has a high severity due to potential exploitation leading to integrity and availability loss.

2

How do I fix CVE-2024-38797?

To fix CVE-2024-38797, update to the latest version of EDK2 where the vulnerability has been patched.

3

Who is affected by CVE-2024-38797?

CVE-2024-38797 affects all users of EDK2, particularly those using vulnerable versions.

4

What type of vulnerability is CVE-2024-38797?

CVE-2024-38797 is a read out of bounds vulnerability that occurs when processing corrupted data.

5

What can happen if CVE-2024-38797 is exploited?

If exploited, CVE-2024-38797 may result in loss of integrity and availability of the affected system.

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