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.
Overview
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.
- Published
- 2/19/2025
- Last modified
- 11/24/2026
- CVE assigner
- redhat
- NVD analysis
- Deferred
Exploitation
No CISA KEV flag in the saved record
An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.
EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare
Affected products
Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.
| Vendor / product | Affected versions | Platform / conditions | Evidence |
|---|---|---|---|
grub2 Vendor not specified | ≤ 2.12 | Verify advisory Candidate from cve.now; verify the vendor advisory and platform conditions before confirming applicability. | Source |
Red Hat Enterprise Linux 10 Red Hat | Range not specified — verify advisory | Verify advisory Candidate from cve.now; verify the vendor advisory and platform conditions before confirming applicability. | Source |
Red Hat Enterprise Linux 9 Red Hat | Range not specified — verify advisory | Verify advisory Candidate from cve.now; verify the vendor advisory and platform conditions before confirming applicability. | Source |
Red Hat Enterprise Linux 7 Red Hat | Range not specified — verify advisory | Verify advisory Candidate from cve.now; verify the vendor advisory and platform conditions before confirming applicability. | Source |
Red Hat Enterprise Linux 8 Red Hat | Range not specified — verify advisory | Verify advisory Candidate from cve.now; verify the vendor advisory and platform conditions before confirming applicability. | Source |
Red Hat OpenShift Container Platform 4 Red Hat | Range not specified — verify advisory | Verify advisory Candidate from cve.now; verify the vendor advisory and platform conditions before confirming applicability. | Source |
Recommended actions
Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.
Severity
CVSS describes technical impact. It is separate from exploitation evidence.
6.4 · Medium CVSS 3.1
Scored by redhat
CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
6.4 · Medium CVSS 3.1
Scored by secalert@redhat.com
CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
Related weaknesses
Sources & references
Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.