CVE-2020-14311
Description
Grub2 before 2.06 has a heap-based buffer overflow in ext filesystem symlink handling due to arithmetic overflow on inode size, allowing local code execution and Secure Boot bypass.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Grub2 before 2.06 has a heap-based buffer overflow in ext filesystem symlink handling due to arithmetic overflow on inode size, allowing local code execution and Secure Boot bypass.
Vulnerability
The GRUB2 bootloader before version 2.06 contains a vulnerability in the handling of symbolic links on ext filesystems. When a filesystem provides a symbolic link with an inode size equal to UINT32_MAX, an arithmetic overflow occurs during memory allocation, resulting in a zero-sized allocation. This leads to a heap-based buffer overflow when data is written into the undersized buffer [2].
Exploitation
An attacker with local access to the system can exploit this by crafting a malicious ext filesystem containing a symbolic link with a manipulated inode size. The attacker must have the ability to boot the system or load the malicious filesystem, potentially via removable media or a compromised partition. The overflow occurs during GRUB2's filesystem traversal, prior to operating system boot.
Impact
Successful exploitation allows an attacker to execute arbitrary code within the context of the GRUB2 environment. This can lead to bypass of UEFI Secure Boot restrictions, as GRUB2 runs before the operating system and is responsible for validating boot components. The attacker gains the ability to load unsigned or malicious bootloaders or kernels, compromising the entire system boot chain.
Mitigation
The vulnerability is fixed in GRUB2 version 2.06 [2]. Users should update their GRUB2 package to version 2.06 or later. For Ubuntu systems, the fix is included in USN-4432-1 [2]. No workarounds are available other than applying the patch. Check vendor advisories for distribution-specific updates.
AI Insight generated on May 27, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.
Affected products
30- osv-coords28 versionspkg:rpm/opensuse/grub2&distro=openSUSE%20Leap%2015.1pkg:rpm/opensuse/grub2&distro=openSUSE%20Leap%2015.2pkg:rpm/suse/grub2&distro=HPE%20Helion%20OpenStack%208pkg:rpm/suse/grub2&distro=SUSE%20Enterprise%20Storage%205pkg:rpm/suse/grub2&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015-ESPOSpkg:rpm/suse/grub2&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015-LTSSpkg:rpm/suse/grub2&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP1pkg:rpm/suse/grub2&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP2pkg:rpm/suse/grub2&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Server%20Applications%2015%20SP1pkg:rpm/suse/grub2&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Server%20Applications%2015%20SP2pkg:rpm/suse/grub2&distro=SUSE%20Linux%20Enterprise%20Server%2011%20SP4-LTSSpkg:rpm/suse/grub2&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP2-BCLpkg:rpm/suse/grub2&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP2-LTSSpkg:rpm/suse/grub2&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP3-BCLpkg:rpm/suse/grub2&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP3-LTSSpkg:rpm/suse/grub2&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP4-LTSSpkg:rpm/suse/grub2&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP5pkg:rpm/suse/grub2&distro=SUSE%20Linux%20Enterprise%20Server%2015-LTSSpkg:rpm/suse/grub2&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP2pkg:rpm/suse/grub2&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP3pkg:rpm/suse/grub2&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP4pkg:rpm/suse/grub2&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP5pkg:rpm/suse/grub2&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015pkg:rpm/suse/grub2&distro=SUSE%20OpenStack%20Cloud%207pkg:rpm/suse/grub2&distro=SUSE%20OpenStack%20Cloud%208pkg:rpm/suse/grub2&distro=SUSE%20OpenStack%20Cloud%209pkg:rpm/suse/grub2&distro=SUSE%20OpenStack%20Cloud%20Crowbar%208pkg:rpm/suse/grub2&distro=SUSE%20OpenStack%20Cloud%20Crowbar%209
< 2.02-lp151.21.21.4+ 27 more
- (no CPE)range: < 2.02-lp151.21.21.4
- (no CPE)range: < 2.04-lp152.7.3.4
- (no CPE)range: < 2.02-4.53.1
- (no CPE)range: < 2.02-4.53.1
- (no CPE)range: < 2.02-19.48.1
- (no CPE)range: < 2.02-19.48.1
- (no CPE)range: < 2.02-26.25.1
- (no CPE)range: < 2.04-9.7.1
- (no CPE)range: < 2.02-26.25.1
- (no CPE)range: < 2.04-9.7.1
- (no CPE)range: < 2.00-0.66.15.1
- (no CPE)range: < 2.02~beta2-115.49.1
- (no CPE)range: < 2.02~beta2-115.49.1
- (no CPE)range: < 2.02-4.53.1
- (no CPE)range: < 2.02-4.53.1
- (no CPE)range: < 2.02-12.31.1
- (no CPE)range: < 2.02-12.31.1
- (no CPE)range: < 2.02-19.48.1
- (no CPE)range: < 2.02~beta2-115.49.1
- (no CPE)range: < 2.02-4.53.1
- (no CPE)range: < 2.02-12.31.1
- (no CPE)range: < 2.02-12.31.1
- (no CPE)range: < 2.02-19.48.1
- (no CPE)range: < 2.02~beta2-115.49.1
- (no CPE)range: < 2.02-4.53.1
- (no CPE)range: < 2.02-12.31.1
- (no CPE)range: < 2.02-4.53.1
- (no CPE)range: < 2.02-12.31.1
Patches
0No patches discovered yet.
Vulnerability mechanics
No source-code context for this CVE — mechanics is only generated when we can read the actual fix diff. Without that, the four sections (root cause, attack vector, affected code, fix) would be speculation rather than analysis.
References
8- lists.opensuse.org/opensuse-security-announce/2020-08/msg00016.htmlmitrevendor-advisoryx_refsource_SUSE
- lists.opensuse.org/opensuse-security-announce/2020-08/msg00017.htmlmitrevendor-advisoryx_refsource_SUSE
- security.gentoo.org/glsa/202104-05mitrevendor-advisoryx_refsource_GENTOO
- usn.ubuntu.com/4432-1/mitrevendor-advisoryx_refsource_UBUNTU
- www.openwall.com/lists/oss-security/2021/09/17/2mitremailing-listx_refsource_MLIST
- www.openwall.com/lists/oss-security/2021/09/17/4mitremailing-listx_refsource_MLIST
- www.openwall.com/lists/oss-security/2021/09/21/1mitremailing-listx_refsource_MLIST
- bugzilla.redhat.com/show_bug.cgimitrex_refsource_CONFIRM
News mentions
0No linked articles in our index yet.