Medium severity · published Apr 7, 2025
CVE-2024-38797
Out-of-bounds Read in HashPeImageByType()
4.6
CVSS
0.2%
EPSS
No
On KEV
Description
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.
CVSS vector
CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L
Attack vector
Adjacent
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
None
Integrity
Low
Availability
Low
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.2% · higher than 12% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
ED
EDK2 · TianoCore
through edk2-stable202408 · source: vendor
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2024-38797
CVE.org
https://www.cve.org/CVERecord?id=CVE-2024-38797
github.com
https://github.com/tianocore/edk2/security/advisories/GHSA-4wjw-6xmf-44xf
More from EDK2
9.8
CVE-2026-111497
Out-of-Bounds Write in Google Brotli Decoder
9.8
CVE-2021-38578
Existing CommBuffer checks in SmmEntryPoint will not catch underflow when computing BufferSize
9.5
CVE-2026-97631
Pre-boot RCE in EDK II PXE driver
8.8
CVE-2025-2486
UEFI Shell accessible in AAVMF with Secure Boot enabled on Ubuntu
8.8
CVE-2023-45234
Buffer Overflow in EDK II Network Package
