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

- Priority: **Prioritise**
- Reason: Public exploit (reference, Date unknown)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2022-09-20 · Modified: 2025-05-28
- Record: https://cvemate.com/vulnerability/CVE-2022-40246 · JSON: https://cvemate.com/vulnerability/CVE-2022-40246/json

## Description

```text
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
```

## Signals

- CVSS: 7.2 high (v3.1, CVE.org) CVSS:3.1/AV:P/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
- EPSS: 0.49%, percentile 43.752%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (reference)

## Affected

- ami aptio: ≥ 5.0, \< 6.0
- intel nuc\_m15\_laptop\_kit\_lapbc510\_firmware: 0072
- intel nuc\_m15\_laptop\_kit\_lapbc710\_firmware: 0072

## References

- <https://www.ami.com/security-center/>
- <https://www.binarly.io/advisories/BRLY-2022-014>

---

Data as of 2026-12-05T10:01:38.569Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
