cbcvebase.

Gnu Grub2 vulnerabilities

64 known vulnerabilities affecting gnu/grub2.

Total CVEs
64
CISA KEV
0
Public exploits
1
Exploited in wild
1
Severity breakdown
HIGH24MEDIUM38LOW2

Vulnerabilities

Page 2 of 4
CVE-2022-3775P3HIGHCVSS 7.1≤ 2.06vAll up to 2.062022-12-19
CVE-2022-3775 [HIGH] CWE-787 CVE-2022-3775: When rendering certain unicode sequences, grub2's font code doesn't proper validate if the informed When rendering certain unicode sequences, grub2's font code doesn't proper validate if the informed glyph's width and height is constrained within bitmap size. As consequence an attacker can craft an input which will lead to a out-of-bounds write into grub2's heap, leading to memory corruption and availability issues. Although complex, arbitrary code exe
nvdosv
CVE-2025-0684P3MEDIUMCVSS 6.4≤ 2.122025-03-03
CVE-2025-0684 [MEDIUM] CWE-787 CVE-2025-0684: A flaw was found in grub2. When performing a symlink lookup from a reiserfs filesystem, grub's reise A flaw was found in grub2. When performing a symlink lookup from a reiserfs filesystem, grub's reiserfs fs module uses user-controlled parameters from the filesystem geometry to determine the internal buffer size, however, it improperly checks for integer overflows. A maliciouly crafted filesystem may lead some of those buffer size calculations to ove
nvdosv
CVE-2021-3697P4HIGHCVSS 7.0≥ 2.00, < 2.12vgrub-2.062022-07-06
CVE-2021-3697 [HIGH] CWE-787 CVE-2021-3697: A crafted JPEG image may lead the JPEG reader to underflow its data pointer, allowing user-controlle A crafted JPEG image may lead the JPEG reader to underflow its data pointer, allowing user-controlled data to be written in heap. To a successful to be performed the attacker needs to perform some triage over the heap layout and craft an image with a malicious format and payload. This vulnerability can lead to data corruption and eventual code execution
nvdosv
CVE-2020-15707P4MEDIUMCVSS 6.4≤ 2.042020-07-29
CVE-2020-15707 [MEDIUM] CWE-362 CVE-2020-15707: Integer overflows were discovered in the functions grub_cmd_initrd and grub_initrd_init in the efili Integer overflows were discovered in the functions grub_cmd_initrd and grub_initrd_init in the efilinux component of GRUB2, as shipped in Debian, Red Hat, and Ubuntu (the functionality is not included in GRUB2 upstream), leading to a heap-based buffer overflow. These could be triggered by an extremely large number of arguments to the initrd command
nvdosv
CVE-2025-0622P4MEDIUMCVSS 6.4≥ 0, < 2.12-62025-02-18
CVE-2025-0622 [MEDIUM] CVE-2025-0622: A flaw was found in command/gpg A flaw was found in command/gpg. In some scenarios, hooks created by loaded modules are not removed when the related module is unloaded. This flaw allows an attacker to force grub2 to call the hooks once the module that registered it was unloaded, leading to a use-after-free vulnerability. If correctly exploited, this vulnerability may result in arbitrary code execution, eventually allowing the attacker to bypass secure boot p
osv
CVE-2015-8370P3HIGHCVSS 7.4v1.98v1.99+3 more2015-12-16
CVE-2015-8370 [HIGH] CWE-264 CVE-2015-8370: Multiple integer underflows in Grub2 1.98 through 2.02 allow physically proximate attackers to bypas Multiple integer underflows in Grub2 1.98 through 2.02 allow physically proximate attackers to bypass authentication, obtain sensitive information, or cause a denial of service (disk corruption) via backspace characters in the (1) grub_username_get function in grub-core/normal/auth.c or the (2) grub_password_get function in lib/crypto.c, which trigger a
nvdosv
CVE-2025-0677P4MEDIUMCVSS 6.4≥ 0, < 2.12-62025-02-19
CVE-2025-0677 [MEDIUM] CVE-2025-0677: A flaw was found in grub2 A flaw was found in grub2. When performing a symlink lookup, the grub's UFS module checks the inode's data size to allocate the internal buffer to read the file content, however, it fails to check if the symlink data size has overflown. When this occurs, grub_malloc() may be called with a smaller value than needed. When further reading the data from the disk into the buffer, the grub_ufs_lookup_symlink() function will write past the
osv
CVE-2025-0685P4MEDIUMCVSS 6.4≤ 2.122025-03-03
CVE-2025-0685 [MEDIUM] CWE-787 CVE-2025-0685: A flaw was found in grub2. When reading data from a jfs filesystem, grub's jfs filesystem module use A flaw was found in grub2. When reading data from a jfs filesystem, grub's jfs filesystem module uses user-controlled parameters from the filesystem geometry to determine the internal buffer size, however, it improperly checks for integer overflows. A maliciouly crafted filesystem may lead some of those buffer size calculations to overflow, causing it
nvdosv
CVE-2025-0686P4MEDIUMCVSS 6.4≤ 2.122025-03-03
CVE-2025-0686 [MEDIUM] CWE-787 CVE-2025-0686: A flaw was found in grub2. When performing a symlink lookup from a romfs filesystem, grub's romfs fi A flaw was found in grub2. When performing a symlink lookup from a romfs filesystem, grub's romfs filesystem module uses user-controlled parameters from the filesystem geometry to determine the internal buffer size, however, it improperly checks for integer overflows. A maliciously crafted filesystem may lead some of those buffer size calculations to
nvdosv
CVE-2020-27749P4MEDIUMCVSS 6.7fixed in 2.06vgrub 2.062021-03-03
CVE-2020-27749 [MEDIUM] CWE-121 CVE-2020-27749: A flaw was found in grub2 in versions prior to 2.06. Variable names present are expanded in the supp A flaw was found in grub2 in versions prior to 2.06. Variable names present are expanded in the supplied command line into their corresponding variable contents, using a 1kB stack buffer for temporary storage, without sufficient bounds checking. If the function is called with a command line that references a variable with a sufficiently large payloa
nvdosv
CVE-2025-4382P4MEDIUMCVSS 5.9≥ 0, < 2.14~git20250718.0e36779-22025-05-09
CVE-2025-4382 [MEDIUM] CVE-2025-4382: A flaw was found in systems utilizing LUKS-encrypted disks with GRUB configured for TPM-based auto-decryption A flaw was found in systems utilizing LUKS-encrypted disks with GRUB configured for TPM-based auto-decryption. When GRUB is set to automatically decrypt disks using keys stored in the TPM, it reads the decryption key into system memory. If an attacker with physical access can corrupt the underlying filesystem superblock, GRUB will fail to locate a va
osv
CVE-2021-20225P4MEDIUMCVSS 6.7fixed in 2.06vgrub 2.062021-03-03
CVE-2021-20225 [MEDIUM] CWE-787 CVE-2021-20225: A flaw was found in grub2 in versions prior to 2.06. The option parser allows an attacker to write p A flaw was found in grub2 in versions prior to 2.06. The option parser allows an attacker to write past the end of a heap-allocated buffer by calling certain commands with a large number of specific short forms of options. The highest threat from this vulnerability is to data confidentiality and integrity as well as system availability.
nvdosv
CVE-2024-45780P4MEDIUMCVSS 6.7≤ 2.122025-03-03
CVE-2024-45780 [MEDIUM] CWE-787 CVE-2024-45780: A flaw was found in grub2. When reading tar files, grub2 allocates an internal buffer for the file n A flaw was found in grub2. When reading tar files, grub2 allocates an internal buffer for the file name. However, it fails to properly verify the allocation against possible integer overflows. It's possible to cause the allocation length to overflow with a crafted tar file, leading to a heap out-of-bounds write. This flaw eventually allows an attack
nvdosv
CVE-2024-45781P4MEDIUMCVSS 6.7≥ 0, < 2.12-62025-02-18
CVE-2024-45781 [MEDIUM] CVE-2024-45781: A flaw was found in grub2 A flaw was found in grub2. When reading a symbolic link's name from a UFS filesystem, grub2 fails to validate the string length taken as an input. The lack of validation may lead to a heap out-of-bounds write, causing data integrity issues and eventually allowing an attacker to circumvent secure boot protections.
osv
CVE-2024-45776P4MEDIUMCVSS 6.7≥ 0, < 2.12-62025-02-18
CVE-2024-45776 [MEDIUM] CVE-2024-45776: When reading the language When reading the language .mo file in grub_mofile_open(), grub2 fails to verify an integer overflow when allocating its internal buffer. A crafted .mo file may lead the buffer size calculation to overflow, leading to out-of-bound reads and writes. This flaw allows an attacker to leak sensitive data or overwrite critical data, possibly circumventing secure boot protections.
osv
CVE-2024-45777P4MEDIUMCVSS 6.7≤ 2.122025-02-19
CVE-2024-45777 [MEDIUM] CWE-787 CVE-2024-45777: A flaw was found in grub2. The calculation of the translation buffer when reading a language .mo fil A flaw was found in grub2. The calculation of the translation buffer when reading a language .mo file in grub_gettext_getstr_from_position() may overflow, leading to a Out-of-bound write. This issue can be leveraged by an attacker to overwrite grub2's sensitive heap data, eventually leading to the circumvention of secure boot protections.
nvdosv
CVE-2020-15706P4MEDIUMCVSS 6.4≤ 2.042020-07-29
CVE-2020-15706 [MEDIUM] CWE-362 CVE-2020-15706: GRUB2 contains a race condition in grub_script_function_create() leading to a use-after-free vulnera GRUB2 contains a race condition in grub_script_function_create() leading to a use-after-free vulnerability which can be triggered by redefining a function whilst the same function is already executing, leading to arbitrary code execution and secure boot restriction bypass. This issue affects GRUB2 version 2.04 and prior versions.
nvdosv
CVE-2009-4128P4HIGHCVSS 7.2≥ 0, < 1.97+20091115-12009-12-01
CVE-2009-4128 [HIGH] CVE-2009-4128: GNU GRand Unified Bootloader (GRUB) 2 1 GNU GRand Unified Bootloader (GRUB) 2 1.97 only compares the submitted portion of a password with the actual password, which makes it easier for physically proximate attackers to conduct brute force attacks and bypass authentication by submitting a password whose length is 1.
osv
CVE-2020-15705P4MEDIUMCVSS 6.4≤ 2.04vFixed in 2.062020-07-29
CVE-2020-15705 [MEDIUM] CWE-347 CVE-2020-15705: GRUB2 fails to validate kernel signature when booted directly without shim, allowing secure boot to GRUB2 fails to validate kernel signature when booted directly without shim, allowing secure boot to be bypassed. This only affects systems where the kernel signing certificate has been imported directly into the secure boot database and the GRUB image is booted directly without the use of shim. This issue affects GRUB2 version 2.04 and prior versions
nvd
CVE-2024-2312P4MEDIUMCVSS 6.7fixed in 2.12-1ubuntu52024-04-05
CVE-2024-2312 [MEDIUM] CWE-416 CVE-2024-2312: GRUB2 does not call the module fini functions on exit, leading to Debian/Ubuntu's peimage GRUB2 modu GRUB2 does not call the module fini functions on exit, leading to Debian/Ubuntu's peimage GRUB2 module leaving UEFI system table hooks after exit. This lead to a use-after-free condition, and could possibly lead to secure boot bypass.
nvdosv
Gnu Grub2 vulnerabilities | cvebase