Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2025-1125

7.8 · HIGH
Published Mar 3, 2025 gnu CWE-787 EPSS 0.43% (36th pctl)

Overview

CVE-2025-1125 is a high-severity vulnerability affecting gnu grub2. It was published on March 3, 2025 and has a CVSS 3.1 base score of 7.8 (HIGH).

This vulnerability has a CVSS 3.1 base score of 7.8, rated HIGH. It requires local or adjacent network access to exploit. No authentication or special privileges are required for exploitation.

Technical Description

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() function will write past of the internal buffer length. This flaw may be leveraged to corrupt grub's internal critical data and may result in arbitrary code execution by-passing secure boot protections.

Remediation

Check the references section for vendor advisories and patches from gnu. Update grub2 to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
gnu grub2 0 Affected

Frequently Asked Questions

What is CVE-2025-1125?

CVE-2025-1125 is a high-severity vulnerability affecting gnu grub2. It was published on March 3, 2025 and has a CVSS 3.1 base score of 7.8 (HIGH).

How severe is CVE-2025-1125?

This vulnerability has a CVSS 3.1 base score of 7.8, rated HIGH. It requires local or adjacent network access to exploit. No authentication or special privileges are required for exploitation.

How do I fix or remediate CVE-2025-1125?

Check the references section for vendor advisories and patches from gnu. Update grub2 to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2025-1125?

CyberStrike's AI-powered security agents can automatically detect CVE-2025-1125 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.