CVE-2026-48140: NI grpc-device Enum Cast DoS Vulnerability – CVSS 6.5
CVE-2026-48140 is a denial-of-service vulnerability in National Instruments' grpc-device component, specifically in the BeginSidebandStream function. An authenticated attacker can craft a malicious message containing an invalid enumeration value to trigger undefined behavior in the service, causing it to crash or become unavailable. The vulnerability affects NI grpc-device version 2.17.0 and earlier. Exploitation requires valid credentials but no special privileges or user interaction.
Source data · NVD / CISA · public domain
- CVSS
- 3.1 · 6.5 MEDIUM · CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- Weaknesses (CWE)
- CWE-704
- Affected products
- 4 configuration(s)
- Published / Modified
- 2026-06-19 / 2026-06-25
NVD description (verbatim)
There is an unchecked enum cast vulnerability in NI grpc-device BeginSidebandStream that may allow an attacker to trigger invalid enum states and undefined behavior, potentially resulting in a denial of service. Successful exploitation requires an attacker to supply a specially crafted message containing an out-of-range value. This affects NI grpc-device 2.17.0 and prior versions.
2 reference(s) · View on NVD →
SEC.co analysis · AI-assisted, reviewed against source
Technical summary
The vulnerability stems from an unchecked enum cast in NI grpc-device's BeginSidebandStream RPC handler (CWE-704: Incorrect Type Conversion or Cast). The service fails to validate that supplied enumeration values fall within the defined range before casting and using them, allowing an attacker to introduce out-of-range integers that cause invalid state transitions or memory access violations. The flaw is reachable over the network by any authenticated user, making it a network-accessible denial-of-service vector with low attack complexity.
Business impact
Organizations deploying NI grpc-device as part of National Instruments Instrument Studio or standalone gRPC device servers face availability risk. A hostile internal user or compromised account can disrupt measurement, monitoring, or automation workflows by crashing the grpc-device service. In industrial or test environments where uptime is critical, repeated exploitation could impede production schedules. The medium CVSS score reflects the availability impact combined with the authentication requirement, limiting but not eliminating operational risk.
Affected systems
National Instruments grpc-device versions 2.17.0 and prior are vulnerable. This includes deployments of NI Instrument Studio that bundle grpc-device, as well as standalone ni_grpc_device_server installations. Users on version 2.17.0 or earlier should assume exposure. The vendor and version information provided is: ni instrumentstudio and ni ni_grpc_device_server. Verify your exact installed version against National Instruments' product documentation.
Exploitability
Exploitation requires network access to the grpc-device service and valid authentication credentials. An attacker must craft a gRPC message to BeginSidebandStream with an out-of-range enum value—a straightforward task for someone with API knowledge and valid account access. The attack is reliable and repeatable. However, unauthenticated remote exploitation is not possible. The vulnerability is not listed in CISA's Known Exploited Vulnerabilities catalog, indicating no public weaponized proof-of-concept or in-the-wild attacks at the time of publication.
Remediation
Update National Instruments grpc-device to a version newer than 2.17.0. Consult the National Instruments security advisory or product download portal for the latest patch. Additionally, implement network-level access controls to restrict which systems and users can reach the grpc-device service; limit exposure to trusted internal networks only. Monitor service logs for repeated connection failures or RPC errors that may indicate exploitation attempts.
Patch guidance
Obtain and deploy the latest patched version of NI grpc-device from National Instruments' official channels—verify against the vendor advisory for exact version numbers and supported platforms (Windows, Linux, etc.). If automatic updates are available through NI Instrument Studio, enable them. Test patches in a non-production environment first to confirm compatibility with dependent applications. Document the patching date and version for compliance tracking.
Detection guidance
Look for BeginSidebandStream RPC calls with unusual or negative enum parameter values in gRPC service logs. Monitor for unexpected service crashes or restarts correlated with incoming network traffic. Implement gRPC-level logging to capture message details. Check for repeated authentication failures or error conditions from the same source IP or user account. In network monitoring, watch for gRPC protocol anomalies or payloads that violate the expected schema. Alert on sudden spikes in service exceptions or 'invalid enum' errors.
Why prioritize this
Although classified as MEDIUM severity, this vulnerability should be patched promptly because it enables direct denial of service with low attack complexity and only modest credential requirements. In environments where grpc-device supports time-sensitive or production workflows, service unavailability has real operational cost. The authentication requirement prevents mass exploitation but does not exclude insider or lateral-movement threats. Prioritize patching if grpc-device is exposed to potentially untrusted users or network segments.
Risk score, explained
CVSS 3.1 score of 6.5 (MEDIUM) reflects: (1) Network accessibility (AV:N) reducing the barrier to attack; (2) low attack complexity (AC:L) since crafting an out-of-range enum is straightforward; (3) requirement for authenticated access (PR:L), which reduces scope; (4) high availability impact (A:H) from the denial-of-service outcome; (5) no confidentiality or integrity impact (C:N, I:N). The authentication prerequisite prevents it from achieving HIGH or CRITICAL scoring, but the reliable availability impact justifies MEDIUM and prompt remediation.
Frequently asked questions
Do we need valid credentials to exploit this?
Yes. The CVSS vector indicates PR:L (Privileges Required: Low), meaning the attacker must have some form of authentication or access to the grpc-device service. A completely unauthenticated remote attacker cannot trigger the vulnerability.
Will this vulnerability spread laterally or compromise data?
No. The vulnerability causes denial of service only (A:H). It does not leak confidential data, corrupt data, or enable code execution or privilege escalation. Its scope is limited to crashing or degrading the grpc-device service itself.
How long has this been exploited in the wild?
There is no evidence of active exploitation in the wild. The vulnerability is not listed in CISA's Known Exploited Vulnerabilities (KEV) catalog. However, organizations should not rely on this for complacency; timely patching is still essential given the straightforward attack path.
Which National Instruments products are affected beyond grpc-device?
The vulnerability resides in the grpc-device library itself. NI Instrument Studio and the standalone ni_grpc_device_server both bundle or depend on it, so both are affected if they use grpc-device version 2.17.0 or earlier. Check your specific product version against the National Instruments advisory.
This analysis is provided for informational purposes and should not be considered a substitute for official vendor advisories or your organization's own risk assessment. Verify all patch versions and compatibility requirements against National Instruments' official security advisory before deploying updates. SEC.co makes no warranty regarding the accuracy or completeness of vulnerability data; always cross-reference with authoritative sources such as CVE, CWE, CVSS, and the affected vendor's security bulletins. Testing in a controlled environment is strongly recommended before production deployment. Source: NVD (public-domain), retrieved 2026-07-27. Analysis generated by SEC.co (claude-haiku-4-5).
Related vulnerabilities
- CVE-2026-46690MEDIUMunbounded_spsc Pointer Transmute OOB Read & Fake-Arc Drop Vulnerability
- CVE-2026-45685HIGHOpenTelemetry eBPF Instrumentation MongoDB Parser DoS (v0.1.0–0.8.x)
- CVE-2026-48141MEDIUMNI grpc-device Memory Leak DoS Vulnerability
- CVE-2026-48138HIGHOut-of-Bounds Read in NI grpc-device Streaming API
- CVE-2026-48139HIGHNI grpc-device NULL Pointer Dereference DoS Vulnerability
- CVE-2026-8035HIGHNI-PAL Kernel Driver NULL Pointer Dereference DoS Vulnerability
- CVE-2026-8036HIGHNI-PAL Local Privilege Escalation via Memory Access Flaw
- CVE-2016-20064MEDIUMWP Vault 0.8.6.6 Arbitrary File Read via Directory Traversal