DEBIAN-CVE-2025-0677
Record from OSV · Published February 19, 2025
A flaw was found in grub2. When performing a symlink lookup, the grub's UFS module checks the inode's data size to allocate the internal buffer to read the file content, however, it fails to check if the symlink data size has overflown. When this occurs, grub_malloc() may be called with a smaller value than needed. When further reading the data from the disk into the buffer, the grub_ufs_lookup_symlink() function will write past the end of the allocated size. An attack can leverage this by crafting a malicious filesystem, and as a result, it will corrupt data stored in the heap, allowing for arbitrary code execution used to by-pass secure boot mechanisms.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| grub2 | Debian:13 | 2.12-6 |
| grub2 | Debian:14 | 2.12-6 |
| grub2 | Debian:12 | 2.06-13+deb12u2 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Debian:13 | grub2 | 0 |
| Debian:14 | grub2 | 0 |
| Debian:12 | grub2 | 0, 2.06-13, 2.06-13+deb12u1 |
Timeline
- Feb 19, 2025 CVE Published
- Oct 23, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln DEBIAN-CVE-2025-0677
vulnetix vdb fixes DEBIAN-CVE-2025-0677
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/DEBIAN-CVE-2025-0677/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart