CVE-2025-0690

medium

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.

References

https://www.bleepingcomputer.com/news/security/microsoft-uses-ai-to-find-flaws-in-grub2-u-boot-barebox-bootloaders/

https://lists.gnu.org/archive/html/grub-devel/2025-02/msg00024.html

https://bugzilla.redhat.com/show_bug.cgi?id=2346123

https://access.redhat.com/security/cve/CVE-2025-0690

Details

Source: Mitre, NVD

Published: 2025-02-24

Updated: 2025-03-05

Risk Information

CVSS v2

Base Score: 6.5

Vector: CVSS2#AV:L/AC:L/Au:M/C:C/I:C/A:C

Severity: Medium

CVSS v3

Base Score: 6.1

Vector: CVSS:3.0/AV:P/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H

Severity: Medium