CVE-2025-0677
highpriority · track · 0EPSS 0.003 · 25 %ileDEEURUUSEPSS · scored 2026-10-21
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–high · 5.9–7.8
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (55)
Products and version ranges known to be affected.
advisories (1)
Vendor and ecosystem advisories describing this.
- WID-SEC-W-2025-0396Grub: Mehrere SchwachstellenDeutsch2025-02-18csaf · cert_bundDE
Ein Angreifer kann mehrere Schwachstellen in Grub ausnutzen, um beliebigen Code auszuführen, einen Denial-of-Service-Zustand zu erzeugen, Daten zu manipulieren, Sicherheitsmaßnahmen zu umgehen, vertrauliche Informationen preiszugeben oder nicht spezifizierte Auswirkungen zu verursachen.
also known as (4)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (14)
External citations — patches, advisories, analysis.
- https://access.redhat.com/security/cve/CVE-2025-0677cnnvd
- https://access.redhat.com/security/cve/cve-2025-0677cnnvd
- https://bugzilla.redhat.com/show_bug.cgi?id=2346116cnnvd
- https://www.gnu.org/software/grub/grub-download.htmlPatchcnnvd
- https://access.redhat.com/errata/RHSA-2025:16154enisa_euvd
- https://access.redhat.com/errata/RHSA-2025:6990enisa_euvd
- https://access.redhat.com/security/cve/CVE-2025-0677enisa_euvd
- https://bugzilla.redhat.com/show_bug.cgi?id=2346116enisa_euvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan