CVE-2025-0690
MEDIUM 6.1CVSS 3.1Grub2: read: integer overflow may lead to out-of-bounds write
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.
- Published
- 24 Feb 2025
- Last modified
- 24 Nov 2026
- Assigned by
- secalert@redhat.com
- NVD status
- Deferred
- Weakness
- CWE-787
- Sources
- NVDJSONCVE ListJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | secalert@redhat.com (Secondary) | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:P/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H |
| CVE List | redhat | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:P/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H |
| CVE List | CISA-ADP | SSVC | Exploitation: none; Automatable: no; Technical Impact: total |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| CVE List | https://www.gnu.org/software/grub/ | grub2 | <= 2.12 | |
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | grub2cpe:/o:redhat:enterprise_linux:9::baseos |
all versions | |
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | grub2cpe:/o:redhat:enterprise_linux:10 |
||
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | grub2cpe:/o:redhat:rhel_els:7 |
||
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | grub2cpe:/o:redhat:enterprise_linux:8 |
||
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | openshift/ose-rhel-coreos-9cpe:/a:redhat:openshift:4 |
all versions |
References
- https://access.redhat.com/errata/RHSA-2025:6990 · vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2025-0690 · vdb-entry, x_refsource_REDHAT
- https://bugzilla.redhat.com/show_bug.cgi?id=2346123 · issue-tracking, x_refsource_REDHAT
- https://lists.gnu.org/archive/html/grub-devel/2025-02/msg00024.html
History
- 25 Nov 2026 20:36 UTC · CVE List: first stored (published 24 Feb 2025)
- 25 Nov 2026 20:10 UTC · NVD: first stored (published 24 Feb 2025)