CVE-2025-0690
Grub2: read: integer overflow may lead to out-of-bounds write
- State
- Published
- Severity
- 6.1 Medium
- Published
- Feb 24, 2025
- Updated
- Oct 21, 2026
- Reserved
- Jan 23, 2025
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 6.1 Medium | CVSS:3.1/AV:P/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H | redhat |
Weaknesses
- CWE-787 Out-of-bounds Write
Affected Products
| Product | Versions |
|---|---|
grub2 |
|
Red Hat Enterprise Linux 9Red Hat |
|
Red Hat Enterprise Linux 10Red Hat | |
Red Hat Enterprise Linux 7Red Hat | |
Red Hat Enterprise Linux 8Red Hat | |
Red Hat OpenShift Container Platform 4Red Hat |
References
- RHSA-2025:6990vendor-advisory
- https://access.redhat.com/security/cve/CVE-2025-0690vdb-entry
- RHBZ#2346123issue-tracking
- https://lists.gnu.org/archive/html/grub-devel/2025-02/msg00024.html
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.