Use After Free Affecting grub2 package, versions [0,]


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Use After Free vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-GRUB2-8746261
  • published25 Feb 2025
  • disclosed18 Feb 2025
  • creditB Horn

Introduced: 18 Feb 2025

NewCVE-2025-0622  (opens in a new tab)
CWE-416  (opens in a new tab)

How to fix?

A fix was pushed into the master branch but not yet published.

Overview

Affected versions of this package are vulnerable to Use After Free due to improper management of hooks in the command/gpg process. An attacker can execute arbitrary code by exploiting the use-after-free condition when a module that registered hooks is unloaded.

CVSS Scores

version 4.0
version 3.1