Vulnerability · Published Apr 7, 2025 · Assigned by TianoCore
CVE-2024-38797Out-of-bounds Read in HashPeImageByType()
Medium 4.6
In plain English
A medium-severity out-of-bounds read in EDK2 from TianoCore. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 12% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)4.6Medium
Exploit odds (30 days)0.2%top 87.6% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | edk2 | no fix listed | DEBIAN-CVE-2024-38797 |
| Debian:13 | edk2 | 2025.02-8 | DEBIAN-CVE-2024-38797 |
| Debian:14 | edk2 | 2025.02-8 | DEBIAN-CVE-2024-38797 |
| Ubuntu:22.04:LTS | edk2 | 2022.02-3ubuntu0.22.04.4 | USN-7894-1 |
| Ubuntu:22.04:LTS | edk2 | 2022.02-3ubuntu0.22.04.4 | UBUNTU-CVE-2024-38797 |
| Ubuntu:24.04:LTS | edk2 | 2024.02-2ubuntu0.6 | USN-7894-1 |
| Ubuntu:24.04:LTS | edk2 | 2024.02-2ubuntu0.6 | UBUNTU-CVE-2024-38797 |
Affected products (as reported)
Weakness: CWE-125 · Vector: CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L