Security Vulnerability Report
中文
CVE-2026-6840 CVSS 5.5 MEDIUM

CVE-2026-6840

Published: 2026-04-22 07:16:15
Last Modified: 2026-04-22 21:23:53

Description

Missing bounds validation for operator could allow out of range operator-code lookup during model loading Affected version is prior to commit 1.30.0.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

Samsung ONE < Commit 1.30.0

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# PoC Concept for Missing Bounds Validation # This script demonstrates the logic flaw where an index is used without bounds checking. def load_model_vulnerable(operator_codes, malicious_index): # Vulnerable simulation: Direct lookup without validation try: operator = operator_codes[malicious_index] print(f"Loaded operator: {operator}") except IndexError: print("[!] Crash detected: Index out of bounds (DoS)") # In a real scenario, this might leak memory or crash the runtime def generate_malicious_model_data(): # Simulating a crafted file with an invalid operator index return 99999 # An index clearly outside the valid range if __name__ == "__main__": valid_operators = ["Conv", "Relu", "Pool"] malicious_index = generate_malicious_model_data() print(f"[*] Attempting to load model with operator index: {malicious_index}") load_model_vulnerable(valid_operators, malicious_index)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-6840", "sourceIdentifier": "[email protected]", "published": "2026-04-22T07:16:15.067", "lastModified": "2026-04-22T21:23:52.620", "vulnStatus": "Awaiting Analysis", "cveTags": [], "descriptions": [{"lang": "en", "value": "Missing bounds validation for operator could allow out of range operator-code lookup during model loading\nAffected version is prior to commit 1.30.0."}], "metrics": {"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:N/I:N/A:H", "baseScore": 5.5, "baseSeverity": "MEDIUM", "attackVector": "LOCAL", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "REQUIRED", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "NONE", "availabilityImpact": "HIGH"}, "exploitabilityScore": 1.8, "impactScore": 3.6}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-129"}]}], "references": [{"url": "https://github.com/Samsung/ONE/pull/16481", "source": "[email protected]"}]}}