Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

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

Quick assessment

Affected
CVE-2025-0677
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

GNU GRUB是GNU社区的一款Linux系统引导程序。 GNU GRUB存在缓冲区错误漏洞,该漏洞源于UFS模块包含一个整数溢出问题,导致处理符号链接时发生基于堆的越界写入。

CVSS 6.4 · Medium EPSS 0.33% · P26

Affected Version Matrix 6

VendorProduct Version RangeStatus
None None ≤ 2.12 affected
Red Hat Red Hat Enterprise Linux 10 1:2.12-15.el10_0< * unaffected
Red Hat Red Hat Enterprise Linux 7 any unknown
Red Hat Red Hat Enterprise Linux 8 any unknown
Red Hat Red Hat Enterprise Linux 9 1:2.06-104.el9_6< * unaffected
Red Hat Red Hat OpenShift Container Platform 4 any affected

I. Basic Information for CVE-2025-0677

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Grub2: ufs: integer overflow may lead to heap based out-of-bounds write when handling symlinks
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
跨界内存写
Source: CVE Program / CVE List V5
Vulnerability Title
GNU GRUB 缓冲区错误漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
GNU GRUB是GNU社区的一款Linux系统引导程序。 GNU GRUB存在缓冲区错误漏洞,该漏洞源于UFS模块包含一个整数溢出问题,导致处理符号链接时发生基于堆的越界写入。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
- - 0 ~ 2.12 -
Red Hat Red Hat Enterprise Linux 10 1:2.12-15.el10_0 ~ * cpe:/o:redhat:enterprise_linux:10.0
Red Hat Red Hat Enterprise Linux 9 1:2.06-104.el9_6 ~ * cpe:/o:redhat:enterprise_linux:9::baseos
Red Hat Red Hat Enterprise Linux 7 - cpe:/o:redhat:rhel_els:7
Red Hat Red Hat Enterprise Linux 8 - cpe:/a:redhat:enterprise_linux:8
Red Hat Red Hat OpenShift Container Platform 4 - cpe:/a:redhat:openshift:4

II. Public POCs for CVE-2025-0677

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2025-0677

请登录查看更多情报信息。

Vendor Advisories for CVE-2025-0677 (3)

Mailing List Discussions for CVE-2025-0677 (1)

IV. Related Vulnerabilities