CVE-2025-0690

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.
Configurations

No configuration.

History

13 May 2025, 20:15

Type Values Removed Values Added
References
  • () https://access.redhat.com/errata/RHSA-2025:6990 -

05 Mar 2025, 21:15

Type Values Removed Values Added
References
  • () https://lists.gnu.org/archive/html/grub-devel/2025-02/msg00024.html -
Summary
  • (es) El comando read se utiliza para leer la entrada del teclado del usuario, mientras que reads mantiene la longitud de la entrada en un valor entero de 32 bits que se utiliza para reasignar el búfer de línea para aceptar el siguiente carácter. Durante este proceso, con una línea lo suficientemente grande es posible hacer que esta variable se desborde, lo que lleva a una escritura fuera de los límites en el búfer basado en el montón. Este fallo puede aprovecharse para corromper los datos críticos internos de grub y la omisión del arranque seguro no se descarta como consecuencia.

24 Feb 2025, 08:15

Type Values Removed Values Added
New CVE

Information

Published : 2025-02-24 08:15

Updated : 2025-05-13 20:15


NVD link : CVE-2025-0690

Mitre link : CVE-2025-0690

CVE.ORG link : CVE-2025-0690


JSON object : View

Products Affected

No product.

CWE
CWE-787

Out-of-bounds Write