CVE-2020-14310 in Canonical Ubuntu Linux and 6 more products
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...
Affects 7 products from 4 vendors. Facts below cite their sources.
Requires local access, low complexity, high privileges required, no user interaction needed, impact contained to the vulnerable component, no confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Canonical | Ubuntu Linux | 14.04 16.04 18.04 20.04 |
| Gnu | Grub2 | < 2.06 |
| Opensuse | Leap | 15.1 15.2 |
| Redhat | Enterprise Linux | 7.0 8.0 |
| Redhat | Enterprise Linux Server Tus | 8.2 |
| Redhat | Enterprise Linux Eus | 8.1 8.2 |
| Redhat | Enterprise Linux Server Aus | 8.2 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2020-14310 |
|---|---|
| BreachSpider ID | BS-2020-GLOBAL-181645-M |
| CVSS vector | CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:H |
| Published | 2020-07-31 |
| Last modified | 2024-11-21 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-122: Heap-Based Buffer Overflow
Buffer overflow corrupting dynamically allocated heap memory, exploitable for arbitrary code execution.
CWE-190: Integer Overflow or Wraparound
Arithmetic operation exceeds the maximum integer value, wrapping around and often leading to undersized allocations.
Related attack patterns (CAPEC)
CAPEC-92 Forced Integer Overflow via CWE-122, CWE-190
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
A buffer overflow vulnerability exists in the read_section_as_string() function of GRUB2 before version 2.06 due to improper validation of font name length, potentially allowing an attacker to craft a malicious font file leading to arbitrary code execution.
An attacker can exploit this vulnerability by creating a malicious font file with a font name length set to UINT32_MAX, which can cause a buffer overflow in the read_section_as_string() function, leading to potential arbitrary code execution.
Questions
What is CVE-2020-14310?
A buffer overflow vulnerability exists in the read_section_as_string() function of GRUB2 before version 2.06 due to improper validation of font name length, potentially allowing an attacker to craft a malicious font file leading to arbitrary code execution.
What is the CVSS score for CVE-2020-14310?
CVE-2020-14310 has CVSS 6.0 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:H. EPSS: 0.5%.
Is CVE-2020-14310 actively exploited?
No confirmed active exploitation of CVE-2020-14310 as of 2026-05-30.
How do I remediate CVE-2020-14310?
Priority: HIGH. Advisory: https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-14310 PSIRT: [email protected]
What systems are affected by CVE-2020-14310?
CVE-2020-14310 affects Canonical Ubuntu Linux; Gnu Grub2; Opensuse Leap; Redhat Enterprise Linux, Enterprise Linux Server Tus, Enterprise Linux Eus, Enterprise Linux Server Aus.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Canonical","product":"Ubuntu Linux","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2024-11-21.