# CVE-2025-0690: Grub2: read: integer overflow may lead to out-of-bounds write

- Severity: Medium 6.1 (CVSS:3.1, scored by redhat) `CVSS:3.1/AV:P/AC:L/PR:H/UI:R/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.79%, higher than 57% of CVEs (2026-12-02)
- Published: 2025-02-24T07:53:30.081Z
- Modified: 2026-11-24T07:17:17.897Z
- Weaknesses: CWE-787
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: redhat

## Description

The read command is used to read the keyboard input from the user, while reads it keeps the input length in a 32-bit integer value which is further used to reallocate the line buffer to accept the next character. During this process, with a line big enough it's possible to make this variable to overflow leading to a out-of-bounds write in the heap based buffer. This flaw may be leveraged to corrupt grub's internal critical data and secure boot bypass is not discarded as consequence.

(As written by CVE List.)

## Affected

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

## References

- <https://access.redhat.com/errata/RHSA-2025:6990> (vendor-advisory)
- <https://access.redhat.com/security/cve/CVE-2025-0690> (vdb-entry)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2346123> (issue-tracking)
- <https://lists.gnu.org/archive/html/grub-devel/2025-02/msg00024.html>

## Sources

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

---

Page: https://cve.day/CVE-2025-0690 · Whole record: https://cve.day/CVE-2025-0690.json · Rebuilt by cve.day 2026-11-25T22:58:54.246Z
