# CVE-2024-38797: Out-of-bounds Read in HashPeImageByType()

- Priority: **Routine**
- Reason: Not severe (CVSS 4.6, adjacent network); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2025-04-07 · Modified: 2025-04-08
- Aliases: UBUNTU-CVE-2024-38797, DEBIAN-CVE-2024-38797
- Record: https://cvemate.com/vulnerability/CVE-2024-38797 · JSON: https://cvemate.com/vulnerability/CVE-2024-38797/json

## Description

```text
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.
```

## Signals

- CVSS: 4.6 medium (v3.1, CVE.org) CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L
- EPSS: 0.231%, percentile 14.943%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- debian edk2 (Debian): All versions (No fix recorded) \| \< 2025.02-8
- ubuntu edk2 (Ubuntu): All versions (No fix recorded) \| \< 2022.02-3ubuntu0.22.04.4 \| \< 2024.02-2ubuntu0.6
- tianocore edk2: ≤ edk2-stable202408

## References

- <https://github.com/tianocore/edk2/security/advisories/GHSA-4wjw-6xmf-44xf>
- <https://ubuntu.com/security/CVE-2024-38797>
- <https://www.cve.org/CVERecord?id=CVE-2024-38797>
- <https://ubuntu.com/security/notices/USN-7894-1>
- <https://security-tracker.debian.org/tracker/CVE-2024-38797>

---

Data as of 2026-12-05T04:12:56.902Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
