CVE-2020-14310

State
Published
Severity
5.7 Medium
Published
Jul 31, 2020
Updated
Aug 4, 2024
Reserved
Jun 17, 2020

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.15.7 MediumCVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:N/I:H/A:Hredhat

Weaknesses

Affected Products

ProductVersions
grub2The Grub2 Project
  • 2.06Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.