CVE-2025-4002 RefindPlusRepo RefindPlus BootLog.c GetDebugLogFile null pointer dereference

Medium 6.8 Published Updated

A local attacker can cause a denial of service in RefindPlus via a null pointer dereference in the debug log function.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2025-4002?

CVE-2025-4002 is a medium-severity vulnerability in RefindPlusRepo RefindPlus, published on 28 Apr 2025. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

A vulnerability was found in RefindPlusRepo RefindPlus 0.14.2.AB and classified as problematic. Affected by this issue is the function GetDebugLogFile of the file Library/MemLogLib/BootLog.c. The manipulation leads to null pointer dereference. Attacking locally is a requirement. The patch is identified as d2143a1e2deefddd9b105fb7160763c4f8d47ea2. It is recommended to apply a patch to fix this issue.

Weakness: CWE-476, CWE-404

Which versions are affected by CVE-2025-4002?

How do I fix CVE-2025-4002?

No fix has been published for CVE-2025-4002 yet. Limit exposure of the affected software until one is available.

Is CVE-2025-4002 being exploited?

There is no known exploitation of CVE-2025-4002 in the wild and no public exploit code.

Sources

Also known as GHSA-gfwc-7h5h-4hmh.

Is CVE-2025-4002 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free