Skip to content
OpenAdvisories
Medium · 5.9 CVE-2024-38796 EUVD-2024-37812

Integer overflow in PeCoffLoaderRelocateImage

Published Sep 27, 2024 · Updated Nov 3, 2025 · Assigned by TianoCore

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 products

VendorProductAffectedFixed
TianoCore EDK2 ≤ edk2-stable202405 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 edk2 2024.08-3 —
Debian 13 edk2 2024.08-3 —
Debian 12 edk2 2022.11-6+deb12u2 —
Debian 11 edk2 2020.11-2+deb11u3 DLA-4207-1
ReleasePackageFixed inAdvisory
Ubuntu 24.04 LTS edk2 2024.02-2ubuntu0.6 USN-7894-1
Ubuntu 22.04 LTS edk2 2022.02-3ubuntu0.22.04.4 USN-7894-1
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 20.04 LTS edk2 No fix yet —
Ubuntu Pro 18.04 LTS edk2 No fix yet —
Ubuntu Pro 16.04 LTS edk2 No fix yet —
ReleasePackageFixed inAdvisory
RHEL 9 edk2 +4 20240524-6.el9_5.3 RHSA-2024:11219
RHEL 8 edk2 +2 20220126gitbb1bba3d77-13.el8_10.4 RHSA-2024:11185
Show 11 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
RHEL 9.4 EUS edk2 +4 20231122-6.el9_4.6 RHSA-2024:9921
RHEL 9.2 EUS edk2 +4 20221207gitfff6d81270b5-9.el9_2.5 RHSA-2024:9956
RHEL 9.0 E4S edk2 +2 20220126gitbb1bba3d77-3.el9_0.6 RHSA-2024:9930
RHEL 8.8 EUS edk2 +2 20220126gitbb1bba3d77-4.el8_8.7 RHSA-2024:10268
RHEL 8.6 TUS edk2 +1 20220126gitbb1bba3d77-2.el8_6.7 RHSA-2024:11194
RHEL 8.6 E4S edk2 +2 20220126gitbb1bba3d77-2.el8_6.7 RHSA-2024:11194
RHEL 8.6 AUS edk2 +1 20220126gitbb1bba3d77-2.el8_6.7 RHSA-2024:11194
RHEL 8.4 TUS edk2 +1 20200602gitca407c7246bf-4.el8_4.7 RHSA-2024:10272
RHEL 8.4 E4S edk2 +1 20200602gitca407c7246bf-4.el8_4.7 RHSA-2024:10272
RHEL 8.4 AUS edk2 +1 20200602gitca407c7246bf-4.el8_4.7 RHSA-2024:10272
RHEL 8.2 AUS edk2 +1 20190829git37eef91017ad-9.el8_2.6 RHSA-2024:9946

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 9 edk2-ovmf +3 20240524-6.el9_5.3 ALSA-2024:11219
AlmaLinux 8 edk2-ovmf +1 20220126gitbb1bba3d77-13.el8_10.4 ALSA-2024:11185

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 9 edk2 20240524-6.el9_5.3 RLSA-2024:11219
Rocky Linux 8 edk2 20220126gitbb1bba3d77-13.el8_10.4 RLSA-2024:11185

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2 edk2-ovmf +3 20240813-296.amzn2 ALAS2-2024-2722

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 edk2 20240524git3e722403cd16-8 —
Azure Linux 2 (CBL-Mariner) edk2 20230301gitf80f052277c8-42 —
Azure Linux 2 (CBL-Mariner) hvloader 1.0.1-13 —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 9 edk2-ovmf +3 20240524-6.0.1.el9_5.3 ELSA-2024-11219
Oracle Linux 8 edk2-ovmf +1 20220126gitbb1bba3d77-13.el8_10.4 ELSA-2024-11185

Advisories 19

References