CVE-2025-2629
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedThere is a DLL hijacking vulnerability due to an uncontrolled search path that exists in NI LabVIEW when loading NI Error Reporting. This vulnerability may result in arbitrary code execution. Successful exploitation requires an attacker to insert a malicious DLL into the uncontrolled search path. This vulnerability affects NI LabVIEW 2025 Q1 and prior versions.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceThis is a DLL hijacking vulnerability in NI LabVIEW caused by an uncontrolled search path when loading the NI Error Reporting component. An attacker can place a malicious DLL in the search path to achieve arbitrary code execution with the privileges of the LabVIEW process.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.
NVD · CPE data<= 2021= 2022= 2023= 2024= 2025CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Local
- Complexity
- Low
- Privileges
- None
- User interaction
- Required
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Identify if NI LabVIEW is installedCheck for LabVIEW installation directory. Common paths: C:\Program Files\National Instruments\LabVIEW [version] or C:\Program Files (x86)\National Instruments\LabVIEW [version]. Also check Programs and Features for 'National Instruments LabVIEW'.Affected if LabVIEW is installed and version is 2021 or earlier, or 2022, 2023, 2024, or 2025.
-
Confirm LabVIEW versionRun 'labview --version' from command line in LabVIEW bin directory, or check the version listed in Programs and Features, or open LabVIEW and check Help > About LabVIEW.Affected if Installed version matches <= 2021, 2022, 2023, 2024, or 2025.
-
Locate NI Error Reporting componentSearch for 'nierr.dll' or 'NI Error Reporting' in the LabVIEW installation directory, typically under C:\Program Files\National Instruments\LabVIEW[version]\resource\ or C:\Program Files\National Instruments\Shared\Error Reporting\.Affected if The NI Error Reporting DLL (nierr.dll) exists in the LabVIEW installation.
-
Examine DLL search path configurationOpen Windows Environment Variables editor (System Properties > Environment Variables) and check the PATH variable. Also check if LabVIEW adds directories to PATH. Use 'echo %PATH%' in command prompt after launching LabVIEW to see the full search path.Affected if Writable directories (user home, temp, downloads) appear in the PATH before the LabVIEW installation directory.
-
Check for suspicious DLLs in LabVIEW directoriesUse File Explorer to list all DLL files in LabVIEW\bin and LabVIEW\resource\ directories. Look for unexpected or recently modified DLLs, especially with names similar to system DLLs (e.g., version.dll, ntdll.dll, kernel32.dll) placed in LabVIEW directories.Affected if Unexpected DLL files exist in LabVIEW directories, particularly in locations that would be loaded before the legitimate NI Error Reporting component.
You are affected if NI LabVIEW version 2021 or earlier, 2022, 2023, 2024, or 2025 is installed and the NI Error Reporting component is present with an uncontrolled DLL search path that includes writable directories.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scopedReplace uncontrolled DLL search path usage with secure DLL loading practices such as absolute paths, safe DLL search mode enabled, or DLL redirection; also ensure writable directories are not in the DLL search path.
LabVIEW version with security fix (contact NI for specific version number - likely 2025 Q2 or later)
- Check NI's official support website (www.ni.com) or contact NI technical support for the specific patch version that addresses CVE-2025-2629
- Verify your current LabVIEW version by opening LabVIEW and going to Help > About LabVIEW
- If a patch is available from NI, download and apply it following NI's official installation instructions
- If no patch is available, ensure the LabVIEW working directory and directories in the PATH environment variable are secured against write access by non-administrative users
- Do not place any untrusted DLLs in directories that LabVIEW uses or accesses
- Restrict write permissions on LabVIEW installation directories to administrators only
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation3.0 h
- Implementation6.0 h
- Testing3.0 h
- Review / QA2.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $3,984.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2025-2629 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2025-2629 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data