{"vuln_id":"CVE-2025-0678","aliases":[],"description":"A flaw was found in grub2. When reading data from a squash4 filesystem, grub's squash4 fs module uses user-controlled parameters from the filesystem geometry to determine the internal buffer size, however, it improperly checks for integer overflows. A maliciously crafted filesystem may lead some of those buffer size calculations to overflow, causing it to perform a grub_malloc() operation with a smaller size than expected. As a result, the direct_read() will perform a heap based out-of-bounds write during data reading. This flaw may be leveraged to corrupt grub's internal critical data and may result in arbitrary code execution, by-passing secure boot protections.","published_at":"2025-03-03T17:15:14.053000Z","modified_at":"2026-11-24T07:17:17.043000Z","first_seen_at":"2026-11-24T08:34:54.106285Z","severity":"high","severity_source":"nvd","cvss_score":7.8,"cvss_vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","cwe":["CWE-190"],"vendor":null,"product":null,"kev":{"is_kev":false,"date_added":null,"due_date":null,"ransomware":false},"epss":0.00332,"epss_percentile":0.26712,"nvd_status":"Modified","enriched_at":null,"links":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2025-0678"},"matched_alias":null,"items":[{"id":17758,"source":{"id":"nvd","name":"NVD CVE API 2.0"},"title":"CVE-2025-0678: A flaw was found in grub2. When reading data from a squash4 filesystem, grub's squash4 fs module uses user-controlled parameters from the filesystem geometry t…","summary":"A flaw was found in grub2. When reading data from a squash4 filesystem, grub's squash4 fs module uses user-controlled parameters from the filesystem geometry to determine the internal buffer size, however, it improperly checks for integer overflows. A maliciously crafted filesystem may lead some of those buffer size calculations to overflow, causing it to perform a grub_malloc() operation with a smaller size than expected. As a result, the direct_read() will perform a heap based out-of-bounds write during data reading. This flaw may be leveraged to corrupt grub's internal critical data and may result in arbitrary code execution, by-passing secure boot protections.\n\nReferences:\nhttps://access.redhat.com/security/cve/CVE-2025-0678\nhttps://bugzilla.redhat.com/show_bug.cgi?id=2346118\nhttps://lists.gnu.org/archive/html/grub-devel/2025-02/msg00024.html","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-0678","published_at":"2025-03-03T17:15:14.053000Z","updated_at":"2026-11-24T07:17:17.043000Z","fetched_at":"2026-11-24T08:34:54.052311Z","severity":"high","cvss_score":7.8,"epss":0.00332,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":null,"product":null,"vuln_id":"CVE-2025-0678","vuln_ids":["CVE-2025-0678"],"tags":["CWE-190"],"cluster_id":15675,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/17758","html":"https://vulnwatch.ve1ve2.com/item/17758"}}]}