grub2 — security advisory
A flaw was found in grub2. When reading tar files, grub2 allocates an internal buffer for the file name. However, it fails to properly verify the allocation against possible integer overflows. It's possible to cause the allocation length to overflow with a crafted tar file, leading to a heap out-of-bounds write. This flaw eventually allows an attacker to circumvent secure boot protections.
- Products
- grub2
- Affected versions
- 2.06-13, 2.06-13+deb12u1
- Fixed versions
- 2.06-13+deb12u2, 2.12-6
- CVEs
- CVE-2024-45780
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 23:24 UTC · Revision 1
Source evidence
A flaw was found in grub2. When reading tar files, grub2 allocates an internal buffer for the file name. However, it fails to properly verify the allocation against possible integer overflows. It's possible to cause the allocation length to overflow with a crafted tar file, leading to a heap out-of-bounds write. This flaw eventually allows an attacker to circumvent secure boot protections.
osv:DEBIAN-CVE-2024-45780
grub2
Fixed versions: 2.06-13+deb12u2
grub2
Fixed versions: 2.12-6
grub2
Fixed versions: 2.12-6
Complete source record
{
"id": "750859212cf3dca380f25a66075498f4b3975d9fd16c3767b8d65cdac3b0af1c",
"url": "https://osv.dev/vulnerability/DEBIAN-CVE-2024-45780",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "DEBIAN-CVE-2024-45780",
"summary": "A flaw was found in grub2. When reading tar files, grub2 allocates an internal buffer for the file name. However, it fails to properly verify the allocation against possible integer overflows. It's possible to cause the allocation length to overflow with a crafted tar file, leading to a heap out-of-bounds write. This flaw eventually allows an attacker to circumvent secure boot protections.",
"evidence": "osv:DEBIAN-CVE-2024-45780",
"products": [
{
"name": {
"value": "grub2",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "2.06-13+deb12u2",
"evidence": "/affected/0/ranges"
}
],
"affected_versions": [
{
"value": "2.06-13",
"evidence": "/affected/0/versions"
},
{
"value": "2.06-13+deb12u1",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "grub2",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "2.12-6",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "grub2",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "2.12-6",
"evidence": "/affected/2/ranges"
}
],
"affected_versions": []
}
],
"severity": "medium",
"structured": {
"id": "DEBIAN-CVE-2024-45780",
"aliases": [
"DEBIAN-CVE-2024-45780"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.06-13+deb12u2"
}
]
}
],
"package": {
"name": "grub2",
"purl": "pkg:deb/debian/grub2?arch=source&distro=bookworm",
"ecosystem": "Debian:12"
},
"versions": [
"2.06-13",
"2.06-13+deb12u1"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2024-45780.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.12-6"
}
]
}
],
"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-2024-45780.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.12-6"
}
]
}
],
"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-2024-45780.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
}
],
"modified": "2026-10-23T17:47:42.751651104Z",
"provider": "osv",
"upstream": [
"CVE-2024-45780"
],
"references": [
"https://security-tracker.debian.org/tracker/CVE-2024-45780"
]
},
"related_cves": [
{
"value": "CVE-2024-45780",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 418501,
"published_at": "2025-03-03T15:15:14.95+00:00"
}