Description (CNA)
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.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Not supplied / Not supplied | affected 0 through 2.12 |
| Red Hat / Red Hat Enterprise Linux 9 | unaffected 1:2.06-104.el9_6 before * |
| Red Hat / Red Hat Enterprise Linux 10 | unaffected |
| Red Hat / Red Hat Enterprise Linux 7 | unknown |
| Red Hat / Red Hat Enterprise Linux 8 | unknown |
| Red Hat / Red Hat OpenShift Container Platform 4 | affected |
CWE
CWE-787
References
- https://access.redhat.com/errata/RHSA-2025:6990
- https://access.redhat.com/security/cve/CVE-2025-0690
- https://bugzilla.redhat.com/show_bug.cgi?id=2346123
- https://lists.gnu.org/archive/html/grub-devel/2025-02/msg00024.html
ADP enrichment
No English description supplied.
No references supplied.