{"answers":{"affected":"It affects 3 products.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-40250 exists.","fix":"No fix has been published for CVE-2022-40250 yet. Limit exposure of the affected software until one is available.","what":"CVE-2022-40250 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-40250 and fix it if it is affected.\n\nWhat it is: CVE-2022-40250 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-40250 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-40250/ (Markdown: https://insights.sbomify.com/CVE-2022-40250/index.md)","id":"CVE-2022-40250","markdown":"https://insights.sbomify.com/CVE-2022-40250/index.md","name":"CVE-2022-40250","record":{"aliases":["GHSA-27wf-832r-r7vc"],"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 firmware","requires_auth":"low_privilege","summary":"Attackers can exploit a stack overflow in SMM to execute arbitrary code, bypass Secure Boot, and install persistent BIOS 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.8,"severity":"high","source":"cisa-adp","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-787","name":"Out-of-bounds Write"},{"id":"CWE-121","name":"Stack-based Buffer Overflow"}],"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: SmmSmbiosElog SHA256: 3a8acb4f9bddccb19ec3b22b22ad97963711550f76b27b606461cd5073a93b59 Module GUID: 8e61fd6b-7a8b-404f-b83f-aa90a47cabdf This issue affects: AMI Aptio 5.x. This issue affects: AMI Aptio 5.x.","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":"Stack overflow vulnerability in SMI handler on SmmSmbiosElog.","id":"CVE-2022-40250","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"memory_corruption","year":"2022"},"n_packages":0,"n_references":3,"next":{"headline":"An HTML injection vulnerability exists in CERT/CC VINCE software prior to version 1.50.4","id":"CVE-2022-40257"},"packages":[],"prev":{"headline":"An HTML injection vulnerability exists in CERT/CC VINCE software prior to version 1.50.4","id":"CVE-2022-40248"},"products":["Aptio"],"published":"2022-09-20","related":[{"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":"SMM memory corruption vulnerability in OverClockSmiHandler SMM driver","id":"CVE-2022-40261","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 a stack overflow in SMM to execute arbitrary code, bypass Secure Boot, and install persistent BIOS backdoors.","url":"https://insights.sbomify.com/CVE-2022-40250/"}