grub2 — security advisory
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.
- Products
- grub2
- Affected versions
- Not specified
- Fixed versions
- 2.04-9
- CVEs
- CVE-2020-14310
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 13:01 UTC · Revision 1
Source evidence
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.
osv:DEBIAN-CVE-2020-14310
grub2
Fixed versions: 2.04-9
grub2
Fixed versions: 2.04-9
grub2
Fixed versions: 2.04-9
Complete source record
{
"id": "da3fe56e4eaa3737da802675b43bb44649498ba95d5d1b05e032913e802fe192",
"url": "https://osv.dev/vulnerability/DEBIAN-CVE-2020-14310",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "DEBIAN-CVE-2020-14310",
"summary": "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.",
"evidence": "osv:DEBIAN-CVE-2020-14310",
"products": [
{
"name": {
"value": "grub2",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "2.04-9",
"evidence": "/affected/0/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "grub2",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "2.04-9",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "grub2",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "2.04-9",
"evidence": "/affected/2/ranges"
}
],
"affected_versions": []
}
],
"severity": "medium",
"structured": {
"id": "DEBIAN-CVE-2020-14310",
"aliases": [
"DEBIAN-CVE-2020-14310"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.04-9"
}
]
}
],
"package": {
"name": "grub2",
"purl": "pkg:deb/debian/grub2?arch=source&distro=bookworm",
"ecosystem": "Debian:12"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2020-14310.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.04-9"
}
]
}
],
"package": {
"name": "grub2",
"purl": "pkg:deb/debian/grub2?arch=source&distro=trixie",
"ecosystem": "Debian:13"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2020-14310.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.04-9"
}
]
}
],
"package": {
"name": "grub2",
"purl": "pkg:deb/debian/grub2?arch=source&distro=forky",
"ecosystem": "Debian:14"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2020-14310.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
}
],
"modified": "2026-10-26T12:01:27.982867584Z",
"provider": "osv",
"upstream": [
"CVE-2020-14310"
],
"references": [
"https://security-tracker.debian.org/tracker/CVE-2020-14310"
]
},
"related_cves": [
{
"value": "CVE-2020-14310",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 451677,
"published_at": "2020-07-31T22:15:11.5+00:00"
}