CVE-2025-0689: Grub2: udf: heap based buffer overflow in grub_udf_read_block() may lead to arbitrary code execution
CVE-2025-0689 key facts
- CISA KEV
- Not listed (catalogue checked )
- Highest advisory rating
- High
- CVSS base score
- 7.8 (Red Hat), 6.7 (NetApp)
- CVSS vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H· base score 7.8, scored by redhatAttack vector: local. Attack complexity: low. Privileges required: none. User interaction: required. Scope: unchanged. Confidentiality impact: high. Integrity impact: high. Availability impact: high.- Weakness
- CWE-120 Buffer Copy without Checking Size of Input
- EPSS
- 0.52% chance of exploitation in the next 30 days (45th percentile). FIRST EPSS, .
- CISA SSVC
- Exploitation: none observed. Automatable: no. Technical impact: total. CISA, .
- Assigned by
- redhat (CNA)
- CVE record published
- Listed by VulniPulse
- Record changed
Ratings, versions and fixes are quoted from the vendor advisories that cover only CVE-2025-0689; each belongs to its advisory, not to every product listed. How records are collected and checked.
Description
When reading data from disk, the grub's UDF filesystem module utilizes the user controlled data length metadata to allocate its internal buffers. In certain scenarios, while iterating through disk sectors, it assumes the read size from the disk is always smaller than the allocated buffer size which is not guaranteed. A crafted filesystem image may lead to a heap-based buffer overflow resulting in critical data to be corrupted, resulting in the risk of arbitrary code execution by-passing secure boot protections.
Text from the CVE.org record (redhat).
How do I fix CVE-2025-0689?
- Do not run grub2 in an untrusted environment, specifically with a UDF file system image. (Red Hat)
- Workaround: Do not run grub2 in an untrusted environment, specifically with a UDF file system image. (CVE.org record)
Vendor advisories for CVE-2025-0689
NetApp
1 advisory- Advisory severityMedium6.7
Medium [CVE-2025-0689] Grub Vulnerability in NetApp Products
NTAP-20260102-0003Source published Source updated
Multiple NetApp products incorporate Grub. Grub versions through 2.12 are susceptible to a vulnerability which when successfully exploited could lead to disclosure of sensitive information, addition or modification of data, or Denial of Service (DoS). Affected products: Active IQ Unified Manager for VMware vSphere. NetApp states there is no workaround available at this time.
- Affected products in this advisory
- Active IQ Unified Manager for VMware vSphere
- Source-reported affected versions
- 2.12
- Source-reported fixed versions
- No fixed-version detail extracted. This does not mean no fix exists.
- Mitigation guidance
- No mitigation guidance extracted; consult the source.
Red Hat
1 advisory- Advisory severityHigh7.8
High [CVE-2025-0689] heap based buffer overflow in grub_udf_read_block may lead to arbitrary code execution
CVE-2025-0689Source published Source updated
When reading data from disk, the grub's UDF filesystem module utilizes the user controlled data length metadata to allocate its internal buffers. In certain scenarios, while iterating through disk sectors, it assumes the read size from the disk is always smaller than the allocated buffer size which is not guaranteed. A crafted filesystem image may lead to a heap-based buffer overflow resulting in critical data to be corrupted, resulting in the risk of arbitrary code execution by-passing secure boot protections. To exploit this flaw, an attacker needs to trick a user into running grub2 with a specially crafted UDF file system image, limiting the exposure of this flaw. For this reason, this vulnerability has been rated with a Moderate severity. The grub2 package as shipped in Red Hat…
- Affected products in this advisory
- No product details extracted. Check the source bulletin.
- Source-reported affected versions
- Affected-version details not available in this record.
- Source-reported fixed versions
- No fixed-version detail extracted. This does not mean no fix exists.
- Mitigation guidance
- Do not run grub2 in an untrusted environment, specifically with a UDF file system image.
References
- CVE-2025-0689 recordCVE.org
- CVE-2025-0689 detailNVD
- access.redhat.com/security/cve/CVE-2025-0689vdb-entry, x_refsource_redhat
- RHBZ#2346122issue-tracking, x_refsource_redhat
- lists.gnu.org/archive/html/grub-devel/2025-02/msg00024.html
Timeline
- CVE record published
- First vendor advisory listed by VulniPulse
- CVE record last updated
More NetApp advisories
CVE-2026-114943Nov 18, 2026Java SE Vulnerability in NetApp ProductsCVE-2026-114944Nov 18, 2026Java SE Vulnerability in NetApp ProductsCVE-2026-99288Nov 18, 2026Linux Kernel Vulnerability in NetApp ProductsCVE-2026-114940Nov 18, 2026Java SE Vulnerability in NetApp ProductsCVE-2026-114820Oct 28, 2026Java SE Vulnerability in NetApp ProductsCVE-2026-22063Oct 27, 2026eMudhra CA Certificate Compromise in NetApp Products
Get an email when NetApp publishes the next one.
See NetApp's last 90 days first. Live alerts for one product are free for life; every vendor is US$15 a month after a free month.