{"schemaVersion":3,"id":"CVE-2025-0684","aliases":["UBUNTU-CVE-2025-0684","DEBIAN-CVE-2025-0684"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2025-03-03T17:14:07.911Z","modified":"2026-06-29T23:24:51.364Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":6.4,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","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","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","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","exploitability":1.3,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","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","exploitability":1.3,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","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","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00276,"percentile":0.18719,"severity":"low","asOf":"2026-10-18T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-18T00:00:00.000Z","baselineScore":0.00276},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00276,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00276,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00276,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00276,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00276,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00276,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00276,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00276,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00276,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00276,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00276,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00276,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00276,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00276,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00276,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00276,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00276,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00276,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00276,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00276,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00276,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00276,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00276,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00276,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00276,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00276,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00276,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00276,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00276,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00276,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00276,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00276,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00276,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00276,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00276,"percentile":0.18719}],"last30":[{"date":"2026-09-18T00:00:00.000Z","score":0.00276,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00276,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00276,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00276,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00276,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00276,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00276,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00276,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00276,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00276,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00276,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00276,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00276,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00276,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00276,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00276,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00276,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00276,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00276,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00276,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00276,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00276,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00276,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00276,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00276,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00276,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00276,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00276,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00276,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00276,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00276,"percentile":0.18719}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-787","name":"Out-of-bounds Write","description":"The product writes data past the end, or before the beginning, of the intended buffer.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/787.html"}],"affected":[{"vendor":"debian","product":"grub2","name":"grub2","label":"grub2","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/grub2","purlType":"deb","versions":[{"text":"< 2.06-13+deb12u2","noFixRecorded":false,"fixedIn":null},{"text":"< 2.12-6","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.06-13+deb12u2 | < 2.12-6","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"grub2","name":"grub2","label":"grub2","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/grub2","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"grub2-signed","name":"grub2-signed","label":"grub2-signed","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/grub2-signed","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"grub2-unsigned","name":"grub2-unsigned","label":"grub2-unsigned","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/grub2-unsigned","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"gnu","product":"grub2","name":"grub2","label":"grub2","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 2.12","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 2.12","eol":null,"hubHref":"/vendor/gnu/grub2"}],"affectedCount":5,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://access.redhat.com/security/cve/CVE-2025-0684","label":"access.redhat.com/security/cve/CVE-2025-0684","hostname":"access.redhat.com","tags":["VDB Entry","X Refsource REDHAT","Third Party Advisory"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2346119","label":"bugzilla.redhat.com/show_bug.cgi?id=2346119","hostname":"bugzilla.redhat.com","tags":["Issue Tracking","X Refsource REDHAT"]},{"url":"https://lists.gnu.org/archive/html/grub-devel/2025-02/msg00024.html","label":"lists.gnu.org/archive/html/grub-devel/2025-02/msg00024.html","hostname":"lists.gnu.org","tags":[]},{"url":"https://ubuntu.com/security/CVE-2025-0684","label":"ubuntu.com/security/CVE-2025-0684","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2025-0684","label":"www.cve.org/CVERecord?id=CVE-2025-0684","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2025-0684","label":"security-tracker.debian.org/tracker/CVE-2025-0684","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-0684","label":"nvd.nist.gov/vuln/detail/CVE-2025-0684","hostname":"nvd.nist.gov","tags":["Oval","Advisory"]}],"lineage":{"upstream":[],"downstream":["OPENSUSE-SU-2025:14822-1","SUSE-SU-2025:01961-1","SUSE-SU-2025:0586-1","SUSE-SU-2025:0587-1","SUSE-SU-2025:0588-1","SUSE-SU-2025:0607-1","SUSE-SU-2025:0629-1","SUSE-SU-2025:20511-1","SUSE-SU-2025:20863-1"],"duplicates":[],"related":["OPENSUSE-SU-2025:14822-1","SUSE-SU-2025:01961-1","SUSE-SU-2025:0586-1","SUSE-SU-2025:0587-1","SUSE-SU-2025:0588-1","SUSE-SU-2025:0607-1","SUSE-SU-2025:0629-1","SUSE-SU-2025:20511-1","SUSE-SU-2025:20863-1"]},"timeline":[{"kind":"published","date":"2025-03-03T17:14:07.911Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-06-29T23:24:51.364Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":26,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T06:20:07.750Z","stale":false,"partial":false}}