Advisory
UBUNTU-CVE-2025-0677
Also known as: CVE-2025-0677
Summary
The record has no summary.
Details
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.
Severity
Medium Basis: CVSS v3 score 6.4, vector CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
Dates
- Published
- 2025-02-18 18:00 UTC
- Modified
- 2026-10-17 12:56 UTC
Affected packages and fixes
| Package | System | Fix |
|---|---|---|
| grub2-signed | Debian packages (deb) · Ubuntu 16.04 | No fixed version is listed. |
| grub2-unsigned | Debian packages (deb) · Ubuntu 16.04 | No fixed version is listed. |
| grub2-signed | Debian packages (deb) · Ubuntu 18.04 | No fixed version is listed. |
| grub2-unsigned | Debian packages (deb) · Ubuntu 18.04 | No fixed version is listed. |
| grub2-signed | Debian packages (deb) · Ubuntu 20.04 | No fixed version is listed. |
| grub2-unsigned | Debian packages (deb) · Ubuntu 20.04 | No fixed version is listed. |
| grub2-signed | Debian packages (deb) · Ubuntu 22.04 | No fixed version is listed. |
| grub2-unsigned | Debian packages (deb) · Ubuntu 22.04 | No fixed version is listed. |
| grub2-signed | Debian packages (deb) · Ubuntu 24.04 | No fixed version is listed. |
| grub2-unsigned | Debian packages (deb) · Ubuntu 24.04 | No fixed version is listed. |
| grub2-signed | Debian packages (deb) · Ubuntu 25.10 | No fixed version is listed. |
| grub2-unsigned | Debian packages (deb) · Ubuntu 25.10 | No fixed version is listed. |
| grub2-signed | Debian packages (deb) · Ubuntu 26.10 | No fixed version is listed. |
| grub2-unsigned | Debian packages (deb) · Ubuntu 26.10 | No fixed version is listed. |
| grub2-signed | Debian packages (deb) · Ubuntu 26.04 | No fixed version is listed. |
| grub2-unsigned | Debian packages (deb) · Ubuntu 26.04 | No fixed version is listed. |
Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Links
Source
Source: Ubuntu Security Notices · CC BY-SA 4.0