CVE-2025-0690: Grub2: read: integer overflow may lead to out-of-bounds write
Grub2: read: integer overflow may lead to out-of-bounds write
Other sources
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.
— NVD
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 2.06-25 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 2.06-15
Event History
Frequently Asked Questions
What is the severity of CVE-2025-0690?
CVE-2025-0690 is considered to have a high severity due to potential buffer overflow vulnerabilities.
How do I fix CVE-2025-0690?
To fix CVE-2025-0690, update your GNU Grub2 software to the latest version provided by your distributor.
What versions of Grub2 are affected by CVE-2025-0690?
CVE-2025-0690 affects certain versions of GNU Grub2, particularly those with vulnerabilities in their read command implementation.
What are the potential impacts of CVE-2025-0690?
The potential impacts of CVE-2025-0690 include arbitrary code execution and system compromise due to buffer overflow exploitation.
How can I verify if my system is vulnerable to CVE-2025-0690?
You can verify vulnerability to CVE-2025-0690 by checking your Grub2 version against the affected versions listed by security advisories.