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

EcosystemPackageFixed inAdvisory
AlmaLinux:8edk2-aarch6420220126gitbb1bba3d77-13.el8_10.4ALSA-2024:11185
AlmaLinux:9edk2-aarch6420240524-6.el9_5.3ALSA-2024:11219
AlmaLinux:8edk2-ovmf20220126gitbb1bba3d77-13.el8_10.4ALSA-2024:11185
AlmaLinux:9edk2-ovmf20240524-6.el9_5.3ALSA-2024:11219
AlmaLinux:9edk2-tools20240524-6.el9_5.3ALSA-2024:11219
AlmaLinux:9edk2-tools-doc20240524-6.el9_5.3ALSA-2024:11219
Debian:12edk22022.11-6+deb12u2DEBIAN-CVE-2024-38796
Debian:13edk22024.08-3DEBIAN-CVE-2024-38796
Debian:14edk22024.08-3DEBIAN-CVE-2024-38796
Rocky Linux:8edk20:20220126gitbb1bba3d77-13.el8_10.4RLSA-2024:11185
Rocky Linux:9edk20:20240524-6.el9_5.3RLSA-2024:11219
Ubuntu:22.04:LTSedk22022.02-3ubuntu0.22.04.4USN-7894-1
Ubuntu:22.04:LTSedk22022.02-3ubuntu0.22.04.4UBUNTU-CVE-2024-38796
Ubuntu:24.04:LTSedk22024.02-2ubuntu0.6USN-7894-1
Ubuntu:24.04:LTSedk22024.02-2ubuntu0.6UBUNTU-CVE-2024-38796

Affected products (as reported)

VendorProductVersions
TianoCore EDK2 0 – through edk2-stable202405

Weakness: CWE-122 · Vector: CVSS:3.1/AV:A/AC:H/PR:L/UI:N/S:U/C:L/I:H/A:L

References