Live threats

All CVEs / Gnu

CVE-2020-14310Gnu Grub2

Medium 6.0

Priority
36
CVSS 3.1
6.0
EPSS
0.5%
probability of exploitation in 30 days · percentile 42
Auth required
Yes
Published
Jul 31, 2020
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-122, CWE-190
Vector
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Grub2.

Affected products (CPE)

VendorProductVersions
gnugrub2< 2.06
redhatenterprise_linux7.0
redhatenterprise_linux8.0
redhatenterprise_linux_eus8.1
redhatenterprise_linux_eus8.2
redhatenterprise_linux_server_aus8.2
redhatenterprise_linux_server_tus8.2
opensuseleap15.1
opensuseleap15.2
canonicalubuntu_linux14.04
canonicalubuntu_linux16.04
canonicalubuntu_linux18.04
canonicalubuntu_linux20.04

Official sources

References

Links published by the sources. Open them with care.