{"answers":{"affected":"It affects 3 products.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-40261 exists.","fix":"No fix has been published for CVE-2022-40261 yet. Limit exposure of the affected software until one is available.","what":"CVE-2022-40261 is a high-severity memory corruption vulnerability in AMI Aptio, published on 20 Sep 2022. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2022-40261 and fix it if it is affected.\n\nWhat it is: CVE-2022-40261 is a high-severity memory corruption vulnerability in AMI Aptio, published on 20 Sep 2022. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-40261 exists.\n\nAffected product: AMI Aptio. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2022-40261/ (Markdown: https://insights.sbomify.com/CVE-2022-40261/index.md)","id":"CVE-2022-40261","markdown":"https://insights.sbomify.com/CVE-2022-40261/index.md","name":"CVE-2022-40261","record":{"aliases":["GHSA-gh9f-j6gv-mq7g"],"analysis":{"component_type":"hardware_firmware","fix_type":"patch","impacts":["code_execution","privilege_escalation"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"AMI Aptio BIOS","requires_auth":"high_privilege","summary":"Attackers can exploit memory corruption in the OverClockSmiHandler driver to execute arbitrary code in System Management Mode, bypassing security protections and installing persistent firmware backdoors.","user_interaction":"not_required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"certcc","cpe":[{"product":"aptio_v","vendor":"ami"},{"product":"nuc_m15_laptop_kit_lapbc510_firmware","vendor":"intel"},{"product":"nuc_m15_laptop_kit_lapbc710_firmware","vendor":"intel"}],"cvss":{"score":8.2,"severity":"high","source":"cisa-adp","vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-120","name":"Buffer Copy without Checking Size of Input"}],"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: OverClockSmiHandler SHA256: a204699576e1a48ce915d9d9423380c8e4c197003baf9d17e6504f0265f3039c Module GUID: 4698C2BD-A903-410E-AD1F-5EEF3A1AE422","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":null,"headline":"SMM memory corruption vulnerability in OverClockSmiHandler SMM driver","id":"CVE-2022-40261","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"memory_corruption","year":"2022"},"n_packages":0,"n_references":2,"next":{"headline":"The arbitrary write vulnerability in S3Resume2Pei leads to arbitrary code execution during PEI phase.","id":"CVE-2022-40262"},"packages":[],"prev":{"headline":"MegaRAC Default Credentials Vulnerability","id":"CVE-2022-40259"},"products":["Aptio"],"published":"2022-09-20","related":[{"cvss_score":8.8,"headline":"Stack overflow vulnerability in SMI handler on SmmSmbiosElog.","id":"CVE-2022-40250","kev_date_added":null,"published":"2022-09-20"},{"cvss_score":8.2,"headline":"Legacy Serial Redirection SMRAM Vulnerabilities","id":"CVE-2025-33045","kev_date_added":null,"published":"2025-09-09"},{"cvss_score":8.2,"headline":"Memory corruption in Aptio","id":"CVE-2022-26873","kev_date_added":null,"published":"2022-09-20"},{"cvss_score":8.2,"headline":"The arbitrary write vulnerability in S3Resume2Pei leads to arbitrary code execution during PEI phase.","id":"CVE-2022-40262","kev_date_added":null,"published":"2022-09-20"},{"cvss_score":7.8,"headline":"Memory Leak in SmmComuptrace Module","id":"CVE-2024-33656","kev_date_added":null,"published":"2024-08-21"},{"cvss_score":7.8,"headline":"Smm Callout in SmmComputrace Module","id":"CVE-2024-33657","kev_date_added":null,"published":"2024-08-21"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-05-28","vendors":["AMI"]},"summary":"Attackers can exploit memory corruption in the OverClockSmiHandler driver to execute arbitrary code in System Management Mode, bypassing security protections and installing persistent firmware backdoors.","url":"https://insights.sbomify.com/CVE-2022-40261/"}