CVEfocus › CVE database › CVE-2021-38578

CVE-2021-38578

CVSS 7.4 HighEPSS 1.0% (higher than 62% of CVEs)Published 2022-03-03Updated 2025-11-03Assigner: TianoCore

Existing CommBuffer checks in SmmEntryPoint will not catch underflow when computing BufferSize.

CWE-124

What to do

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

Red Hat, Ubuntu have 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

14Fixed
6Fix pending
3Will not fix
1Not 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 24.04edk2Not affected
vulnerable_code_not_present
Ubuntu 22.04edk2Fixed2022.02-3ubuntu0.22.04.3UBUNTU-CVE-2021-38578
Ubuntu 20.04edk2Fixed0~20191122.bd85bf54-2ubuntu3.6UBUNTU-CVE-2021-38578
Ubuntu 18.04edk2Fix pending0~20180205.c0d9813c-2ubuntu0.3+esm2 (Ubuntu Pro)UBUNTU-CVE-2021-38578
Ubuntu 16.04edk2Fix pending0~20160408.ffea0a2c-2ubuntu0.2+esm3 (Ubuntu Pro)UBUNTU-CVE-2021-38578
Ubuntu 14.04edk2Fix pending
Debian 14edk2Fixed2022.11-1DEBIAN-CVE-2021-38578
Debian 13edk2Fixed2022.11-1DEBIAN-CVE-2021-38578
Debian 12edk2Fixed2022.11-1DEBIAN-CVE-2021-38578
Red Hat Enterprise Linux 9edk2Fixed0:20221207gitfff6d81270b5-9.el9_2RHSA-2023:2165
Red Hat Enterprise Linux 9edk2-aarch64Fixed0:20221207gitfff6d81270b5-9.el9_2RHSA-2023:2165
Red Hat Enterprise Linux 9edk2-ovmfFixed0:20221207gitfff6d81270b5-9.el9_2RHSA-2023:2165
Red Hat Enterprise Linux 9edk2-toolsFixed0:20221207gitfff6d81270b5-9.el9_2RHSA-2023:2165
Red Hat Enterprise Linux 9edk2-tools-docFixed0:20221207gitfff6d81270b5-9.el9_2RHSA-2023:2165
Red Hat Enterprise Linux 8edk2Fix pending
Affected
Red Hat Enterprise Linux 8edk2-aarch64Fix pending
Affected
Red Hat Enterprise Linux 8edk2-ovmfFix pending
Affected
Red Hat Enterprise Linux 7AAVMFWill not fix
Out of support scope
Red Hat Enterprise Linux 7OVMFWill not fix
Out of support scope
Red Hat Enterprise Linux 7ovmfWill not fix
Out of support scope
AlmaLinux 9edk2-aarch64Fixed20221207gitfff6d81270b5-9.el9_2ALSA-2023:2165
AlmaLinux 9edk2-ovmfFixed20221207gitfff6d81270b5-9.el9_2ALSA-2023:2165
AlmaLinux 9edk2-toolsFixed20221207gitfff6d81270b5-9.el9_2ALSA-2023:2165
AlmaLinux 9edk2-tools-docFixed20221207gitfff6d81270b5-9.el9_2ALSA-2023:2165

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.