LiveActive security incident?Get immediate response
CVE Record

CVE-2025-0686: Grub2: romfs: integer overflow when handling symlinks may lead to heap based out-of-bounds write when reading dat

A flaw was found in grub2. When performing a symlink lookup from a romfs filesystem, grub's romfs filesystem 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 grub_romfs_read_symlink() may cause out-of-bounds writes when the calling grub_disk_read() function. This issue may be leveraged to corrupt grub's internal critical data and can result in arbitrary code execution by-passing secure boot protections.

MediumCVSS 6.4Not KEV-listedUpdated
Glexia's TakeAutomated analysismoderate

Security readout for executives and security teams

Plain-English summary

This is a bootloader parsing flaw in GRUB2’s ROMFS support. A malicious local actor with high privileges could craft filesystem data that makes GRUB allocate too little memory and corrupt critical bootloader data, potentially bypassing Secure Boot. The sources rate it medium because exploitation is local, complex, and privileged.

Executive priority

Treat this as a targeted local boot-chain risk, not a broad internet emergency. It matters most for high-assurance endpoints, servers with strict Secure Boot assumptions, and environments where privileged users or build systems can modify bootable media.

Technical view

During ROMFS symlink lookup, GRUB2 uses user-controlled filesystem geometry in buffer-size calculations and insufficiently checks integer overflow. An overflow can make grub_malloc allocate a smaller buffer than expected, leading to heap out-of-bounds writes during grub_disk_read. The stated impact includes arbitrary code execution and Secure Boot bypass.

Likely exposure

Exposure appears limited to systems where GRUB may read attacker-controlled ROMFS data before boot. The CVSS vector requires local access, high attack complexity, and high privileges. Red Hat entries in the bundle mark listed RHEL and OpenShift products as unaffected, so product impact should be verified with each vendor.

Exploitation context

The bundle does not show KEV listing or active exploitation. The described path requires a maliciously crafted filesystem and enough local control to influence what GRUB reads. That makes opportunistic remote exploitation unlikely, but compromise of boot media, images, or privileged local administration paths remains relevant.

Researcher notes

The strongest evidence is the CVE description and Red Hat reference data. Affected-product evidence is limited in the provided bundle, and listed Red Hat products are marked unaffected. No exploit-in-the-wild signal is provided. Avoid expanding impact beyond GRUB2 ROMFS symlink handling without vendor confirmation.

Mitigation direction

  • Check your OS vendor advisory for GRUB2 package status and guidance.
  • Prioritize systems where untrusted users can alter boot media or disk images.
  • Restrict administrative access to boot partitions, removable boot media, and image-building pipelines.
  • Monitor GRUB2, distribution, and firmware vendor advisories for fixes or configuration guidance.
  • Do not assume Red Hat impact where the cited affected table says unaffected.

Validation and detection

  • Inventory systems using GRUB2 and identify distributions and package versions.
  • Compare each platform against its vendor advisory, not only the generic CVE entry.
  • Review whether GRUB can access ROMFS content in your boot workflows.
  • Check controls around boot partitions, removable media, and image build artifacts.
  • Document any systems lacking vendor guidance as unresolved exposure.
Prepared
Confidence
medium
Sources
5

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · low confidence lookup

CWE-787: Exact CWE lookup

Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
description · low confidence lookup

Execution behavior lookup

The CVE wording references code or command execution, so execution technique review may help defensive triage. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.

Open ATT&CK lookup
description · low confidence lookup

Container behavior lookup

The affected technology mentions containers, so container-specific ATT&CK technique review may help. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2025-0686 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Medium
CVSS
6.4 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
5Timeline events
1ADP providers
4Source links

SSVC decision data

CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: noneAutomatable: noTechnical Impact: total

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
6.4CVSS 3.1MediumCVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H0.55.9redhat

Vulnerability scoring details

Base CVSS 3.1 score

6.4Medium
CVSS 3.1 vector shape for CVE-2025-0686Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone

Vulnerability timeline

Timeline events are normalized from CVE metadata, CNA source timelines, ADP timelines, and KEV metadata when present.

  1. CVE reservedCVE Program

    The CVE ID was reserved by the assigning CNA.

  2. Source timelineredhat

    Reported to Red Hat.

  3. Source timelineredhat

    Made public.

  4. CVE publishedCVE Program

    The CVE record was published.

  5. CVE updatedCVE Program

    The CVE record metadata indicates this as the latest update time.

ADP provider summaries

CISA-ADPCISA ADP Vulnrichment
other:ssvc

Source materials

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
Unknown vendorgrub2grub2, 0unaffected
Red HatRed Hat Enterprise Linux 10grub2unaffected
Red HatRed Hat Enterprise Linux 7grub2unaffected
Red HatRed Hat Enterprise Linux 8grub2unaffected
Red HatRed Hat Enterprise Linux 9grub2unaffected
Red HatRed Hat OpenShift Container Platform 4rhcosunaffected
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-787 · source CWE mapping

Out-of-bounds Write

Out-of-bounds Write represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.