LabviewApplication · Ni

CVE-2025-2631

HIGH · 7.8 CVSS v3.1 Published 2025-04-09
Fix available
A fix is available. Upgrade to after 2021 or later.
See remediation →
81/100
Remediation priority · High
No privileges

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 · unedited
Out of bounds write vulnerability due to improper bounds checking in NI LabVIEW in InitCPUInformation() that may result in information disclosure or arbitrary code execution. Successful exploitation requires an attacker to get a user to open a specially crafted VI. 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 confidence

Out-of-bounds write vulnerability in NI LabVIEW's InitCPUInformation() function due to improper bounds checking. This allows writing beyond allocated buffer boundaries, potentially leading to information disclosure or arbitrary code execution when a user opens a specially crafted VI file.

MitigationUpdate to patched LabVIEW version when available. Do not open VI files from untrusted sources until the patch is applied.

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
LabviewApplication
Affected:<= 2021= 2022= 2023= 2024= 2025

CVSS 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 checks

Work through these to decide whether this CVE applies to you.

  1. Locate LabVIEW installation directory
    Check common installation paths: C:\Program Files\National Instruments\LabVIEW [version] on Windows, or /Applications/National Instruments/LabVIEW [version] on macOS. Use 'where labview.exe' (Windows) or 'mdfind kMDItemCFBundleIdentifier | grep labview' (macOS) to search.
    Affected if LabVIEW is found on the system
  2. Identify installed LabVIEW version
    Right-click the LabVIEW executable (labview.exe or LabVIEW.app), select Properties, then Details. Or run 'labview.exe -?' from command line. On Windows, also check Add/Remove Programs for the version.
    Affected if Version matches <= 2021, 2022, 2023, 2024, or 2025
  3. Verify InitCPUInformation function exists in LabVIEW binaries
    Use a strings or binary analysis tool on the main LabVIEW executable or core runtime DLLs (search for 'InitCPUInformation' string). On Windows, check niLabVIEW core DLLs in the installation directory.
    Affected if The InitCPUInformation function string is found in LabVIEW binaries
  4. Check for recently opened VI files
    Review LabVIEW's recent files list (File > Recent). Check Windows Event Viewer under Application logs for LabVIEW activity, or examine browser/download histories if VI files were downloaded.
    Affected if Untrusted or unknown VI files were recently opened in LabVIEW
  5. Review antivirus logs for LabVIEW-related alerts
    Check Windows Event Viewer Security/Application logs, or antivirus quarantine/alert logs for any detections related to LabVIEW VI file processing or the InitCPUInformation function.
    Affected if Any security alerts mention LabVIEW VI file parsing or the affected function

The environment is affected if LabVIEW is installed with a version matching <= 2021, 2022, 2023, 2024, or 2025, and the InitCPUInformation function is present in the binaries.

Generated from the published advisory. Verify against your own configuration.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

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.

From vendor data
Upgrade available Upgrade to a release after 2021
Interim mitigation

Update to patched LabVIEW version when available. Do not open VI files from untrusted sources until the patch is applied.

Fix this in Labview Scoped from the published advisory
  • Consultation3.0 h
  • Implementation6.0 h
  • Testing4.0 h
  • Review / QA2.0 h
15.0 hours of engineering $2,640
Get the upgrade done

An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $4,224.

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2025-2631 — 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 sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2025-2631 in production — separate from our analysis above.

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.

What this is

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.

What belongs here
  • 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