CVEfocus › CVE database › CVE-2024-1298

CVE-2024-1298Integer Overflow caused by divide by zero during S3 suspension

CVSS 6.0 MediumEPSS 0.3% (higher than 15% of CVEs)Published 2024-05-30Updated 2025-11-03Assigner: TianoCore

EDK2 contains a vulnerability when S3 sleep is activated where an Attacker may cause a Division-By-Zero due to a UNIT32 overflow via local access. A successful exploit of this vulnerability may lead to a loss of Availability.

CWE-369

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-1298
Ubuntu 22.04edk2Fixed2022.02-3ubuntu0.22.04.4UBUNTU-CVE-2024-1298
Ubuntu 20.04edk2Fix pendingUBUNTU-CVE-2024-1298
Ubuntu 18.04edk2Fix pendingUBUNTU-CVE-2024-1298
Ubuntu 16.04edk2Fix pendingUBUNTU-CVE-2024-1298
Debian 14edk2Fixed2024.05-1DEBIAN-CVE-2024-1298
Debian 13edk2Fixed2024.05-1DEBIAN-CVE-2024-1298
Debian 12edk2Fixed2022.11-6+deb12u2DEBIAN-CVE-2024-1298
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_5RHSA-2024:9088
Red Hat Enterprise Linux 9edk2-aarch64Fixed0:20240524-6.el9_5RHSA-2024:9088
Red Hat Enterprise Linux 9edk2-ovmfFixed0:20240524-6.el9_5RHSA-2024:9088
Red Hat Enterprise Linux 9edk2-toolsFixed0:20240524-6.el9_5RHSA-2024:9088
Red Hat Enterprise Linux 9edk2-tools-docFixed0:20240524-6.el9_5RHSA-2024:9088
Red Hat Enterprise Linux 8edk2Fixed0:20220126gitbb1bba3d77-13.el8_10.2RHSA-2024:5297
Red Hat Enterprise Linux 8edk2-aarch64Fixed0:20220126gitbb1bba3d77-13.el8_10.2RHSA-2024:5297
Red Hat Enterprise Linux 8edk2-ovmfFixed0:20220126gitbb1bba3d77-13.el8_10.2RHSA-2024:5297
AlmaLinux 9edk2-aarch64Fixed20240524-6.el9_5ALSA-2024:9088
AlmaLinux 9edk2-ovmfFixed20240524-6.el9_5ALSA-2024:9088
AlmaLinux 9edk2-toolsFixed20240524-6.el9_5ALSA-2024:9088
AlmaLinux 9edk2-tools-docFixed20240524-6.el9_5ALSA-2024:9088
AlmaLinux 8edk2-aarch64Fixed20220126gitbb1bba3d77-13.el8_10.2ALSA-2024:5297
AlmaLinux 8edk2-ovmfFixed20220126gitbb1bba3d77-13.el8_10.2ALSA-2024:5297
Rocky Linux 9edk2Fixed0:20240524-6.el9_5.3RLSA-2024:9088
Rocky Linux 8edk2Fixed0:20220126gitbb1bba3d77-13.el8_10.2RLSA-2024:5297

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.