CVE-2026-40031 MemProcFS < 5.17 DLL/Shared Library Hijacking

High 8.5 Published Updated

Attackers can achieve arbitrary code execution by placing malicious libraries in the working directory or manipulating environment variables.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2026-40031?

CVE-2026-40031 is a high-severity vulnerability in ufrisk MemProcFS, published on 8 Apr 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

MemProcFS before 5.17 contains multiple unsafe library-loading patterns that enable DLL and shared-library hijacking across six attack surfaces, including bare-name LoadLibraryU and dlopen calls without path qualification for vmmpyc, libMSCompression, and plugin DLLs. An attacker who places a malicious DLL or shared library in the working directory or manipulates LD_LIBRARY_PATH can achieve arbitrary code execution when MemProcFS loads.

Weakness: CWE-427

Which versions are affected by CVE-2026-40031?

It affects 1 product.

Products include Ufrisk Memprocfs.

How do I fix CVE-2026-40031?

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

Is CVE-2026-40031 being exploited?

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

Sources

Also known as GHSA-wxrw-fvc7-2xmx.

Is CVE-2026-40031 in your software?

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

Check your SBOMs for free