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

EcosystemPackageFixed inAdvisory
Debian:12edk2no fix listedDEBIAN-CVE-2024-38797
Debian:13edk22025.02-8DEBIAN-CVE-2024-38797
Debian:14edk22025.02-8DEBIAN-CVE-2024-38797
Ubuntu:22.04:LTSedk22022.02-3ubuntu0.22.04.4USN-7894-1
Ubuntu:22.04:LTSedk22022.02-3ubuntu0.22.04.4UBUNTU-CVE-2024-38797
Ubuntu:24.04:LTSedk22024.02-2ubuntu0.6USN-7894-1
Ubuntu:24.04:LTSedk22024.02-2ubuntu0.6UBUNTU-CVE-2024-38797

Affected products (as reported)

VendorProductVersions
TianoCore EDK2 0 – through edk2-stable202408

Weakness: CWE-125 · Vector: CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L

References