6.4

CVE-2025-0685: Grub2: jfs: integer overflow when handling symlinks may lead to heap based out-of-bounds write when reading data

Modified
AliasesUBUNTU-CVE-2025-0685DEBIAN-CVE-2025-0685
Published 03-03-2025Last modified 24-11-2026

Vulnerability summary

CVE-2025-0685 is a medium (CVSS 6.4) Out-of-bounds Write vulnerability in gnu grub2. EPSS estimates a 0.33% chance of exploitation in the next 30 days, higher than 27.5% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 6.4, local access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
6.4/10
010
Medium · v3.1 (CVE.org)
EPSS score
0.33%
0%100%
Low · +0.04 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 10 · Related 9

Timeline

  1. 03-03-2025
    PublishedVulnerability first disclosed.
  2. 24-11-2026
    Last modifiedVulnerability information updated.

Description

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.

CVSS metrics

4 scores · 4 sources · 1 version

EPSS trend

Probability

0.33%

Chance of exploitation in the next 30 days

Percentile

28%

Versus all other CVEs

30-day change

Increase +0.04 pp

From 0.29% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: local access, administrative account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Ubuntu3 products
  • grub2All versions (No fix recorded)
  • grub2-signedAll versions (No fix recorded)
  • grub2-unsignedAll versions (No fix recorded)
Debian1 product
  • grub2< 2.06-13+deb12u2 | < 2.12-6
Gnu1 product

3 vendors · 5 products

References

7 links