Heap-based buffer overflow in grub2
Key facts
- Attack vector
- Local
- Privileges required
- High
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- None · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA, Red Hat and Microsoft.
Summary
There is an issue on grub2 before version 2.06 at function read_section_as_string(). It expects a font name to be at max UINT32_MAX - 1 length in bytes but it doesn't verify it before proceed with buffer allocation to read the value from the font value. An attacker may leverage that by crafting a malicious font file which has a name with UINT32_MAX, leading to read_section_as_string() to an arithmetic overflow, zero-sized allocation and further heap-based buffer overflow.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| The Grub2 Project | grub2 | 2.06 | — | No fix listed | CNA |
- grub2 VendorThe Grub2 Project Affected 2.06 Fixed in — No fix listed CNA
CPE configurations NVD · 13
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:gnu:grub2:*:*:*:*:*:*:*:* | before 2.06 | Vulnerable | GNU |
| cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:* | 7.0 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:* | 8.0 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux_eus:8.1:*:*:*:*:*:*:* | 8.1 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux_eus:8.2:*:*:*:*:*:*:* | 8.2 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux_server_aus:8.2:*:*:*:*:*:*:* | 8.2 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux_server_tus:8.2:*:*:*:*:*:*:* | 8.2 | Vulnerable | Red Hat |
| cpe:2.3:o:opensuse:leap:15.1:*:*:*:*:*:*:* | 15.1 | Vulnerable | openSUSE |
| cpe:2.3:o:opensuse:leap:15.2:*:*:*:*:*:*:* | 15.2 | Vulnerable | openSUSE |
| cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:esm:*:*:* | 14.04 | Vulnerable | Canonical |
- cpe:2.3:a:gnu:grub2:*:*:*:*:*:*:*:* Versions before 2.06 Vulnerable ·GNU
- cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:* Versions 7.0 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:* Versions 8.0 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux_eus:8.1:*:*:*:*:*:*:* Versions 8.1 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux_eus:8.2:*:*:*:*:*:*:* Versions 8.2 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux_server_aus:8.2:*:*:*:*:*:*:* Versions 8.2 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux_server_tus:8.2:*:*:*:*:*:*:* Versions 8.2 Vulnerable ·Red Hat
- cpe:2.3:o:opensuse:leap:15.1:*:*:*:*:*:*:* Versions 15.1 Vulnerable ·openSUSE
- cpe:2.3:o:opensuse:leap:15.2:*:*:*:*:*:*:* Versions 15.2 Vulnerable ·openSUSE
- cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:esm:*:*:* Versions 14.04 Vulnerable ·Canonical
Remediation
Red Hat 9 advisories
- RHSA-2020:3274 Released 2020-08-03 · Red Hat rating Moderategrub2 security and bug fix update
- Red Hat Enterprise Linux ComputeNode EUS (v. 7.7) fwupdate-12-6.el7_7, fwupdate-efi-12-6.el7_7, fwupdate-libs-12-6.el7_7 +18
- Red Hat Enterprise Linux ComputeNode Optional EUS (v. 7.7) fwupdate-devel-12-6.el7_7, grub2-efi-aa64-modules-1:2.02-0.86.el7_7, grub2-efi-ia32-cdboot-1:2.02-0.86.el7_7 +4
- Red Hat Enterprise Linux Server EUS (v. 7.7) fwupdate-12-6.el7_7, fwupdate-efi-12-6.el7_7, fwupdate-libs-12-6.el7_7 +22
- Red Hat Enterprise Linux Server Optional EUS (v. 7.7) fwupdate-devel-12-6.el7_7, grub2-efi-aa64-modules-1:2.02-0.86.el7_7, grub2-efi-ia32-cdboot-1:2.02-0.86.el7_7 +7
- RHSA-2020:3276 Released 2020-08-03 · Red Hat rating Moderategrub2 security and bug fix update
- Red Hat Enterprise Linux Server AUS (v. 7.3) grub2-1:2.02-0.86.el7, grub2-common-1:2.02-0.86.el7, grub2-efi-ia32-1:2.02-0.86.el7 +17
- Red Hat Enterprise Linux Server E4S (v. 7.3) grub2-1:2.02-0.86.el7, grub2-common-1:2.02-0.86.el7, grub2-efi-aa64-modules-1:2.02-0.86.el7 +21
- Red Hat Enterprise Linux Server Optional AUS (v. 7.3) grub2-1:2.02-0.86.el7, grub2-common-1:2.02-0.86.el7, grub2-efi-aa64-modules-1:2.02-0.86.el7 +17
- Red Hat Enterprise Linux Server Optional E4S (v. 7.3) grub2-1:2.02-0.86.el7, grub2-common-1:2.02-0.86.el7, grub2-efi-aa64-modules-1:2.02-0.86.el7 +18
- Red Hat Enterprise Linux Server Optional TUS (v. 7.3) grub2-1:2.02-0.86.el7, grub2-common-1:2.02-0.86.el7, grub2-efi-aa64-modules-1:2.02-0.86.el7 +17
- Red Hat Enterprise Linux Server TUS (v. 7.3) grub2-1:2.02-0.86.el7, grub2-common-1:2.02-0.86.el7, grub2-efi-aa64-modules-1:2.02-0.86.el7 +20
- RHSA-2020:3271 Released 2020-08-03 · Red Hat rating Moderategrub2 security and bug fix update
- Red Hat Enterprise Linux ComputeNode EUS (v. 7.6) fwupdate-12-6.el7_6, fwupdate-efi-12-6.el7_6, fwupdate-libs-12-6.el7_6 +18
- Red Hat Enterprise Linux ComputeNode Optional EUS (v. 7.6) fwupdate-devel-12-6.el7_6, grub2-efi-aa64-modules-1:2.02-0.86.el7_6, grub2-efi-ia32-cdboot-1:2.02-0.86.el7_6 +4
- Red Hat Enterprise Linux Server EUS (v. 7.6) fwupdate-12-6.el7_6, fwupdate-efi-12-6.el7_6, fwupdate-libs-12-6.el7_6 +22
- Red Hat Enterprise Linux Server Optional EUS (v. 7.6) fwupdate-devel-12-6.el7_6, grub2-efi-aa64-modules-1:2.02-0.86.el7_6, grub2-efi-ia32-cdboot-1:2.02-0.86.el7_6 +7
- Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server (v. 7) grub2-1:2.02-0.86.el7_6, grub2-common-1:2.02-0.86.el7_6, grub2-ppc64le-1:2.02-0.86.el7_6 +4
- Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server Optional (v. 7) grub2-efi-aa64-modules-1:2.02-0.86.el7_6, grub2-efi-ia32-modules-1:2.02-0.86.el7_6, grub2-efi-x64-modules-1:2.02-0.86.el7_6 +3
Show 6 more Red Hat advisories
- RHSA-2020:3275 Released 2020-08-03 · Red Hat rating Moderategrub2 security and bug fix update
- Red Hat Enterprise Linux Server AUS (v. 7.4) fwupdate-9-10.el7_4, fwupdate-efi-9-10.el7_4, fwupdate-libs-9-10.el7_4 +18
- Red Hat Enterprise Linux Server E4S (v. 7.4) fwupdate-9-10.el7_4, fwupdate-efi-9-10.el7_4, fwupdate-libs-9-10.el7_4 +20
- Red Hat Enterprise Linux Server Optional AUS (v. 7.4) fwupdate-9-10.el7_4, fwupdate-devel-9-10.el7_4, grub2-efi-aa64-modules-1:2.02-0.86.el7_4 +5
- Red Hat Enterprise Linux Server Optional E4S (v. 7.4) fwupdate-9-10.el7_4, fwupdate-devel-9-10.el7_4, grub2-efi-aa64-modules-1:2.02-0.86.el7_4 +8
- Red Hat Enterprise Linux Server Optional TUS (v. 7.4) fwupdate-9-10.el7_4, fwupdate-devel-9-10.el7_4, grub2-efi-aa64-modules-1:2.02-0.86.el7_4 +5
- Red Hat Enterprise Linux Server TUS (v. 7.4) fwupdate-9-10.el7_4, fwupdate-efi-9-10.el7_4, fwupdate-libs-9-10.el7_4 +18
- RHSA-2020:3273 Released 2020-08-03 · Red Hat rating Moderategrub2 security and bug fix update
- Red Hat Enterprise Linux Server AUS (v. 7.2) grub2-1:2.02-0.86.el7_2, grub2-common-1:2.02-0.86.el7_2, grub2-efi-ia32-1:2.02-0.86.el7_2 +14
- Red Hat Enterprise Linux Server Optional AUS (v. 7.2) grub2-1:2.02-0.86.el7_2, grub2-efi-aa64-modules-1:2.02-0.86.el7_2, grub2-efi-ia32-cdboot-1:2.02-0.86.el7_2 +10
- RHSA-2020:3227 Released 2020-07-29 · Red Hat rating Moderategrub2 security update
- Red Hat Enterprise Linux BaseOS E4S (v. 8.0) fwupd-1.1.4-2.el8_0, grub2-1:2.02-87.el8_0, grub2-common-1:2.02-87.el8_0 +18
- RHSA-2020:3217 Released 2020-07-29 · Red Hat rating Moderategrub2 security and bug fix update
- Red Hat Enterprise Linux Client (v. 7) fwupdate-12-6.el7_8, fwupdate-efi-12-6.el7_8, fwupdate-libs-12-6.el7_8 +18
- Red Hat Enterprise Linux Client Optional (v. 7) fwupdate-devel-12-6.el7_8, grub2-efi-aa64-modules-1:2.02-0.86.el7_8, grub2-efi-ia32-cdboot-1:2.02-0.86.el7_8 +4
- Red Hat Enterprise Linux ComputeNode (v. 7) fwupdate-12-6.el7_8, fwupdate-efi-12-6.el7_8, fwupdate-libs-12-6.el7_8 +18
- Red Hat Enterprise Linux ComputeNode Optional (v. 7) fwupdate-devel-12-6.el7_8, grub2-efi-aa64-modules-1:2.02-0.86.el7_8, grub2-efi-ia32-cdboot-1:2.02-0.86.el7_8 +4
- Red Hat Enterprise Linux Server (v. 7) fwupdate-12-6.el7_8, fwupdate-efi-12-6.el7_8, fwupdate-libs-12-6.el7_8 +22
- Red Hat Enterprise Linux Server Optional (v. 7) fwupdate-devel-12-6.el7_8, grub2-efi-aa64-modules-1:2.02-0.86.el7_8, grub2-efi-ia32-cdboot-1:2.02-0.86.el7_8 +7
- Red Hat Enterprise Linux Workstation (v. 7) fwupdate-12-6.el7_8, fwupdate-efi-12-6.el7_8, fwupdate-libs-12-6.el7_8 +18
- Red Hat Enterprise Linux Workstation Optional (v. 7) fwupdate-devel-12-6.el7_8, grub2-efi-aa64-modules-1:2.02-0.86.el7_8, grub2-efi-ia32-cdboot-1:2.02-0.86.el7_8 +4
- RHSA-2020:3223 Released 2020-07-29 · Red Hat rating Moderategrub2 security update
- Red Hat CodeReady Linux Builder EUS (v. 8.1) shim-unsigned-x64-15-7.el8
- Red Hat Enterprise Linux BaseOS EUS (v. 8.1) fwupd-1.1.4-2.el8_1, grub2-1:2.02-87.el8_1, grub2-common-1:2.02-87.el8_1 +21
- RHSA-2020:3216 Released 2020-07-29 · Red Hat rating Moderategrub2 security update
- Red Hat CodeReady Linux Builder (v. 8) shim-unsigned-x64-15-7.el8
- Red Hat Enterprise Linux BaseOS (v. 8) fwupd-1.1.4-7.el8_2, grub2-1:2.02-87.el8_2, grub2-common-1:2.02-87.el8_2 +21
Microsoft 1 update
- ADV200011 Released 2020-07-29Microsoft Guidance for Addressing Security Feature Bypass in GRUB
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Advisory ·
The Grub2 Project grub2 — openSUSE-SU-2020:1168
2 records Highest priority Priority LOW 2 LOW
Other records, highest priority first
- TI-2020-11182 Heap-based buffer overflow in grub2Priority LOW 27
- Advisory ·
The Grub2 Project grub2 — openSUSE-SU-2020:1169
2 records Highest priority Priority LOW 2 LOW
Other records, highest priority first
- TI-2020-11182 Heap-based buffer overflow in grub2Priority LOW 27
Show 1 more group
- Advisory ·
The Grub2 Project grub2 — USN-4432-1
2 records Highest priority Priority LOW 2 LOW
Other records, highest priority first
- TI-2020-11182 Heap-based buffer overflow in grub2Priority LOW 27
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat CodeReady Linux Builder (v. 8) | Fixed | RHSA-2020:3216 |
| Red Hat CodeReady Linux Builder EUS (v. 8.1) | Fixed | RHSA-2020:3223 |
| Red Hat Enterprise Linux BaseOS (v. 8) | Fixed | RHSA-2020:3216 |
| Red Hat Enterprise Linux BaseOS E4S (v. 8.0) | Fixed | RHSA-2020:3227 |
| Red Hat Enterprise Linux BaseOS EUS (v. 8.1) | Fixed | RHSA-2020:3223 |
| Red Hat Enterprise Linux Client (v. 7) | Fixed | RHSA-2020:3217 |
| Red Hat Enterprise Linux Client Optional (v. 7) | Fixed | RHSA-2020:3217 |
| Red Hat Enterprise Linux ComputeNode (v. 7) | Fixed | RHSA-2020:3217 |
| Red Hat Enterprise Linux ComputeNode EUS (v. 7.6) | Fixed | RHSA-2020:3271 |
| Red Hat Enterprise Linux ComputeNode EUS (v. 7.7) | Fixed | RHSA-2020:3274 |
| Red Hat Enterprise Linux ComputeNode Optional (v. 7) | Fixed | RHSA-2020:3217 |
| Red Hat Enterprise Linux ComputeNode Optional EUS (v. 7.6) | Fixed | RHSA-2020:3271 |
| Red Hat Enterprise Linux ComputeNode Optional EUS (v. 7.7) | Fixed | RHSA-2020:3274 |
| Red Hat Enterprise Linux Server (v. 7) | Fixed | RHSA-2020:3217 |
| Red Hat Enterprise Linux Server AUS (v. 7.2) | Fixed | RHSA-2020:3273 |
| Red Hat Enterprise Linux Server AUS (v. 7.3) | Fixed | RHSA-2020:3276 |
| Red Hat Enterprise Linux Server AUS (v. 7.4) | Fixed | RHSA-2020:3275 |
| Red Hat Enterprise Linux Server E4S (v. 7.3) | Fixed | RHSA-2020:3276 |
| Red Hat Enterprise Linux Server E4S (v. 7.4) | Fixed | RHSA-2020:3275 |
| Red Hat Enterprise Linux Server EUS (v. 7.6) | Fixed | RHSA-2020:3271 |
| Red Hat Enterprise Linux Server EUS (v. 7.7) | Fixed | RHSA-2020:3274 |
| Red Hat Enterprise Linux Server Optional (v. 7) | Fixed | RHSA-2020:3217 |
| Red Hat Enterprise Linux Server Optional AUS (v. 7.2) | Fixed | RHSA-2020:3273 |
| Red Hat Enterprise Linux Server Optional AUS (v. 7.3) | Fixed | RHSA-2020:3276 |
| Red Hat Enterprise Linux Server Optional AUS (v. 7.4) | Fixed | RHSA-2020:3275 |
| Red Hat Enterprise Linux Server Optional E4S (v. 7.3) | Fixed | RHSA-2020:3276 |
| Red Hat Enterprise Linux Server Optional E4S (v. 7.4) | Fixed | RHSA-2020:3275 |
| Red Hat Enterprise Linux Server Optional EUS (v. 7.6) | Fixed | RHSA-2020:3271 |
| Red Hat Enterprise Linux Server Optional EUS (v. 7.7) | Fixed | RHSA-2020:3274 |
| Red Hat Enterprise Linux Server Optional TUS (v. 7.3) | Fixed | RHSA-2020:3276 |
| Red Hat Enterprise Linux Server Optional TUS (v. 7.4) | Fixed | RHSA-2020:3275 |
| Red Hat Enterprise Linux Server TUS (v. 7.3) | Fixed | RHSA-2020:3276 |
| Red Hat Enterprise Linux Server TUS (v. 7.4) | Fixed | RHSA-2020:3275 |
| Red Hat Enterprise Linux Workstation (v. 7) | Fixed | RHSA-2020:3217 |
| Red Hat Enterprise Linux Workstation Optional (v. 7) | Fixed | RHSA-2020:3217 |
| Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server (v. 7) | Fixed | RHSA-2020:3271 |
| Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server Optional (v. 7) | Fixed | RHSA-2020:3271 |
Timeline
- 2026-10-02 Threatist record created from CVE-2020-14310
- 2026-10-03 Alias added: GHSA-849w-6cw8-9p7m
References
Sources
- CVE-2020-14310 · CVE Program
- CVE-2020-14310 · NVD
- FIRST EPSS
- GHSA-849w-6cw8-9p7m · GitHub Advisory Database · CC BY 4.0
- CVE-2020-14310 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences