CVE-2025-0684
Description
A flaw was found in grub2. When performing a symlink lookup from a reiserfs filesystem, grub's reiserfs fs 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_reiserfs_read_symlink() will call grub_reiserfs_read_real() with a overflown length parameter, leading to a heap based out-of-bounds write during data reading. This flaw may be leveraged to corrupt grub's internal critical data and can result in arbitrary code execution, by-passing secure boot protections.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
31- osv-coords29 versionspkg:rpm/opensuse/grub2&distro=openSUSE%20Leap%2015.6pkg:rpm/opensuse/grub2&distro=openSUSE%20Tumbleweedpkg:rpm/suse/grub2&distro=SUSE%20Enterprise%20Storage%207.1pkg:rpm/suse/grub2&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP3-LTSSpkg:rpm/suse/grub2&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP4-ESPOSpkg:rpm/suse/grub2&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP4-LTSSpkg:rpm/suse/grub2&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP5-ESPOSpkg:rpm/suse/grub2&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP5-LTSSpkg:rpm/suse/grub2&distro=SUSE%20Linux%20Enterprise%20Micro%205.1pkg:rpm/suse/grub2&distro=SUSE%20Linux%20Enterprise%20Micro%205.2pkg:rpm/suse/grub2&distro=SUSE%20Linux%20Enterprise%20Micro%205.3pkg:rpm/suse/grub2&distro=SUSE%20Linux%20Enterprise%20Micro%205.4pkg:rpm/suse/grub2&distro=SUSE%20Linux%20Enterprise%20Micro%205.5pkg:rpm/suse/grub2&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP6pkg:rpm/suse/grub2&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Server%20Applications%2015%20SP6pkg:rpm/suse/grub2&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP5-LTSSpkg:rpm/suse/grub2&distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP3-LTSSpkg:rpm/suse/grub2&distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP4-LTSSpkg:rpm/suse/grub2&distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP5-LTSSpkg:rpm/suse/grub2&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP3pkg:rpm/suse/grub2&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP4pkg:rpm/suse/grub2&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP5pkg:rpm/suse/grub2&distro=SUSE%20Linux%20Enterprise%20Server%20LTSS%20Extended%20Security%2012%20SP5pkg:rpm/suse/grub2&distro=SUSE%20Linux%20Micro%206.0pkg:rpm/suse/grub2&distro=SUSE%20Linux%20Micro%206.1pkg:rpm/suse/grub2&distro=SUSE%20Manager%20Proxy%204.3pkg:rpm/suse/grub2&distro=SUSE%20Manager%20Proxy%20Module%204.3pkg:rpm/suse/grub2&distro=SUSE%20Manager%20Server%204.3pkg:rpm/suse/grub2&distro=SUSE%20Manager%20Server%20Module%204.3
< 2.12-150600.8.18.2+ 28 more
- (no CPE)range: < 2.12-150600.8.18.2
- (no CPE)range: < 2.12-35.1
- (no CPE)range: < 2.04-150300.22.52.3
- (no CPE)range: < 2.04-150300.22.52.3
- (no CPE)range: < 2.06-150400.11.55.2
- (no CPE)range: < 2.06-150400.11.55.2
- (no CPE)range: < 2.06-150500.29.43.2
- (no CPE)range: < 2.06-150500.29.43.2
- (no CPE)range: < 2.04-150300.3.11.1
- (no CPE)range: < 2.04-150300.22.52.3
- (no CPE)range: < 2.06-150400.11.55.2
- (no CPE)range: < 2.06-150400.11.55.2
- (no CPE)range: < 2.06-150500.29.43.2
- (no CPE)range: < 2.12-150600.8.18.2
- (no CPE)range: < 2.12-150600.8.18.2
- (no CPE)range: < 2.02-181.2
- (no CPE)range: < 2.04-150300.22.52.3
- (no CPE)range: < 2.06-150400.11.55.2
- (no CPE)range: < 2.06-150500.29.43.2
- (no CPE)range: < 2.04-150300.22.52.3
- (no CPE)range: < 2.06-150400.11.55.2
- (no CPE)range: < 2.06-150500.29.43.2
- (no CPE)range: < 2.02-181.2
- (no CPE)range: < 2.12~rc1-6.1
- (no CPE)range: < 2.12-slfo.1.1_2.1
- (no CPE)range: < 2.06-150400.11.55.2
- (no CPE)range: < 2.06-150400.11.55.2
- (no CPE)range: < 2.06-150400.11.55.2
- (no CPE)range: < 2.06-150400.11.55.2
Patches
Vulnerability mechanics
References
3- access.redhat.com/security/cve/CVE-2025-0684nvdThird Party Advisory
- bugzilla.redhat.com/show_bug.cginvdIssue Tracking
- lists.gnu.org/archive/html/grub-devel/2025-02/msg00024.htmlnvd
News mentions
0No linked articles in our index yet.