CVE-2025-0685: A flaw was found in grub2
CVE-2025-0685 is a medium-severity flaw (CVSS 6.4) affecting grub2. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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_jf
Why this priority
- No elevated risk signals yet
A fixed release or distro patch exists.
Risk facts
| CVSS score | 6.4 (Medium) |
| Attack vector | Local |
| Attack complexity | High |
| Privileges needed | High |
| User interaction | None |
| EPSS exploit chance | 0.3% (top 79%) |
| CISA exploited list | No |
| Weakness | CWE-787 |
| Published | 2025-03-03 |
| Last modified | 2026-10-21 |
Last updated 2026-10-21 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2025-0685?
grub2: upgrade to newer than 2.12. Exact commands for each OS are on this page.
Is CVE-2025-0685 being exploited?
CVE-2025-0685 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2025-0685 affect?
CVE-2025-0685 affects grub2. Severity is medium (CVSS 6.4). 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 o
How urgent is CVE-2025-0685?
Priority 28/100. No elevated risk signals yet.
Related CVEs
- CVE-2023-4693 MEDIUM 5.3 UPGRADE MITIGATE An out-of-bounds read flaw was found on grub2's NTFS filesystem driver
- CVE-2025-1125 HIGH 7.8 UPGRADE When reading data from a hfs filesystem, grub's hfs filesystem module uses user-controlled parameters from the
- CVE-2025-0689 HIGH 7.8 UPGRADE When reading data from disk, the grub's UDF filesystem module utilizes the user controlled data length metadat
- CVE-2025-0686 MEDIUM 6.4 UPGRADE A flaw was found in grub2
- CVE-2025-0684 MEDIUM 6.4 UPGRADE A flaw was found in grub2