CVE-2025-2629

7.3 HIGH

📋 TL;DR

This DLL hijacking vulnerability in NI LabVIEW allows attackers to execute arbitrary code by placing a malicious DLL in an uncontrolled search path. It affects NI LabVIEW 2025 Q1 and earlier versions, potentially compromising systems running this software.

💻 Affected Systems

Products:
  • NI LabVIEW
Versions: 2025 Q1 and prior versions
Operating Systems: Windows
Default Config Vulnerable: ⚠️ Yes
Notes: Vulnerability exists in default installations when loading NI Error Reporting component.

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Full system compromise with administrative privileges, data theft, ransomware deployment, or persistent backdoor installation.

🟠

Likely Case

Local privilege escalation leading to unauthorized access to sensitive engineering data and system resources.

🟢

If Mitigated

Limited impact with proper file permissions and user access controls preventing DLL placement.

🌐 Internet-Facing: LOW - Requires local access or successful phishing to place malicious DLL.
🏢 Internal Only: MEDIUM - Internal attackers or compromised accounts could exploit this for lateral movement.

🎯 Exploit Status

Public PoC: ✅ No
Weaponized: UNKNOWN
Unauthenticated Exploit: ✅ No
Complexity: LOW

Requires ability to place DLL in search path, typically needing local access or social engineering.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: NI LabVIEW 2025 Q2 or later

Vendor Advisory: https://www.ni.com/en/support/security/available-critical-and-security-updates-for-ni-software/dll-hijacking-vulnerability-in-ni-labview-when-loading-ni-error-reporting.html

Restart Required: Yes

Instructions:

1. Download latest NI LabVIEW version from NI website. 2. Run installer with administrative privileges. 3. Follow installation prompts. 4. Restart system after installation completes.

🔧 Temporary Workarounds

Restrict DLL search path permissions

windows

Set strict file permissions on directories in LabVIEW's DLL search path to prevent unauthorized DLL placement.

icacls "C:\Program Files\National Instruments\LabVIEW 2025\" /deny Everyone:(OI)(CI)(W)

Use application whitelisting

windows

Configure Windows Defender Application Control or similar to only allow signed DLLs from NI.

🧯 If You Can't Patch

  • Implement strict file permissions on LabVIEW installation directories
  • Use least privilege accounts for LabVIEW operations and monitor for suspicious DLL files

🔍 How to Verify

Check if Vulnerable:

Check LabVIEW version via Help > About LabVIEW. If version is 2025 Q1 or earlier, system is vulnerable.

Check Version:

Open LabVIEW and navigate to Help > About LabVIEW

Verify Fix Applied:

Verify LabVIEW version is 2025 Q2 or later in Help > About LabVIEW.

📡 Detection & Monitoring

Log Indicators:

  • Unexpected DLL loads from non-standard paths in Windows Event Logs
  • LabVIEW crash reports from unusual locations

Network Indicators:

  • Unusual outbound connections from LabVIEW process

SIEM Query:

source="windows" AND (event_id=7 OR event_id=11) AND process_name="labview.exe" AND file_path NOT CONTAINS "National Instruments"

🔗 References

📤 Share & Export