CVE & CISA-KEV Catalog

CVE-2025-0677

MEDIUM
6.4
CVSS v3
NVD

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.

How to fix

Remediation Available
grub2Debian
Fixed in:2.06-13+deb12u2CVE-2025-0677
Fixed in:2.12-6CVE-2025-0677
Fixed in:2.12-6CVE-2025-0677
grub2Rocky
Fixed in:1:2.12-15.el10_0RHSA-2025:16154
Fixed in:1:2.06-104.el9_6RHSA-2025:6990
grub2Red Hat / RHEL
Fixed in:1:2.12-15.el10_0RHSA-2025:16154
Fixed in:1:2.06-104.el9_6RHSA-2025:6990
grub2-commonRocky
Fixed in:1:2.12-15.el10_0RHSA-2025:16154
Fixed in:1:2.06-104.el9_6RHSA-2025:6990
grub2-commonRed Hat / RHEL
Fixed in:1:2.12-15.el10_0RHSA-2025:16154
Fixed in:1:2.06-104.el9_6RHSA-2025:6990
grub2-debuginfoRed Hat / RHEL
Fixed in:1:2.12-15.el10_0RHSA-2025:16154
Fixed in:1:2.12-15.el10_0RHSA-2025:16154
Fixed in:1:2.12-15.el10_0RHSA-2025:16154
Fixed in:1:2.06-104.el9_6RHSA-2025:6990
Fixed in:1:2.06-104.el9_6RHSA-2025:6990
Fixed in:1:2.06-104.el9_6RHSA-2025:6990
grub2-debuginfoRocky
Fixed in:1:2.12-15.el10_0RHSA-2025:16154
Fixed in:1:2.12-15.el10_0RHSA-2025:16154
Fixed in:1:2.12-15.el10_0RHSA-2025:16154
Fixed in:1:2.06-104.el9_6RHSA-2025:6990
Fixed in:1:2.06-104.el9_6RHSA-2025:6990
Fixed in:1:2.06-104.el9_6RHSA-2025:6990
grub2-debugsourceRocky
Fixed in:1:2.12-15.el10_0RHSA-2025:16154
Fixed in:1:2.12-15.el10_0RHSA-2025:16154
Fixed in:1:2.12-15.el10_0RHSA-2025:16154
Fixed in:1:2.06-104.el9_6RHSA-2025:6990
Fixed in:1:2.06-104.el9_6RHSA-2025:6990
Fixed in:1:2.06-104.el9_6RHSA-2025:6990
grub2-debugsourceRed Hat / RHEL
Fixed in:1:2.12-15.el10_0RHSA-2025:16154
Fixed in:1:2.12-15.el10_0RHSA-2025:16154
Fixed in:1:2.12-15.el10_0RHSA-2025:16154
Fixed in:1:2.06-104.el9_6RHSA-2025:6990
Fixed in:1:2.06-104.el9_6RHSA-2025:6990
Fixed in:1:2.06-104.el9_6RHSA-2025:6990
grub2-efi-aa64Red Hat / RHEL
Fixed in:1:2.12-15.el10_0RHSA-2025:16154
Fixed in:1:2.06-104.el9_6RHSA-2025:6990
grub2-efi-aa64Rocky
Fixed in:1:2.12-15.el10_0RHSA-2025:16154
Fixed in:1:2.06-104.el9_6RHSA-2025:6990
grub2-efi-aa64-cdbootRed Hat / RHEL
Fixed in:1:2.12-15.el10_0RHSA-2025:16154
Fixed in:1:2.06-104.el9_6RHSA-2025:6990
grub2-efi-aa64-cdbootRocky
Fixed in:1:2.12-15.el10_0RHSA-2025:16154
Fixed in:1:2.06-104.el9_6RHSA-2025:6990
grub2-efi-aa64-modulesRocky
Fixed in:1:2.12-15.el10_0RHSA-2025:16154
Fixed in:1:2.06-104.el9_6RHSA-2025:6990
grub2-efi-aa64-modulesRed Hat / RHEL
Fixed in:1:2.12-15.el10_0RHSA-2025:16154
Fixed in:1:2.06-104.el9_6RHSA-2025:6990
grub2-efi-x64Rocky
Fixed in:1:2.12-15.el10_0RHSA-2025:16154
Fixed in:1:2.06-104.el9_6RHSA-2025:6990
grub2-efi-x64Red Hat / RHEL
Fixed in:1:2.12-15.el10_0RHSA-2025:16154
Fixed in:1:2.06-104.el9_6RHSA-2025:6990
grub2-efi-x64-cdbootRocky
Fixed in:1:2.12-15.el10_0RHSA-2025:16154
Fixed in:1:2.06-104.el9_6RHSA-2025:6990
grub2-efi-x64-cdbootRed Hat / RHEL
Fixed in:1:2.12-15.el10_0RHSA-2025:16154
Fixed in:1:2.06-104.el9_6RHSA-2025:6990
grub2-efi-x64-modulesRed Hat / RHEL
Fixed in:1:2.12-15.el10_0RHSA-2025:16154
Fixed in:1:2.06-104.el9_6RHSA-2025:6990
grub2-efi-x64-modulesRocky
Fixed in:1:2.12-15.el10_0RHSA-2025:16154
Fixed in:1:2.06-104.el9_6RHSA-2025:6990
grub2-emu-debuginfoRed Hat / RHEL
Fixed in:1:2.12-15.el10_0RHSA-2025:16154
Fixed in:1:2.12-15.el10_0RHSA-2025:16154
Fixed in:1:2.06-104.el9_6RHSA-2025:6990
Fixed in:1:2.06-104.el9_6RHSA-2025:6990
grub2-emu-debuginfoRocky
Fixed in:1:2.12-15.el10_0RHSA-2025:16154
Fixed in:1:2.12-15.el10_0RHSA-2025:16154
Fixed in:1:2.06-104.el9_6RHSA-2025:6990
Fixed in:1:2.06-104.el9_6RHSA-2025:6990
grub2-pcRocky
Fixed in:1:2.12-15.el10_0RHSA-2025:16154
Fixed in:1:2.06-104.el9_6RHSA-2025:6990
grub2-pcRed Hat / RHEL
Fixed in:1:2.12-15.el10_0RHSA-2025:16154
Fixed in:1:2.06-104.el9_6RHSA-2025:6990
grub2-pc-modulesRocky
Fixed in:1:2.12-15.el10_0RHSA-2025:16154
Fixed in:1:2.06-104.el9_6RHSA-2025:6990
grub2-pc-modulesRed Hat / RHEL
Fixed in:1:2.12-15.el10_0RHSA-2025:16154
Fixed in:1:2.06-104.el9_6RHSA-2025:6990
grub2-ppc64leRocky
Fixed in:1:2.12-15.el10_0RHSA-2025:16154
Fixed in:1:2.06-104.el9_6RHSA-2025:6990
grub2-ppc64leRed Hat / RHEL
Fixed in:1:2.12-15.el10_0RHSA-2025:16154
Fixed in:1:2.06-104.el9_6RHSA-2025:6990
grub2-ppc64le-modulesRed Hat / RHEL
Fixed in:1:2.12-15.el10_0RHSA-2025:16154
Fixed in:1:2.06-104.el9_6RHSA-2025:6990
grub2-ppc64le-modulesRocky
Fixed in:1:2.12-15.el10_0RHSA-2025:16154
Fixed in:1:2.06-104.el9_6RHSA-2025:6990
grub2-toolsRocky
Fixed in:1:2.12-15.el10_0RHSA-2025:16154
Fixed in:1:2.12-15.el10_0RHSA-2025:16154
Fixed in:1:2.12-15.el10_0RHSA-2025:16154
Fixed in:1:2.06-104.el9_6RHSA-2025:6990
Fixed in:1:2.06-104.el9_6RHSA-2025:6990
Fixed in:1:2.06-104.el9_6RHSA-2025:6990
grub2-toolsRed Hat / RHEL
Fixed in:1:2.12-15.el10_0RHSA-2025:16154
Fixed in:1:2.12-15.el10_0RHSA-2025:16154
Fixed in:1:2.12-15.el10_0RHSA-2025:16154
Fixed in:1:2.06-104.el9_6RHSA-2025:6990
Fixed in:1:2.06-104.el9_6RHSA-2025:6990
Fixed in:1:2.06-104.el9_6RHSA-2025:6990
grub2-tools-debuginfoRed Hat / RHEL
Fixed in:1:2.12-15.el10_0RHSA-2025:16154
Fixed in:1:2.12-15.el10_0RHSA-2025:16154
Fixed in:1:2.12-15.el10_0RHSA-2025:16154
Fixed in:1:2.06-104.el9_6RHSA-2025:6990
Fixed in:1:2.06-104.el9_6RHSA-2025:6990
Fixed in:1:2.06-104.el9_6RHSA-2025:6990
grub2-tools-debuginfoRocky
Fixed in:1:2.12-15.el10_0RHSA-2025:16154
Fixed in:1:2.12-15.el10_0RHSA-2025:16154
Fixed in:1:2.12-15.el10_0RHSA-2025:16154
Fixed in:1:2.06-104.el9_6RHSA-2025:6990
Fixed in:1:2.06-104.el9_6RHSA-2025:6990
Fixed in:1:2.06-104.el9_6RHSA-2025:6990
grub2-tools-efiRocky
Fixed in:1:2.12-15.el10_0RHSA-2025:16154
Fixed in:1:2.06-104.el9_6RHSA-2025:6990
grub2-tools-efiRed Hat / RHEL
Fixed in:1:2.12-15.el10_0RHSA-2025:16154
Fixed in:1:2.06-104.el9_6RHSA-2025:6990
grub2-tools-efi-debuginfoRocky
Fixed in:1:2.12-15.el10_0RHSA-2025:16154
Fixed in:1:2.06-104.el9_6RHSA-2025:6990
grub2-tools-efi-debuginfoRed Hat / RHEL
Fixed in:1:2.12-15.el10_0RHSA-2025:16154
Fixed in:1:2.06-104.el9_6RHSA-2025:6990
grub2-tools-extraRed Hat / RHEL
Fixed in:1:2.12-15.el10_0RHSA-2025:16154
Fixed in:1:2.12-15.el10_0RHSA-2025:16154
Fixed in:1:2.12-15.el10_0RHSA-2025:16154
Fixed in:1:2.06-104.el9_6RHSA-2025:6990
Fixed in:1:2.06-104.el9_6RHSA-2025:6990
Fixed in:1:2.06-104.el9_6RHSA-2025:6990
grub2-tools-extraRocky
Fixed in:1:2.12-15.el10_0RHSA-2025:16154
Fixed in:1:2.12-15.el10_0RHSA-2025:16154
Fixed in:1:2.12-15.el10_0RHSA-2025:16154
Fixed in:1:2.06-104.el9_6RHSA-2025:6990
Fixed in:1:2.06-104.el9_6RHSA-2025:6990
Fixed in:1:2.06-104.el9_6RHSA-2025:6990
grub2-tools-extra-debuginfoRocky
Fixed in:1:2.12-15.el10_0RHSA-2025:16154
Fixed in:1:2.12-15.el10_0RHSA-2025:16154
Fixed in:1:2.12-15.el10_0RHSA-2025:16154
Fixed in:1:2.06-104.el9_6RHSA-2025:6990
Fixed in:1:2.06-104.el9_6RHSA-2025:6990
Fixed in:1:2.06-104.el9_6RHSA-2025:6990
grub2-tools-extra-debuginfoRed Hat / RHEL
Fixed in:1:2.12-15.el10_0RHSA-2025:16154
Fixed in:1:2.12-15.el10_0RHSA-2025:16154
Fixed in:1:2.12-15.el10_0RHSA-2025:16154
Fixed in:1:2.06-104.el9_6RHSA-2025:6990
Fixed in:1:2.06-104.el9_6RHSA-2025:6990
Fixed in:1:2.06-104.el9_6RHSA-2025:6990
grub2-tools-minimalRocky
Fixed in:1:2.12-15.el10_0RHSA-2025:16154
Fixed in:1:2.12-15.el10_0RHSA-2025:16154
Fixed in:1:2.12-15.el10_0RHSA-2025:16154
Fixed in:1:2.06-104.el9_6RHSA-2025:6990
Fixed in:1:2.06-104.el9_6RHSA-2025:6990
Fixed in:1:2.06-104.el9_6RHSA-2025:6990
grub2-tools-minimalRed Hat / RHEL
Fixed in:1:2.12-15.el10_0RHSA-2025:16154
Fixed in:1:2.12-15.el10_0RHSA-2025:16154
Fixed in:1:2.12-15.el10_0RHSA-2025:16154
Fixed in:1:2.06-104.el9_6RHSA-2025:6990
Fixed in:1:2.06-104.el9_6RHSA-2025:6990
Fixed in:1:2.06-104.el9_6RHSA-2025:6990
grub2-tools-minimal-debuginfoRocky
Fixed in:1:2.12-15.el10_0RHSA-2025:16154
Fixed in:1:2.12-15.el10_0RHSA-2025:16154
Fixed in:1:2.12-15.el10_0RHSA-2025:16154
Fixed in:1:2.06-104.el9_6RHSA-2025:6990
Fixed in:1:2.06-104.el9_6RHSA-2025:6990
Fixed in:1:2.06-104.el9_6RHSA-2025:6990
grub2-tools-minimal-debuginfoRed Hat / RHEL
Fixed in:1:2.12-15.el10_0RHSA-2025:16154
Fixed in:1:2.12-15.el10_0RHSA-2025:16154
Fixed in:1:2.12-15.el10_0RHSA-2025:16154
Fixed in:1:2.06-104.el9_6RHSA-2025:6990
Fixed in:1:2.06-104.el9_6RHSA-2025:6990
Fixed in:1:2.06-104.el9_6RHSA-2025:6990

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorLocal
Attack ComplexityHigh
Privileges RequiredHigh
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityHigh
IntegrityHigh
AvailabilityHigh

CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H

Exploit Intelligence

0.32%probability of exploitation in 30 days
24thpercentile

Low risk: more likely to be exploited than 24% of all known CVEs.

References

Related Vulnerabilities

Other CWE-787 (Out-of-bounds Write) vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2025-22457Critical9.0100%KEV + RansomFix
CVE-2025-0282Critical9.0100%KEV + Ransom-
CVE-2015-3113Critical9.8100%KEVFix
CVE-2021-20038Critical9.8100%KEV + Ransom-
CVE-2023-4863High8.8100%KEVFix
CVE-2020-16040Medium6.5100%-Fix
Embed a live status badge for CVE-2025-0677
CVE-2025-0677 severity badge

Markdown

[![CVE-2025-0677](https://tridentstack.com/cve/badge/CVE-2025-0677.svg)](https://tridentstack.com/cve/CVE-2025-0677)

HTML

<a href="https://tridentstack.com/cve/CVE-2025-0677"><img src="https://tridentstack.com/cve/badge/CVE-2025-0677.svg" alt="CVE-2025-0677"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2026-06-30.