Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2025-1125: When reading data from a hfs filesystem, grub's hfs filesystem module uses user-controlled parameters from the

37
Routine
HIGH 7.8UPGRADE

CVE-2025-1125 is a high-severity flaw (CVSS 7.8) affecting grub2. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.

When reading data from a hfs filesystem, grub's hfs filesystem module uses user-controlled parameters from the filesystem metadata to calculate the internal buffers size, however it misses to properly check for integer overflows. A maliciouly crafted filesystem may lead some of those buffer size calculation to overflow, causing it to perform a grub_malloc() operation with a smaller size than expected. As a result the hfsplus_open_compressed_real(

Why this priority

  • High severity

A fixed release or distro patch exists.

Risk facts

CVSS score7.8 (High)
Attack vectorLocal
Attack complexityLow
Privileges neededNone
User interactionRequired
EPSS exploit chance0.5% (top 61%)
CISA exploited listNo
WeaknessCWE-787
Published2025-03-03
Last modified2026-10-21
Publisher (CNA): Red Hat, Inc. · Vendor: gnu

Share: LinkedIn · X · Reddit

Last updated 2026-10-21 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

gnu grub2 UPGRADE
Affected: <= 2.12
Fixed in: newer than 2.12
Safe to downgrade to: no unaffected older release
1. Check installed version
apt-cache policy grub2 || rpm -q grub2 || grub2 --version
2. UPGRADE to newer than 2.12 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade grub2
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade grub2
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.
Verify at the official source NVD · CVE Program · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.

Quick answers

How do I fix CVE-2025-1125?

grub2: upgrade to newer than 2.12. Exact commands for each OS are on this page.

Is CVE-2025-1125 being exploited?

CVE-2025-1125 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.

What does CVE-2025-1125 affect?

CVE-2025-1125 affects grub2. Severity is high (CVSS 7.8). When reading data from a hfs filesystem, grub's hfs filesystem module uses user-controlled parameters from the filesystem metadata to calculate the internal buffers size, however it misses to properly check for integer overflows. A maliciou

How urgent is CVE-2025-1125?

Priority 37/100. High severity

Related CVEs

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.