7.8

CVE-2025-0678: gnu grub2 Integer Overflow or Wraparound

CVSS: 7.8v3.1HighModified
AliasesUBUNTU-CVE-2025-0678DEBIAN-CVE-2025-0678
Published 03-03-2025Last modified 29-06-2026

Vulnerability summary

CVE-2025-0678 is a high (CVSS 7.8) Integer Overflow or Wraparound vulnerability in gnu grub2. EPSS estimates a 0.28% chance of exploitation in the next 30 days, higher than 19.5% of scored vulnerabilities.

Overall risk
31/100
0100
Medium · default modelHow is this calculated?
CVSS score
7.8/10
010
High · v3.1 (CVE.org)
EPSS score
0.28%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 9 · Related 9

Timeline

  1. 03-03-2025
    PublishedVulnerability first disclosed.
  2. 29-06-2026
    Last modifiedVulnerability information updated.

Description

A flaw was found in grub2. When reading data from a squash4 filesystem, grub's squash4 fs module uses user-controlled parameters from the filesystem geometry to determine the internal buffer size, however, it improperly checks for integer overflows. A maliciously 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 direct_read() will perform a heap based out-of-bounds write during data reading. This flaw may be leveraged to corrupt grub's internal critical data and may result in arbitrary code execution, by-passing secure boot protections.

CVSS metrics

4 scores · 4 sources · 1 version

EPSS trend

Probability

0.28%

Chance of exploitation in the next 30 days

Percentile

20%

Versus all other CVEs

30-day change

0.00 pp

From 0.28% on 18-09-2026

18-09-202618-10-2026
EPSS score
0.28%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Ubuntu3 products
  • grub2All versions (No fix recorded)
  • grub2-signedAll versions (No fix recorded)
  • grub2-unsignedAll versions (No fix recorded)
Redhat2 products
Debian1 product
  • grub2< 2.06-13+deb12u2 | < 2.12-6
Gnu1 product

4 vendors · 7 products

References

7 links