CVEfocus › CVE database › CVE-2024-38796

CVE-2024-38796Integer overflow in PeCoffLoaderRelocateImage

CVSS 5.9 MediumEPSS 0.5% (higher than 35% of CVEs)Published 2024-09-27Updated 2025-11-03Assigner: TianoCore

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.

CWE-122

What to do

Fixed builds are available from AlmaLinux, Debian, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

21Fixed
3Fix pending
7Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04edk2Not affected
vulnerable_code_not_present
Ubuntu 25.10edk2Not affected
vulnerable_code_not_present
Ubuntu 24.04edk2Fixed2024.02-2ubuntu0.6UBUNTU-CVE-2024-38796
Ubuntu 22.04edk2Fixed2022.02-3ubuntu0.22.04.4UBUNTU-CVE-2024-38796
Ubuntu 20.04edk2Fix pendingUBUNTU-CVE-2024-38796
Ubuntu 18.04edk2Fix pendingUBUNTU-CVE-2024-38796
Ubuntu 16.04edk2Fix pendingUBUNTU-CVE-2024-38796
Debian 14edk2Fixed2024.08-3DEBIAN-CVE-2024-38796
Debian 13edk2Fixed2024.08-3DEBIAN-CVE-2024-38796
Debian 12edk2Fixed2022.11-6+deb12u2DEBIAN-CVE-2024-38796
Red Hat Enterprise Linux 10edk2Not affected
Red Hat Enterprise Linux 10edk2-aarch64Not affected
Red Hat Enterprise Linux 10edk2-ovmfNot affected
Red Hat Enterprise Linux 10edk2-toolsNot affected
Red Hat Enterprise Linux 10edk2-tools-docNot affected
Red Hat Enterprise Linux 9edk2Fixed0:20240524-6.el9_5.3RHSA-2024:11219
Red Hat Enterprise Linux 9edk2-aarch64Fixed0:20240524-6.el9_5.3RHSA-2024:11219
Red Hat Enterprise Linux 9edk2-ovmfFixed0:20240524-6.el9_5.3RHSA-2024:11219
Red Hat Enterprise Linux 9edk2-toolsFixed0:20240524-6.el9_5.3RHSA-2024:11219
Red Hat Enterprise Linux 9edk2-tools-docFixed0:20240524-6.el9_5.3RHSA-2024:11219
Red Hat Enterprise Linux 8edk2Fixed0:20220126gitbb1bba3d77-13.el8_10.4RHSA-2024:11185
Red Hat Enterprise Linux 8edk2-aarch64Fixed0:20220126gitbb1bba3d77-13.el8_10.4RHSA-2024:11185
Red Hat Enterprise Linux 8edk2-ovmfFixed0:20220126gitbb1bba3d77-13.el8_10.4RHSA-2024:11185
AlmaLinux 9edk2-aarch64Fixed20240524-6.el9_5.3ALSA-2024:11219
AlmaLinux 9edk2-ovmfFixed20240524-6.el9_5.3ALSA-2024:11219
AlmaLinux 9edk2-toolsFixed20240524-6.el9_5.3ALSA-2024:11219
AlmaLinux 9edk2-tools-docFixed20240524-6.el9_5.3ALSA-2024:11219
AlmaLinux 8edk2-aarch64Fixed20220126gitbb1bba3d77-13.el8_10.4ALSA-2024:11185
AlmaLinux 8edk2-ovmfFixed20220126gitbb1bba3d77-13.el8_10.4ALSA-2024:11185
Rocky Linux 9edk2Fixed0:20240524-6.el9_5.3RLSA-2024:11219
Rocky Linux 8edk2Fixed0:20220126gitbb1bba3d77-13.el8_10.4RLSA-2024:11185

What the vendor says

As published in the CVE record by TianoCore, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.