{"vuln_id":"CVE-2025-0686","aliases":[],"description":"A flaw was found in grub2. When performing a symlink lookup from a romfs filesystem, grub's romfs filesystem 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 grub_romfs_read_symlink() may cause out-of-bounds writes when the calling grub_disk_read() function. This issue 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.930000Z","modified_at":"2026-11-24T07:17:17.593000Z","first_seen_at":"2026-11-24T08:34:54.106290Z","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.00325,"epss_percentile":0.25788,"nvd_status":"Modified","enriched_at":null,"links":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2025-0686"},"matched_alias":null,"items":[{"id":17761,"source":{"id":"nvd","name":"NVD CVE API 2.0"},"title":"CVE-2025-0686: A flaw was found in grub2. When performing a symlink lookup from a romfs filesystem, grub's romfs filesystem module uses user-controlled parameters from the fi…","summary":"A flaw was found in grub2. When performing a symlink lookup from a romfs filesystem, grub's romfs filesystem 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 grub_romfs_read_symlink() may cause out-of-bounds writes when the calling grub_disk_read() function. This issue 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-0686\nhttps://bugzilla.redhat.com/show_bug.cgi?id=2346121\nhttps://lists.gnu.org/archive/html/grub-devel/2025-02/msg00024.html","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-0686","published_at":"2025-03-03T18:15:30.930000Z","updated_at":"2026-11-24T07:17:17.593000Z","fetched_at":"2026-11-24T08:34:54.052314Z","severity":"medium","cvss_score":6.4,"epss":0.00325,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":null,"product":null,"vuln_id":"CVE-2025-0686","vuln_ids":["CVE-2025-0686"],"tags":["CWE-787"],"cluster_id":15678,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/17761","html":"https://vulnwatch.ve1ve2.com/item/17761"}}]}