Buffer overflow in Red Hat Enterprise Linux 10

CVE-2025-0677

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.

Vulnerability class: Buffer Overflow

EPSS: 0.003 (25.3th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 6.4 (Medium). Vector: CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H.

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2025-0677?
CVE-2025-0677 is a medium-severity vulnerability in Red Hat Enterprise Linux 10, classified under Out-of-bounds Write. CVSS score: 6.4/10. Published 2025-02-19.
How severe is CVE-2025-0677?
Medium severity. CVSS v3 base score is 6.4 out of 10.
Is CVE-2025-0677 known to be exploited?
1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.