CVE-2026-40031: Uncontrolled Search Path Element in ufrisk MemProcFS
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.
AI Analysis
Technical Summary
CVE-2026-40031 is a vulnerability in ufrisk's MemProcFS prior to version 5.17 caused by uncontrolled search path elements during dynamic library loading. The product uses unsafe patterns like bare-name LoadLibraryU and dlopen calls without path qualification across six attack surfaces, including vmmpyc, libMSCompression, and plugin DLLs. This allows an attacker to hijack DLL or shared library loading by placing malicious libraries in the working directory or altering LD_LIBRARY_PATH, potentially leading to arbitrary code execution.
Potential Impact
Successful exploitation can lead to arbitrary code execution with the privileges of the user running MemProcFS. This is due to the hijacking of DLL/shared library loading processes. The CVSS 4.0 score is 8.5 (high severity), reflecting the local attack vector, low attack complexity, no privileges required, and user interaction needed.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, users should avoid running MemProcFS in untrusted directories and ensure that the working directory and LD_LIBRARY_PATH are controlled and do not contain malicious libraries. Monitor vendor channels for updates regarding patches or official mitigations.
CVE-2026-40031: Uncontrolled Search Path Element in ufrisk MemProcFS
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.
CVSS v4.0
Score 8.5high
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-40031 is a vulnerability in ufrisk's MemProcFS prior to version 5.17 caused by uncontrolled search path elements during dynamic library loading. The product uses unsafe patterns like bare-name LoadLibraryU and dlopen calls without path qualification across six attack surfaces, including vmmpyc, libMSCompression, and plugin DLLs. This allows an attacker to hijack DLL or shared library loading by placing malicious libraries in the working directory or altering LD_LIBRARY_PATH, potentially leading to arbitrary code execution.
Potential Impact
Successful exploitation can lead to arbitrary code execution with the privileges of the user running MemProcFS. This is due to the hijacking of DLL/shared library loading processes. The CVSS 4.0 score is 8.5 (high severity), reflecting the local attack vector, low attack complexity, no privileges required, and user interaction needed.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, users should avoid running MemProcFS in untrusted directories and ensure that the working directory and LD_LIBRARY_PATH are controlled and do not contain malicious libraries. Monitor vendor channels for updates regarding patches or official mitigations.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-04-08T13:36:52.082Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 69d6cdb91cc7ad14dab5bfa9
Added to database: 04/08/2026, 21:50:49 UTC
Last enriched: 07/15/2026, 10:27:03 UTC
Last updated: 07/31/2026, 19:22:58 UTC
Views: 122
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.