grub2 — security advisory
When reading data from disk, the grub's UDF filesystem module utilizes the user controlled data length metadata to allocate its internal buffers. In certain scenarios, while iterating through disk sectors, it assumes the read size from the disk is always smaller than the allocated buffer size which is not guaranteed. A crafted filesystem image may lead to a heap-based buffer overflow resulting in critical data to be corrupted, resulting in the risk of arbitrary code execution by-passing 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-2025-0689
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 23:17 UTC · Revision 1
Source evidence
When reading data from disk, the grub's UDF filesystem module utilizes the user controlled data length metadata to allocate its internal buffers. In certain scenarios, while iterating through disk sectors, it assumes the read size from the disk is always smaller than the allocated buffer size which is not guaranteed. A crafted filesystem image may lead to a heap-based buffer overflow resulting in critical data to be corrupted, resulting in the risk of arbitrary code execution by-passing secure boot protections.
osv:DEBIAN-CVE-2025-0689
grub2
Fixed versions: 2.06-13+deb12u2
grub2
Fixed versions: 2.12-6
grub2
Fixed versions: 2.12-6
Complete source record
{
"id": "37cdaa22a9be3c06a1d995370e8f04a418ac5b6086a2f08589e7bff46c974c64",
"url": "https://osv.dev/vulnerability/DEBIAN-CVE-2025-0689",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "DEBIAN-CVE-2025-0689",
"summary": "When reading data from disk, the grub's UDF filesystem module utilizes the user controlled data length metadata to allocate its internal buffers. In certain scenarios, while iterating through disk sectors, it assumes the read size from the disk is always smaller than the allocated buffer size which is not guaranteed. A crafted filesystem image may lead to a heap-based buffer overflow resulting in critical data to be corrupted, resulting in the risk of arbitrary code execution by-passing secure boot protections.",
"evidence": "osv:DEBIAN-CVE-2025-0689",
"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": "high",
"structured": {
"id": "DEBIAN-CVE-2025-0689",
"aliases": [
"DEBIAN-CVE-2025-0689"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/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-2025-0689.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-2025-0689.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-2025-0689.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
}
],
"modified": "2026-10-23T17:47:39.994445927Z",
"provider": "osv",
"upstream": [
"CVE-2025-0689"
],
"references": [
"https://security-tracker.debian.org/tracker/CVE-2025-0689"
]
},
"related_cves": [
{
"value": "CVE-2025-0689",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 418225,
"published_at": "2025-03-03T15:15:16.147+00:00"
}