CVE-2025-0677 | Grub2: ufs: integer overflow may lead to heap based out-of-bounds write when handling symlinks

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.

Published: 2025-02-19 Last update: 2026-04-15 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2025-0677 is rated Low Risk (33.4/100): CVSS Medium severity, with low exploitation likelihood (EPSS 0.30%). Mandatory action: Monitor for updates and reassess as exploit intelligence or EPSS changes.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Exploit prediction scoring system (EPSS) score for CVE-2025-0677

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-06-15 0.03% 0.30% +0.27%
2 2026-03-30 0.06% 0.03% -0.03%
3 2025-09-18 0.06%

Full EPSS history (6 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2025-0677

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
6.4 3.1 MEDIUM
CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H Click to expand
Attack vector (AV:L)
They already need access on the box, or another person has to do something wrong; it’s not a remote drive-by.
Attack complexity (AC:H)
Even with access, the exploit needs extra luck, timing, or a fussy environment to actually work.
Privileges required (PR:H)
They need powerful rights—admin, root, or similar—before this pays off.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:H)
Serious risk that confidential data gets exposed in a big way.
Integrity (I:H)
They could widely tamper with or forge data—trust in the data is badly hurt.
Availability (A:H)
Could take the service down hard or make it unusable for people who depend on it.
0.5 5.9 [email protected]

Weakness enumeration for CVE-2025-0677

OS Trackers for CVE-2025-0677

vendor priority summary link
debian not yet assigned CVE-2025-0677 not yet assigned priority: Debian including 1 source packages (grub2), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 4, open 1. https://security-tracker.debian.org/tracker/CVE-2025-0677
redhat medium https://access.redhat.com/security/cve/CVE-2025-0677
suse medium CVE-2025-0677 severity moderate: SUSE including 386 source package names (2.0.4-5.8.146:grub2-2.06-150500.29.43.2, 2.0.4-5.8.146:grub2-i386-pc-2.06-150500.29.43.2, …), 1417 product×package rows across 292 product lines (Container suse/manager/5.0/x86_64/server, Container suse/sl-micro/6.0/base-os-container, … (292 product lines)): Fixed 1196, Known Affected 221. https://www.suse.com/security/cve/CVE-2025-0677/
ubuntu medium CVE-2025-0677 medium priority: Ubuntu including 3 source packages (grub2, grub2-signed, grub2-unsigned), 29 status rows across 10 suites (bionic, focal, jammy, noble, oracular, plucky, questing, trusty, upstream, xenial): needs-triage 15, not-affected 8, ignored 6. https://ubuntu.com/security/CVE-2025-0677

Affected software / configurations for CVE-2025-0677

Vendor Product Version Raw CPE
No affected products in dataset.

References for CVE-2025-0677

cvelogic Threat Intelligence