CVE-2024-38797
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.
| Package | Ecosystem | Fixed in |
|---|---|---|
| edk2-ovmf | Amazon Linux | 20240813-301.amzn2 |
| edk2-aarch64 | Amazon Linux | 20240813-301.amzn2 |
| edk2-tools-doc | Amazon Linux | 20240813-301.amzn2 |
| edk2-tools | Amazon Linux | 20240813-301.amzn2 |
| SecurityPkg | TianoCore | edk2-stable202408 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| TianoCore | EDK2 | 0 |
| amazon:2 | edk2-ovmf | 0 |
| amazon:2 | edk2-aarch64 | 0 |
| amazon:2 | edk2-tools-doc | 0 |
| TianoCore | EDK2 | 0 |
| amazon:2 | edk2-tools | 0 |
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