# CVE-2022-40262: The arbitrary write vulnerability in S3Resume2Pei leads to arbitrary code execution during PEI phase.

- Severity: High 8.2 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/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.33%, higher than 27% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-09-20T17:35:36.008Z
- Modified: 2026-06-17T05:01:11.437Z
- Weaknesses: CWE-123, CWE-787
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: certcc

## Description

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

(As written by CVE List.)

## Affected

- AMI Aptio: 5.x
- ami aptio_v: 5.0
- intel server_board_m10jnp2sb_firmware: no versions given

## Every score

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

## References

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

## Sources

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

---

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