{"answers":{"affected":"","exploited":"There is no known exploitation of CVE-2025-0624 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2025-0624 is a high-severity memory corruption vulnerability in Red Hat Enterprise Linux 10, published on 19 Feb 2025. 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-2025-0624 and fix it if it is affected.\n\nWhat it is: CVE-2025-0624 is a high-severity memory corruption vulnerability in Red Hat Enterprise Linux 10, published on 19 Feb 2025. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2025-0624 in the wild and no public exploit code.\n\nAffected product: Red Hat Enterprise Linux 10. 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-2025-0624/ (Markdown: https://insights.sbomify.com/CVE-2025-0624/index.md)","id":"CVE-2025-0624","markdown":"https://insights.sbomify.com/CVE-2025-0624/index.md","name":"CVE-2025-0624","record":{"aliases":["ALSA-2025:2867","ALSA-2025:3367","AZL-56997","AZL-57049","BELL-CVE-2025-0624","CLSA-2025-1756231459","DEBIAN-CVE-2025-0624","GHSA-q3rr-g46f-jgqr","RHSA-2025:2521","RHSA-2025:2653","RHSA-2025:2655","RHSA-2025:2675","RHSA-2025:2784","RHSA-2025:2799","RHSA-2025:2867","RHSA-2025:2869","RHSA-2025:3367","RHSA-2025:3396","RLSA-2025:2867","RLSA-2025:3367","UBUNTU-CVE-2025-0624"],"analysis":{"component_type":"operating_system","fix_type":"patch","impacts":["code_execution","security_bypass"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"GRUB2 bootloader","requires_auth":"high_privilege","summary":"An out-of-bounds write in GRUB2 during network boot allows remote code execution and secure boot bypass via crafted environment variables.","user_interaction":"not_required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[],"cvss":{"score":7.6,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:A/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-787","name":"Out-of-bounds Write"}],"description":"A flaw was found in grub2. During the network boot process, when trying to search for the configuration file, grub copies data from a user controlled environment variable into an internal buffer using the grub_strcpy() function. During this step, it fails to consider the environment variable length when allocating the internal buffer, resulting in an out-of-bounds write. If correctly exploited, this issue may result in remote code execution through the same network segment grub is searching for the boot information, which can be used to by-pass secure boot protections.","ecosystems":["AlmaLinux:8","AlmaLinux:9","Red Hat:enterprise_linux:8::baseos","Red Hat:enterprise_linux:9::baseos","Red Hat:rhel_aus:8.2::baseos","Red Hat:rhel_aus:8.4::baseos","Red Hat:rhel_aus:8.6::baseos","Red Hat:rhel_e4s:8.4::baseos","Red Hat:rhel_e4s:8.6::baseos","Red Hat:rhel_e4s:9.0::baseos","Red Hat:rhel_els:7","Red Hat:rhel_eus:8.8::baseos","Red Hat:rhel_eus:9.2::baseos","Red Hat:rhel_eus:9.4::baseos","Red Hat:rhel_tus:8.4::baseos","Red Hat:rhel_tus:8.6::baseos","Rocky Linux:8","Rocky Linux:9"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Grub2: net: out-of-bounds write in grub_net_search_config_file()","id":"CVE-2025-0624","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"memory_corruption","year":"2025"},"n_packages":354,"n_references":19,"next":{"headline":"CampCodes School Management Software Attachment resource injection","id":"CVE-2025-0625"},"packages":[{"ecosystem":"AlmaLinux:8","fixed":["1:2.02-162.el8_10.alma.1"],"introduced":["0"],"last_affected":[],"package":"grub2-common","purl":"pkg:rpm/almalinux/grub2-common","source":"ALSA-2025:3367"},{"ecosystem":"AlmaLinux:8","fixed":["1:2.02-162.el8_10.alma.1"],"introduced":["0"],"last_affected":[],"package":"grub2-efi-aa64","purl":"pkg:rpm/almalinux/grub2-efi-aa64","source":"ALSA-2025:3367"},{"ecosystem":"AlmaLinux:8","fixed":["1:2.02-162.el8_10.alma.1"],"introduced":["0"],"last_affected":[],"package":"grub2-efi-aa64-cdboot","purl":"pkg:rpm/almalinux/grub2-efi-aa64-cdboot","source":"ALSA-2025:3367"},{"ecosystem":"AlmaLinux:8","fixed":["1:2.02-162.el8_10.alma.1"],"introduced":["0"],"last_affected":[],"package":"grub2-efi-aa64-modules","purl":"pkg:rpm/almalinux/grub2-efi-aa64-modules","source":"ALSA-2025:3367"},{"ecosystem":"AlmaLinux:8","fixed":["1:2.02-162.el8_10.alma.1"],"introduced":["0"],"last_affected":[],"package":"grub2-efi-ia32","purl":"pkg:rpm/almalinux/grub2-efi-ia32","source":"ALSA-2025:3367"},{"ecosystem":"AlmaLinux:8","fixed":["1:2.02-162.el8_10.alma.1"],"introduced":["0"],"last_affected":[],"package":"grub2-efi-ia32-cdboot","purl":"pkg:rpm/almalinux/grub2-efi-ia32-cdboot","source":"ALSA-2025:3367"},{"ecosystem":"AlmaLinux:8","fixed":["1:2.02-162.el8_10.alma.1"],"introduced":["0"],"last_affected":[],"package":"grub2-efi-ia32-modules","purl":"pkg:rpm/almalinux/grub2-efi-ia32-modules","source":"ALSA-2025:3367"},{"ecosystem":"AlmaLinux:8","fixed":["1:2.02-162.el8_10.alma.1"],"introduced":["0"],"last_affected":[],"package":"grub2-efi-x64","purl":"pkg:rpm/almalinux/grub2-efi-x64","source":"ALSA-2025:3367"},{"ecosystem":"AlmaLinux:8","fixed":["1:2.02-162.el8_10.alma.1"],"introduced":["0"],"last_affected":[],"package":"grub2-efi-x64-cdboot","purl":"pkg:rpm/almalinux/grub2-efi-x64-cdboot","source":"ALSA-2025:3367"},{"ecosystem":"AlmaLinux:8","fixed":["1:2.02-162.el8_10.alma.1"],"introduced":["0"],"last_affected":[],"package":"grub2-efi-x64-modules","purl":"pkg:rpm/almalinux/grub2-efi-x64-modules","source":"ALSA-2025:3367"},{"ecosystem":"AlmaLinux:8","fixed":["1:2.02-162.el8_10.alma.1"],"introduced":["0"],"last_affected":[],"package":"grub2-pc","purl":"pkg:rpm/almalinux/grub2-pc","source":"ALSA-2025:3367"},{"ecosystem":"AlmaLinux:8","fixed":["1:2.02-162.el8_10.alma.1"],"introduced":["0"],"last_affected":[],"package":"grub2-pc-modules","purl":"pkg:rpm/almalinux/grub2-pc-modules","source":"ALSA-2025:3367"},{"ecosystem":"AlmaLinux:8","fixed":["1:2.02-162.el8_10.alma.1"],"introduced":["0"],"last_affected":[],"package":"grub2-ppc64le","purl":"pkg:rpm/almalinux/grub2-ppc64le","source":"ALSA-2025:3367"},{"ecosystem":"AlmaLinux:8","fixed":["1:2.02-162.el8_10.alma.1"],"introduced":["0"],"last_affected":[],"package":"grub2-ppc64le-modules","purl":"pkg:rpm/almalinux/grub2-ppc64le-modules","source":"ALSA-2025:3367"},{"ecosystem":"AlmaLinux:8","fixed":["1:2.02-162.el8_10.alma.1"],"introduced":["0"],"last_affected":[],"package":"grub2-tools","purl":"pkg:rpm/almalinux/grub2-tools","source":"ALSA-2025:3367"},{"ecosystem":"AlmaLinux:8","fixed":["1:2.02-162.el8_10.alma.1"],"introduced":["0"],"last_affected":[],"package":"grub2-tools-efi","purl":"pkg:rpm/almalinux/grub2-tools-efi","source":"ALSA-2025:3367"},{"ecosystem":"AlmaLinux:8","fixed":["1:2.02-162.el8_10.alma.1"],"introduced":["0"],"last_affected":[],"package":"grub2-tools-extra","purl":"pkg:rpm/almalinux/grub2-tools-extra","source":"ALSA-2025:3367"},{"ecosystem":"AlmaLinux:8","fixed":["1:2.02-162.el8_10.alma.1"],"introduced":["0"],"last_affected":[],"package":"grub2-tools-minimal","purl":"pkg:rpm/almalinux/grub2-tools-minimal","source":"ALSA-2025:3367"},{"ecosystem":"AlmaLinux:9","fixed":["1:2.06-94.el9_5.alma.1"],"introduced":["0"],"last_affected":[],"package":"grub2-common","purl":"pkg:rpm/almalinux/grub2-common","source":"ALSA-2025:2867"},{"ecosystem":"AlmaLinux:9","fixed":["1:2.06-94.el9_5.alma.1"],"introduced":["0"],"last_affected":[],"package":"grub2-efi-aa64","purl":"pkg:rpm/almalinux/grub2-efi-aa64","source":"ALSA-2025:2867"},{"ecosystem":"AlmaLinux:9","fixed":["1:2.06-94.el9_5.alma.1"],"introduced":["0"],"last_affected":[],"package":"grub2-efi-aa64-cdboot","purl":"pkg:rpm/almalinux/grub2-efi-aa64-cdboot","source":"ALSA-2025:2867"},{"ecosystem":"AlmaLinux:9","fixed":["1:2.06-94.el9_5.alma.1"],"introduced":["0"],"last_affected":[],"package":"grub2-efi-aa64-modules","purl":"pkg:rpm/almalinux/grub2-efi-aa64-modules","source":"ALSA-2025:2867"},{"ecosystem":"AlmaLinux:9","fixed":["1:2.06-94.el9_5.alma.1"],"introduced":["0"],"last_affected":[],"package":"grub2-efi-x64","purl":"pkg:rpm/almalinux/grub2-efi-x64","source":"ALSA-2025:2867"},{"ecosystem":"AlmaLinux:9","fixed":["1:2.06-94.el9_5.alma.1"],"introduced":["0"],"last_affected":[],"package":"grub2-efi-x64-cdboot","purl":"pkg:rpm/almalinux/grub2-efi-x64-cdboot","source":"ALSA-2025:2867"},{"ecosystem":"AlmaLinux:9","fixed":["1:2.06-94.el9_5.alma.1"],"introduced":["0"],"last_affected":[],"package":"grub2-efi-x64-modules","purl":"pkg:rpm/almalinux/grub2-efi-x64-modules","source":"ALSA-2025:2867"},{"ecosystem":"AlmaLinux:9","fixed":["1:2.06-94.el9_5.alma.1"],"introduced":["0"],"last_affected":[],"package":"grub2-pc","purl":"pkg:rpm/almalinux/grub2-pc","source":"ALSA-2025:2867"},{"ecosystem":"AlmaLinux:9","fixed":["1:2.06-94.el9_5.alma.1"],"introduced":["0"],"last_affected":[],"package":"grub2-pc-modules","purl":"pkg:rpm/almalinux/grub2-pc-modules","source":"ALSA-2025:2867"},{"ecosystem":"AlmaLinux:9","fixed":["1:2.06-94.el9_5.alma.1"],"introduced":["0"],"last_affected":[],"package":"grub2-ppc64le","purl":"pkg:rpm/almalinux/grub2-ppc64le","source":"ALSA-2025:2867"},{"ecosystem":"AlmaLinux:9","fixed":["1:2.06-94.el9_5.alma.1"],"introduced":["0"],"last_affected":[],"package":"grub2-ppc64le-modules","purl":"pkg:rpm/almalinux/grub2-ppc64le-modules","source":"ALSA-2025:2867"},{"ecosystem":"AlmaLinux:9","fixed":["1:2.06-94.el9_5.alma.1"],"introduced":["0"],"last_affected":[],"package":"grub2-tools","purl":"pkg:rpm/almalinux/grub2-tools","source":"ALSA-2025:2867"},{"ecosystem":"AlmaLinux:9","fixed":["1:2.06-94.el9_5.alma.1"],"introduced":["0"],"last_affected":[],"package":"grub2-tools-efi","purl":"pkg:rpm/almalinux/grub2-tools-efi","source":"ALSA-2025:2867"},{"ecosystem":"AlmaLinux:9","fixed":["1:2.06-94.el9_5.alma.1"],"introduced":["0"],"last_affected":[],"package":"grub2-tools-extra","purl":"pkg:rpm/almalinux/grub2-tools-extra","source":"ALSA-2025:2867"},{"ecosystem":"AlmaLinux:9","fixed":["1:2.06-94.el9_5.alma.1"],"introduced":["0"],"last_affected":[],"package":"grub2-tools-minimal","purl":"pkg:rpm/almalinux/grub2-tools-minimal","source":"ALSA-2025:2867"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["1:2.02-162.el8_10"],"introduced":["0"],"last_affected":[],"package":"grub2","purl":"pkg:rpm/redhat/grub2","source":"RHSA-2025:3367"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["1:2.02-162.el8_10"],"introduced":["0"],"last_affected":[],"package":"grub2-common","purl":"pkg:rpm/redhat/grub2-common","source":"RHSA-2025:3367"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["1:2.02-162.el8_10"],"introduced":["0"],"last_affected":[],"package":"grub2-debuginfo","purl":"pkg:rpm/redhat/grub2-debuginfo","source":"RHSA-2025:3367"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["1:2.02-162.el8_10"],"introduced":["0"],"last_affected":[],"package":"grub2-debugsource","purl":"pkg:rpm/redhat/grub2-debugsource","source":"RHSA-2025:3367"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["1:2.02-162.el8_10"],"introduced":["0"],"last_affected":[],"package":"grub2-efi-aa64","purl":"pkg:rpm/redhat/grub2-efi-aa64","source":"RHSA-2025:3367"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["1:2.02-162.el8_10"],"introduced":["0"],"last_affected":[],"package":"grub2-efi-aa64-cdboot","purl":"pkg:rpm/redhat/grub2-efi-aa64-cdboot","source":"RHSA-2025:3367"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["1:2.02-162.el8_10"],"introduced":["0"],"last_affected":[],"package":"grub2-efi-aa64-modules","purl":"pkg:rpm/redhat/grub2-efi-aa64-modules","source":"RHSA-2025:3367"}],"prev":{"headline":"This CVE ID has been rejected or withdrawn by its CVE Numbering Authority.","id":"CVE-2025-0623"},"products":["Red Hat Enterprise Linux 10","Red Hat Enterprise Linux 7 Extended Lifecycle Support","Red Hat Enterprise Linux 8","Red Hat Enterprise Linux 8.2 Advanced Update Support","Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support","Red Hat Enterprise Linux 8.4 Telecommunications Update Service","Red Hat Enterprise Linux 8.4 Update Services for SAP Solutions","Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support","Red Hat Enterprise Linux 8.6 Telecommunications Update Service","Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions","Red Hat Enterprise Linux 8.8 Extended Update Support","Red Hat Enterprise Linux 9","Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions","Red Hat Enterprise Linux 9.2 Extended Update Support","Red Hat Enterprise Linux 9.4 Extended Update Support","Red Hat OpenShift Container Platform 4.12","Red Hat OpenShift Container Platform 4.13","Red Hat OpenShift Container Platform 4.14","Red Hat OpenShift Container Platform 4.15","Red Hat OpenShift Container Platform 4.16","Red Hat OpenShift Container Platform 4.17","Red Hat OpenShift Container Platform 4.18"],"published":"2025-02-19","related":[],"sources":[{"class":"attribution","licence":"MIT","name":"AlmaLinux","prefix":"ALSA"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-10-13","vendors":["Red Hat"]},"summary":"An out-of-bounds write in GRUB2 during network boot allows remote code execution and secure boot bypass via crafted environment variables.","url":"https://insights.sbomify.com/CVE-2025-0624/"}