# CVE-2020-14310: There is an issue on grub2 before version 2.06 at function readsectionasstring().

- Severity: Medium 5.7 (CVSS:3.1, scored by redhat) `CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:N/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.46%, higher than 41% of CVEs (2026-12-01)
- Published: 2020-07-31T20:55:55.000Z
- Modified: 2026-06-17T02:54:30.740Z
- Weaknesses: CWE-122, CWE-190
- Assigned by: redhat

## 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.

(As written by CVE List.)

## Affected

- The Grub2 Project grub2: 2.06
- gnu grub2: before 2.06
- redhat enterprise_linux: 7.0; 8.0
- redhat enterprise_linux_eus: 8.1; 8.2
- redhat enterprise_linux_server_aus: 8.2
- redhat enterprise_linux_server_tus: 8.2
- opensuse leap: 15.1; 15.2
- canonical ubuntu_linux: 14.04; 16.04; 18.04; 20.04

## Every score

- redhat: CVSS:3.1 5.7 Medium `CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:N/I:H/A:H`
- NVD: CVSS:3.1 6.0 Medium `CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:H`
- NVD: CVSS:2.0 3.6 Low `AV:L/AC:L/Au:N/C:N/I:P/A:P`

## References

- <https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-14310> (issue-tracking, vendor-advisory)
- <https://usn.ubuntu.com/4432-1/> (third-party-advisory, vendor-advisory)
- <http://lists.opensuse.org/opensuse-security-announce/2020-08/msg00017.html> (mailing-list, third-party-advisory, vendor-advisory)
- <http://lists.opensuse.org/opensuse-security-announce/2020-08/msg00016.html> (mailing-list, third-party-advisory, vendor-advisory)
- <https://security.gentoo.org/glsa/202104-05> (third-party-advisory, vendor-advisory)

## Sources

- CVE List: [CVE-2020-14310](https://www.cve.org/CVERecord?id=CVE-2020-14310), CVE Terms of Use, modified 2024-08-04
- NVD: [CVE-2020-14310](https://nvd.nist.gov/vuln/detail/CVE-2020-14310), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2020-14310 · Whole record: https://cve.day/CVE-2020-14310.json · Rebuilt by cve.day 2026-11-25T22:57:53.766Z
