{"vuln_id":"CVE-2025-0684","aliases":[],"description":"A flaw was found in grub2. When performing a symlink lookup from a reiserfs filesystem, grub's reiserfs fs module uses user-controlled parameters from the filesystem geometry to determine the internal buffer size, however, it improperly checks for integer overflows. A maliciouly 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 grub_reiserfs_read_symlink() will call grub_reiserfs_read_real() with a overflown length parameter, leading to a heap based out-of-bounds write during data reading. This flaw may be leveraged to corrupt grub's internal critical data and can result in arbitrary code execution, by-passing secure boot protections.","published_at":"2025-03-03T18:15:30.537000Z","modified_at":"2026-11-24T07:17:17.303000Z","first_seen_at":"2026-11-24T08:34:54.106287Z","severity":"medium","severity_source":"nvd","cvss_score":6.4,"cvss_vector":"CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H","cwe":["CWE-787"],"vendor":null,"product":null,"kev":{"is_kev":false,"date_added":null,"due_date":null,"ransomware":false},"epss":0.00286,"epss_percentile":0.21259,"nvd_status":"Modified","enriched_at":null,"links":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2025-0684"},"matched_alias":null,"items":[{"id":17759,"source":{"id":"nvd","name":"NVD CVE API 2.0"},"title":"CVE-2025-0684: A flaw was found in grub2. When performing a symlink lookup from a reiserfs filesystem, grub's reiserfs fs module uses user-controlled parameters from the file…","summary":"A flaw was found in grub2. When performing a symlink lookup from a reiserfs filesystem, grub's reiserfs fs module uses user-controlled parameters from the filesystem geometry to determine the internal buffer size, however, it improperly checks for integer overflows. A maliciouly 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 grub_reiserfs_read_symlink() will call grub_reiserfs_read_real() with a overflown length parameter, leading to a heap based out-of-bounds write during data reading. This flaw may be leveraged to corrupt grub's internal critical data and can result in arbitrary code execution, by-passing secure boot protections.\n\nReferences:\nhttps://access.redhat.com/security/cve/CVE-2025-0684\nhttps://bugzilla.redhat.com/show_bug.cgi?id=2346119\nhttps://lists.gnu.org/archive/html/grub-devel/2025-02/msg00024.html","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-0684","published_at":"2025-03-03T18:15:30.537000Z","updated_at":"2026-11-24T07:17:17.303000Z","fetched_at":"2026-11-24T08:34:54.052312Z","severity":"medium","cvss_score":6.4,"epss":0.00286,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":null,"product":null,"vuln_id":"CVE-2025-0684","vuln_ids":["CVE-2025-0684"],"tags":["CWE-787"],"cluster_id":15676,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/17759","html":"https://vulnwatch.ve1ve2.com/item/17759"}}]}