{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2025-0685","published":"2025-03-03T18:15:30.733000Z","last_modified":"2026-11-24T07:17:17.440000Z","status":"Modified","cvss":{"version":"3.1","score":6.4,"severity":"MEDIUM","vector":"CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H","source":"nvd@nist.gov","primary":true},"auth":true,"cwes":["CWE-787"],"cpes":[{"criteria":"cpe:2.3:a:gnu:grub2:*:*:*:*:*:*:*:*","part":"a","vendor":"gnu","product":"grub2","version_end_including":"2.12"}],"cpes_truncated":false,"vendors":["gnu"],"products":["gnu/grub2"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"total"},"epss":{"score":0.00315,"percentile":0.16888,"date":"2026-11-30","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"medium","priority_score":38,"links":{"html_es":"/es/cve/CVE-2025-0685/","html_en":"/en/cve/CVE-2025-0685/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2025-0685","cve_org":"https://www.cve.org/CVERecord?id=CVE-2025-0685"},"untrusted":{"vendor_name":"Gnu","product_name":"Grub2","desc_en":"A flaw was found in grub2. When reading data from a jfs filesystem, grub's jfs filesystem 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_jfs_lookup_symlink() function will write past the internal buffer length during grub_jfs_read_file(). This issue can be leveraged to corrupt grub's internal critical data and may result in arbitrary code execution, by-passing secure boot protections.","affected":[{"untrusted_vendor":"Red Hat","untrusted_product":"Red Hat Enterprise Linux 10","versions":[]},{"untrusted_vendor":"Red Hat","untrusted_product":"Red Hat Enterprise Linux 7","versions":[]},{"untrusted_vendor":"Red Hat","untrusted_product":"Red Hat Enterprise Linux 8","versions":[]},{"untrusted_vendor":"Red Hat","untrusted_product":"Red Hat Enterprise Linux 9","versions":[]},{"untrusted_vendor":"Red Hat","untrusted_product":"Red Hat OpenShift Container Platform 4","versions":[]}],"references":[{"url":"https://access.redhat.com/security/cve/CVE-2025-0685","tags":["Vendor Advisory"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2346120","tags":["Issue Tracking"]},{"url":"https://lists.gnu.org/archive/html/grub-devel/2025-02/msg00024.html","tags":[]}]}}