Advisory
UBUNTU-CVE-2025-0622
Also known as: CVE-2025-0622
Summary
The record has no summary.
Details
A flaw was found in command/gpg. In some scenarios, hooks created by loaded modules are not removed when the related module is unloaded. This flaw allows an attacker to force grub2 to call the hooks once the module that registered it was unloaded, leading to a use-after-free vulnerability. If correctly exploited, this vulnerability may result in arbitrary code execution, eventually allowing the attacker to bypass secure boot protections.
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:57 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