VDB

CVE-2024-38797

CVE-2024-38797 PUBLISHED CVSS 4.6 MEDIUM

Out-of-bounds Read in HashPeImageByType()

Reported by tianocore · Published April 7, 2025

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
edk2-ovmfAmazon Linux20240813-301.amzn2
edk2-aarch64Amazon Linux20240813-301.amzn2
edk2-tools-docAmazon Linux20240813-301.amzn2
edk2-toolsAmazon Linux20240813-301.amzn2
SecurityPkgTianoCoreedk2-stable202408

Risk scores

CVSS 3.1
4.6
CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L

Affected products

VendorProductVersions
TianoCoreEDK20
amazon:2edk2-ovmf0
amazon:2edk2-aarch640
amazon:2edk2-tools-doc0
TianoCoreEDK20
amazon:2edk2-tools0

Timeline

  • Apr 7, 2025 CVE Published
  • Apr 7, 2025 PoC Published (5 in total, the first dated here)
  • Apr 8, 2025 EPSS Score (30 in total, the first dated here)
  • Apr 8, 2025 CVE Updated
  • May 18, 2025 Coalition ESS Score (6 in total, the first dated here)
  • Nov 8, 2026 Distribution Patch
  • Nov 8, 2026 Security Advisory (2 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2024-38797
vulnetix vdb fixes CVE-2024-38797

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-38797/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›