// For flags

CVE-2025-0690

Grub2: read: integer overflow may lead to out-of-bounds write

Severity Score

6.1
*CVSS v3.1

Exploit Likelihood

*EPSS

Affected Versions

*CPE

Public Exploits

0
*Multiple Sources

Exploited in Wild

-
*KEV

Decision

Track*
*SSVC
Descriptions

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.

This update for grub2 fixes the following issues. Fixed strcpy overflow in ufs. Fixed a heap-based buffer overflow in hfs. Fixed strcpy overflow in hfs. Fixed an overflow in tar/cpio. Fixed a refcount overflow in hfsplus. Fixed a heap overflow in JPEG parser. Fixed a missing NULL check in extcmd parser. Fixed an overflow in .MO file handling. Fixed an integer overflow in gettext. Fixed bfs filesystem by removing it from lockdown capable modules. Fixed a heap overflow in bfs. Fixed an issue that can bypass TPM-bound disk encryption on SLM encrypted Images. Fixed an out-of-bounds write during the network boot process. Fixed a use-after-free when handling hooks during module unload in command/gpg. Fixed an integer overflow that may lead to an out-of-bounds write through the read command. Fixed an issue where the dump command was not being blocked when grub was in lockdown mode. Fixed an integer overflow that may lead to an out-of-bounds write when handling symlinks in ufs. Fixed an integer overflow that may lead to an out-of-bounds write when handling symlinks in reiserfs. Fixed an integer overflow that may lead to an out-of-bounds write when handling symlinks in jfs. Fixed an integer overflow that may lead to an out-of-bounds write when handling symlinks in romfs. Fixed a heap-based buffer overflow in udf that may lead to arbitrary code execution. Fixed an integer overflow that may lead to an out-of-bounds write in hfs. Fixed an integer overflow that may lead to an out-of-bounds write in squash4.

*Credits: N/A
CVSS Scores
Attack Vector
Physical
Attack Complexity
Low
Privileges Required
High
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
Attack Vector
Local
Attack Complexity
Low
Authentication
Multiple
Confidentiality
Complete
Integrity
Complete
Availability
Complete
* Common Vulnerability Scoring System
SSVC
  • Decision:Track*
Exploitation
None
Automatable
No
Tech. Impact
Total
* Organization's Worst-case Scenario
Timeline
  • 2025-01-23 CVE Reserved
  • 2025-02-19 CVE Published
  • 2025-06-16 CVE Updated
  • 2025-06-26 EPSS Updated
  • ---------- Exploited in Wild
  • ---------- KEV Due Date
  • ---------- First Exploit
CWE
  • CWE-787: Out-of-bounds Write
CAPEC
Affected Vendors, Products, and Versions
Vendor Product Version Other Status
Vendor Product Version Other Status <-- --> Vendor Product Version Other Status
Red Hat
Search vendor "Red Hat"
Enterprise Linux
Search vendor "Red Hat" for product "Enterprise Linux"
*-
Affected
Redhat
Search vendor "Redhat"
Openshift
Search vendor "Redhat" for product "Openshift"
*-
Affected
Opensuse
Search vendor "Opensuse"
Leap
Search vendor "Opensuse" for product "Leap"
*-
Affected
Redhat
Search vendor "Redhat"
Enterprise Linux
Search vendor "Redhat" for product "Enterprise Linux"
*-
Affected
Redhat
Search vendor "Redhat"
Openshift
Search vendor "Redhat" for product "Openshift"
*-
Affected
Suse
Search vendor "Suse"
Sle-module-basesystem
Search vendor "Suse" for product "Sle-module-basesystem"
*-
Affected
Suse
Search vendor "Suse"
Sle-module-server-applications
Search vendor "Suse" for product "Sle-module-server-applications"
*-
Affected
Suse
Search vendor "Suse"
Sle-module-suse-manager-proxy
Search vendor "Suse" for product "Sle-module-suse-manager-proxy"
*-
Affected
Suse
Search vendor "Suse"
Sle-module-suse-manager-server
Search vendor "Suse" for product "Sle-module-suse-manager-server"
*-
Affected
Suse
Search vendor "Suse"
Sle Hpc-espos
Search vendor "Suse" for product "Sle Hpc-espos"
*-
Affected
Suse
Search vendor "Suse"
Sle Hpc-ltss
Search vendor "Suse" for product "Sle Hpc-ltss"
*-
Affected
Suse
Search vendor "Suse"
Sles-ltss-extended-security
Search vendor "Suse" for product "Sles-ltss-extended-security"
*-
Affected
Suse
Search vendor "Suse"
Sles-ltss
Search vendor "Suse" for product "Sles-ltss"
*-
Affected
Suse
Search vendor "Suse"
Sles Sap
Search vendor "Suse" for product "Sles Sap"
*-
Affected
Suse
Search vendor "Suse"
Suse-manager-proxy
Search vendor "Suse" for product "Suse-manager-proxy"
*-
Affected
Suse
Search vendor "Suse"
Suse-manager-server
Search vendor "Suse" for product "Suse-manager-server"
*-
Affected