# CVE-2022-40246: Arbitrary write vulnerability in SbPei module leads to arbitrary code execution during PEI phase.

- Severity: High 7.2 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:P/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.49%, higher than 43% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-09-20T17:35:33.274Z
- Modified: 2026-06-17T05:01:10.480Z
- Weaknesses: CWE-123, CWE-787
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: certcc

## Description

A potential attacker can write one byte by arbitrary address at the time of the PEI phase (only during S3 resume boot mode) and influence the subsequent boot stages. This can lead to the mitigations bypassing, physical memory contents disclosure, discovery of any secrets from any Virtual Machines (VMs) and bypassing memory isolation and confidential computing boundaries. Additionally, an attacker can build a payload which can be injected into the SMRAM memory. This issue affects: Module name: SbPei SHA256: d827182e5f9b7a9ff0b9d3e232f7cfac43b5237e2681e11f005be627a49283a9 Module GUID: c1fbd624-27ea-40d1-aa48-94c3dc5c7e0d

(As written by CVE List.)

## Affected

- AMI Aptio: 5.x
- intel nuc_m15_laptop_kit_lapbc510_firmware: 0072
- intel nuc_m15_laptop_kit_lapbc710_firmware: 0072

## Every score

- CISA-ADP: CVSS:3.1 7.2 High `CVSS:3.1/AV:P/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.2 High `CVSS:3.1/AV:P/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H`

## References

- <https://www.binarly.io/advisories/BRLY-2022-014> (exploit, third-party-advisory)
- <https://www.ami.com/security-center/> (vendor-advisory)

## Sources

- CVE List: [CVE-2022-40246](https://www.cve.org/CVERecord?id=CVE-2022-40246), CVE Terms of Use, modified 2025-05-28
- NVD: [CVE-2022-40246](https://nvd.nist.gov/vuln/detail/CVE-2022-40246), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-40246 · Whole record: https://cve.day/CVE-2022-40246.json · Rebuilt by cve.day 2026-11-25T22:58:15.138Z
