CVE-2025-0685
mediumpriority · track · 26EPSS 0.003 · 19 %ileDEEURUUSEPSS · scored 2026-10-23
A flaw was found in grub2. When reading data from a jfs filesystem, grub's jfs filesystem module uses user-controlled parameters from the filesystem geometry to determine the internal buffer size, however, it improperly checks for integer overflows. A maliciouly crafted filesystem may lead some of those buffer size calculations to overflow, causing it to perform a grub_malloc() operation with a smaller size than expected. As a result, the grub_jfs_lookup_symlink() function will write past the internal buffer length during grub_jfs_read_file(). This issue can be leveraged to corrupt grub's internal critical data and may result in arbitrary code execution, by-passing secure boot protections.
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 (52)
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 (11)
External citations — patches, advisories, analysis.
- https://access.redhat.com/security/cve/CVE-2025-0685cnnvd
- https://access.redhat.com/security/cve/cve-2025-0685cnnvd
- https://bugzilla.redhat.com/show_bug.cgi?id=2346120cnnvd
- https://nvd.nist.gov/vuln/detail/CVE-2025-0685cnnvd
- https://www.gnu.org/software/grub/grub-download.htmlPatchcnnvd
- https://access.redhat.com/security/cve/CVE-2025-0685enisa_euvd
- https://bugzilla.redhat.com/show_bug.cgi?id=2346120enisa_euvd
- https://lists.gnu.org/archive/html/grub-devel/2025-02/msg00024.htmlenisa_euvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan