# CVE-2022-40262: The arbitrary write vulnerability in S3Resume2Pei 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-27
- Record: https://cvemate.com/vulnerability/CVE-2022-40262 · JSON: https://cvemate.com/vulnerability/CVE-2022-40262/json

## Description

```text
A potential attacker can execute an arbitrary code at the time of the PEI phase 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: S3Resume2Pei SHA256: 7bb29f05534a8a1e010443213451425098faebd45948a4642db969b19d0253fc Module GUID: 89E549B0-7CFE-449D-9BA3-10D8B2312D71
```

## Signals

- CVSS: 8.2 high (v3.1, CVE.org) CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
- EPSS: 0.325%, percentile 27.541%, 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
- ami aptio\_v: 5.0
- intel server\_board\_m10jnp2sb\_firmware: na

## References

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

---

Data as of 2026-12-05T09:38:38.687Z. 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
