6.4

CVE-2025-0677: grub2 Out-of-bounds Write

CVSS: 6.4v3.1MediumDeferred
AliasesUBUNTU-CVE-2025-0677DEBIAN-CVE-2025-0677
Published 19-02-2025Last modified 29-06-2026

Vulnerability summary

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

Overall risk
26/100
0100
Medium · default modelHow is this calculated?
CVSS score
6.4/10
010
Medium · v3.1 (CVE.org)
EPSS score
0.33%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 11 · Related 9

Timeline

  1. 19-02-2025
    PublishedVulnerability first disclosed.
  2. 29-06-2026
    Last modifiedVulnerability information updated.

Description

A flaw was found in grub2. When performing a symlink lookup, the grub's UFS module checks the inode's data size to allocate the internal buffer to read the file content, however, it fails to check if the symlink data size has overflown. When this occurs, grub_malloc() may be called with a smaller value than needed. When further reading the data from the disk into the buffer, the grub_ufs_lookup_symlink() function will write past the end of the allocated size. An attack can leverage this by crafting a malicious filesystem, and as a result, it will corrupt data stored in the heap, allowing for arbitrary code execution used to by-pass secure boot mechanisms.

CVSS metrics

4 scores · 4 sources · 1 version

EPSS trend

Probability

0.33%

Chance of exploitation in the next 30 days

Percentile

24%

Versus all other CVEs

30-day change

0.00 pp

From 0.33% on 18-09-2026

18-09-202618-10-2026
EPSS score
0.33%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

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

2 vendors · 4 products

References

9 links