Vulnerability · Published Sep 27, 2024 · Assigned by TianoCore
CVE-2024-38796Integer overflow in PeCoffLoaderRelocateImage
Medium 5.9
In plain English
A medium-severity heap buffer overflow 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.4% (higher than 31% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)5.9Medium
Exploit odds (30 days)0.4%top 68.9% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known
Official description
EDK2 contains a vulnerability in the PeCoffLoaderRelocateImage(). An Attacker may cause memory corruption due to an overflow via an adjacent network. A successful exploit of this vulnerability may lead to a loss of Confidentiality, Integrity, and/or Availability.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:8 | edk2-aarch64 | 20220126gitbb1bba3d77-13.el8_10.4 | ALSA-2024:11185 |
| AlmaLinux:9 | edk2-aarch64 | 20240524-6.el9_5.3 | ALSA-2024:11219 |
| AlmaLinux:8 | edk2-ovmf | 20220126gitbb1bba3d77-13.el8_10.4 | ALSA-2024:11185 |
| AlmaLinux:9 | edk2-ovmf | 20240524-6.el9_5.3 | ALSA-2024:11219 |
| AlmaLinux:9 | edk2-tools | 20240524-6.el9_5.3 | ALSA-2024:11219 |
| AlmaLinux:9 | edk2-tools-doc | 20240524-6.el9_5.3 | ALSA-2024:11219 |
| Debian:12 | edk2 | 2022.11-6+deb12u2 | DEBIAN-CVE-2024-38796 |
| Debian:13 | edk2 | 2024.08-3 | DEBIAN-CVE-2024-38796 |
| Debian:14 | edk2 | 2024.08-3 | DEBIAN-CVE-2024-38796 |
| Rocky Linux:8 | edk2 | 0:20220126gitbb1bba3d77-13.el8_10.4 | RLSA-2024:11185 |
| Rocky Linux:9 | edk2 | 0:20240524-6.el9_5.3 | RLSA-2024:11219 |
| Ubuntu:22.04:LTS | edk2 | 2022.02-3ubuntu0.22.04.4 | USN-7894-1 |
| Ubuntu:22.04:LTS | edk2 | 2022.02-3ubuntu0.22.04.4 | UBUNTU-CVE-2024-38796 |
| Ubuntu:24.04:LTS | edk2 | 2024.02-2ubuntu0.6 | USN-7894-1 |
| Ubuntu:24.04:LTS | edk2 | 2024.02-2ubuntu0.6 | UBUNTU-CVE-2024-38796 |
Affected products (as reported)
Weakness: CWE-122 · Vector: CVSS:3.1/AV:A/AC:H/PR:L/UI:N/S:U/C:L/I:H/A:L