CVE-2020-14310

Description

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.

Severity
MEDIUM
CVSS v3
5.7
CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:N/I:H/A:H · source cna
Exploit chance (EPSS)
0.460%
chance of exploitation in the next 30 days
higher than 40.5% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
None public
Exploit references (NVD and CNA): 0
Metasploit modules: 0
Nuclei templates: 0

Weakness

Timeline

  1. 2020-07-31Published by the CNA20:55 UTC

The timeline shows what already happened. To be told when this CVE changes next, watch it from the API.

Affected products

Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.

ProductVulnerable versionsFixed in
gnu grub2before 2.06fixed in 2.062.06
canonical ubuntu_linux14.04no fix listed16.04no fix listed18.04no fix listed20.04no fix listednot listednot listednot listednot listed
opensuse leap15.1no fix listed15.2no fix listednot listednot listed
redhat enterprise_linux7.0no fix listed8.0no fix listednot listednot listed
redhat enterprise_linux_eus8.1no fix listed8.2no fix listednot listednot listed
redhat enterprise_linux_server_aus8.2no fix listednot listed
redhat enterprise_linux_server_tus8.2no fix listednot listed

Products and versions as NVD and the vendor that published the CVE list them.

References

Get more CVE data from the API.

Free without a key or signup. Pro adds monitoring and higher limits: pricing.

Sources