CVE-2025-0678
Last modified
CVE-2025-0678 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. 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. EPSS estimates a 0.27% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Gnu | Grub2 | <= 2.12 |
| Redhat | Openshift Container Platform | 4.0 |
| Redhat | Enterprise Linux | 7.0 |
| Redhat | Enterprise Linux | 8.0 |
| Redhat | Enterprise Linux | 9.0 |
References
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2025-0678?
How severe is CVE-2025-0678?
How do I fix CVE-2025-0678?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2025
- CVE-2025-0672An authentication bypass vulnerability exists in multiple WS…3.8
- CVE-2025-0673An issue has been discovered in GitLab CE/EE affecting all v…7.5
- CVE-2025-0674Multiple Elber products are affected by an authentication by…9.8
- CVE-2025-0675Multiple Elber products suffer from an unauthenticated devic…8.7
- CVE-2025-0676This vulnerability involves command injection in tcpdump wit…8.6
- CVE-2025-0677A flaw was found in grub2. When performing a symlink lookup,…6.4
- CVE-2025-0679An issue has been discovered in GitLab CE/EE affecting all v…4.3
- CVE-2025-0680Affected products contain a vulnerability in the device clou…9.8
- CVE-2025-0681The Cloud MQTT service of the affected products supports wil…6.9
- CVE-2025-0682The ThemeREX Addons plugin for WordPress is vulnerable to Lo…8.8
- CVE-2025-0683In its default configuration, Contec Health CMS8000 Patient …8.2
- CVE-2025-0684A flaw was found in grub2. When performing a symlink lookup …6.4
Are you affected by CVE-2025-0678?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
