CVE-2020-14310: Buffer Overflow

Published Jun 29, 2020
·
Updated

A flaw was found in grub2. An expected font value is not verified before proceeding with buffer allocations allowing an attacker to use a malicious font file to create an arithmetic overflow, zero-sized allocation, and further heap-based buffer overflow. The highest threat from this vulnerability is to data integrity and system availability.

Other sources

Integer overflow in readsectionasstring triggered by a specially crafted font file containing a NAME section with a length of UINT32MAX, which leads to a zero-sized allocation and subsequent heap buffer overflow with attacker controlled data.

Red Hat

There is an issue on grub2 before version 2.06 at function readsectionasstring(). It expects a font name to be at max UINT32MAX - 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 UINT32MAX leading to readsectionasstring() to an arithmetic overflow zero-sized allocation and further heap-based buffer overflow.

Microsoft

There is an issue on grub2 before version 2.06 at function readsectionasstring(). It expects a font name to be at max UINT32MAX - 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 UINT32MAX, leading to readsectionasstring() to an arithmetic overflow, zero-sized allocation and further heap-based buffer overflow.

Affected Software

46 affected componentsFixes available
redhat/fwupdate<0:12-6.el7_8
0:12-6.el7_8
redhat/grub2<1:2.02-0.86.el7_8
1:2.02-0.86.el7_8
redhat/shim<0:15-7.el7_9
0:15-7.el7_9
redhat/shim-signed<0:15-7.el7_8
0:15-7.el7_8
redhat/grub2<1:2.02-0.86.el7_2
1:2.02-0.86.el7_2
redhat/shim<0:15-8.el7
0:15-8.el7
redhat/shim-signed<0:15-8.el7_2
0:15-8.el7_2
redhat/grub2<1:2.02-0.86.el7
1:2.02-0.86.el7
redhat/shim-signed<0:15-8.el7_3
0:15-8.el7_3
redhat/fwupdate<0:9-10.el7_4
0:9-10.el7_4
redhat/grub2<1:2.02-0.86.el7_4
1:2.02-0.86.el7_4
redhat/shim-signed<0:15-8.el7_4
0:15-8.el7_4
redhat/fwupdate<0:12-6.el7_6
0:12-6.el7_6
redhat/grub2<1:2.02-0.86.el7_6
1:2.02-0.86.el7_6
redhat/shim-signed<0:15-8.el7_6
0:15-8.el7_6
redhat/fwupdate<0:12-6.el7_7
0:12-6.el7_7
redhat/grub2<1:2.02-0.86.el7_7
1:2.02-0.86.el7_7
redhat/shim-signed<0:15-8.el7_7
0:15-8.el7_7
redhat/fwupd<0:1.1.4-7.el8_2
0:1.1.4-7.el8_2
redhat/grub2<1:2.02-87.el8_2
1:2.02-87.el8_2
redhat/shim<0:15-14.el8_2
0:15-14.el8_2
redhat/shim-unsigned-x64<0:15-7.el8
0:15-7.el8
redhat/fwupd<0:1.1.4-2.el8_0
0:1.1.4-2.el8_0
redhat/grub2<1:2.02-87.el8_0
1:2.02-87.el8_0
redhat/shim<0:15-14.el8_0
0:15-14.el8_0
redhat/fwupd<0:1.1.4-2.el8_1
0:1.1.4-2.el8_1
redhat/grub2<1:2.02-87.el8_1
1:2.02-87.el8_1
redhat/shim<0:15-14.el8_1
0:15-14.el8_1
redhat/grub<2.06
2.06
GNU GRUB2<2.06
redhat Enterprise Linux=7.0
redhat Enterprise Linux=8.0
redhat Enterprise Linux Eus=8.1
redhat Enterprise Linux Eus=8.2
redhat Enterprise Linux Server Aus=8.2
redhat Enterprise Linux Server Tus=8.2
openSUSE Leap=15.1
openSUSE Leap=15.2
Canonical Ubuntu Linux=14.04
Canonical Ubuntu Linux=16.04
Canonical Ubuntu Linux=18.04
Canonical Ubuntu Linux=20.04
Microsoft cm1 grub2 2.06~rc1-4
Microsoft azl3 grub2 2.06-23
Microsoft cbl2 grub2 2.06~rc1-7
debian/grub2
2.06-3~deb11u62.06-13+deb12u12.12-92.14~git20250718.0e36779-22.14-2

Event History

Jul 29, 2020
CVE Published
05:00 PM
Jul 31, 2020
CVE Published
via MITRE·08:55 PM
Data Sourced
via MITRE·08:55 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·10:15 PM
DescriptionSeverityWeaknessAffected Software
Sep 25, 2020
Data Sourced
via Microsoft·07:00 AM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·07:00 AM
Affected Software
Updated
via Microsoft·07:00 AM
DescriptionSeverityWeakness
Jan 11, 2024
Data Sourced
via Launchpad·11:40 PM
Description
Feb 26, 2026
Data Sourced
via Ubuntu·06:24 PM
RemedyDescriptionSeverityAffected Software
Data Sourced
via Debian·06:24 PM
DescriptionAffected Software

Frequently Asked Questions

1

What is CVE-2020-14310?

CVE-2020-14310 is a vulnerability in grub2 that allows an attacker to craft a malicious font name, leading to buffer overflow.

2

What is the severity of CVE-2020-14310?

CVE-2020-14310 has a severity rating of 5.7 (medium).

3

How does CVE-2020-14310 impact affected software?

CVE-2020-14310 impacts affected software by allowing an attacker to exploit a buffer overflow vulnerability in grub2.

4

How can I fix CVE-2020-14310?

To fix CVE-2020-14310, you should upgrade to version 2.06 of grub2 or apply the appropriate security updates provided by your software vendor.

5

Where can I find more information about CVE-2020-14310?

You can find more information about CVE-2020-14310 on the Red Hat website, including the official advisory and CVE page.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203