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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2025-0678— Grub2: squash4: integer overflow may lead to heap based out-of-bounds write when reading data

Quick assessment

Affected
CVE-2025-0678
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存在缓冲区错误漏洞,该漏洞源于squash4模块包含一个整数溢出问题,导致读取数据时发生基于堆的越界写入。

CVSS 7.8 · High EPSS 0.28% · P19

Affected Version Matrix 6

VendorProduct Version RangeStatus
None None ≤ 2.12 affected
Red Hat Red Hat Enterprise Linux 10 any unaffected
Red Hat Red Hat Enterprise Linux 7 any unaffected
Red Hat Red Hat Enterprise Linux 8 any unaffected
Red Hat Red Hat Enterprise Linux 9 any unaffected
Red Hat Red Hat OpenShift Container Platform 4 any unaffected

I. Basic Information for CVE-2025-0678

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: squash4: integer overflow may lead to heap based out-of-bounds write when reading data
Source: CVE Program / CVE List V5
Vulnerability Description
A flaw was found in grub2. When reading data from a squash4 filesystem, grub's squash4 fs module uses user-controlled parameters from the filesystem geometry to determine the internal buffer size, however, it improperly checks for integer overflows. A maliciously crafted filesystem may lead some of those buffer size calculations to overflow, causing it to perform a grub_malloc() operation with a smaller size than expected. As a result, the direct_read() will perform a heap based out-of-bounds write during data reading. This flaw may be leveraged to corrupt grub's internal critical data and may result in arbitrary code execution, by-passing secure boot protections.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:L/AC:L/PR:L/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存在缓冲区错误漏洞,该漏洞源于squash4模块包含一个整数溢出问题,导致读取数据时发生基于堆的越界写入。
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 - cpe:/o:redhat:enterprise_linux:10
Red Hat Red Hat Enterprise Linux 7 - cpe:/o:redhat:enterprise_linux:7
Red Hat Red Hat Enterprise Linux 8 - cpe:/o:redhat:enterprise_linux:8
Red Hat Red Hat Enterprise Linux 9 - cpe:/o:redhat:enterprise_linux:9
Red Hat Red Hat OpenShift Container Platform 4 - cpe:/a:redhat:openshift:4

II. Public POCs for CVE-2025-0678

# 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-0678

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

Vendor Advisories for CVE-2025-0678 (2)

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

IV. Related Vulnerabilities

V. Comments for CVE-2025-0678

No comments yet


Leave a comment