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

- Severity: Medium 4.6 (CVSS:3.1, scored by TianoCore) `CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.32%, higher than 18% of CVEs (2026-11-30)
- Published: 2025-04-07T17:18:01.014Z
- Modified: 2026-06-17T07:41:04.603Z
- Weaknesses: CWE-125
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: TianoCore

## 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.

(As written by CVE List.)

## Affected

- SecurityPkg: up to edk2-stable202408

## References

- <https://github.com/tianocore/edk2/security/advisories/GHSA-4wjw-6xmf-44xf>

## Sources

- CVE List: [CVE-2024-38797](https://www.cve.org/CVERecord?id=CVE-2024-38797), CVE Terms of Use, modified 2025-04-08
- NVD: [CVE-2024-38797](https://nvd.nist.gov/vuln/detail/CVE-2024-38797), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-38797 · Whole record: https://cve.day/CVE-2024-38797.json · Rebuilt by cve.day 2026-11-25T22:58:52.512Z
