# CVE-2024-45781: Grub2: fs/ufs: oob write in the heap

- Severity: Medium 6.7 (CVSS:3.1, scored by redhat) `CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.30%, higher than 25% of CVEs (2026-12-01)
- Published: 2025-02-18T19:25:57.168Z
- Modified: 2026-11-24T07:17:09.943Z
- Weaknesses: CWE-787
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: redhat

## Description

A flaw was found in grub2. When reading a symbolic link's name from a UFS filesystem, grub2 fails to validate the string length taken as an input. The lack of validation may lead to a heap out-of-bounds write, causing data integrity issues and eventually allowing an attacker to circumvent secure boot protections.

(As written by CVE List.)

## Affected

- grub2: up to 2.12 (not affected: from 1:2.12-15.el10_0 before *; from 1:2.06-104.el9_6 before *)
- openshift/ose-rhel-coreos-9: no versions given

## References

- <https://access.redhat.com/errata/RHSA-2025:16154> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2025:6990> (vendor-advisory)
- <https://access.redhat.com/security/cve/CVE-2024-45781> (vdb-entry)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2345857> (issue-tracking)

## Sources

- CVE List: [CVE-2024-45781](https://www.cve.org/CVERecord?id=CVE-2024-45781), CVE Terms of Use, modified 2026-11-24
- NVD: [CVE-2024-45781](https://nvd.nist.gov/vuln/detail/CVE-2024-45781), Public domain, modified 2026-11-24

---

Page: https://cve.day/CVE-2024-45781 · Whole record: https://cve.day/CVE-2024-45781.json · Rebuilt by cve.day 2026-11-25T22:58:51.832Z
