Description
Domoticz's MochadTCP::MatchLine handler for MOCHAD_RFSEC messages (hardware/MochadTCP.cpp) copies network-received data from the up-to-1028-byte m_mochadbuffer into a fixed 50-byte stack buffer tempRFSECbuf using strcpy with no length check, across three separate code branches (DS10A/KR10A/MS10A device types).
Published: 2026-08-05
Score: 7.5 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The Domoticz MochadTCP::MatchLine handler processes MOCHAD_RFSEC messages by copying up to 1028 bytes of network‑received data from the m_mochadbuffer into a fixed 50‑byte stack buffer called tempRFSECbuf using strcpy without length checks. This occurs across three code branches for different device types (DS10A, KR10A, MS10A). The unchecked copy can overflow the stack, corrupt the worker thread’s stack frame, and potentially allow arbitrary code execution or denial of service. This is a classic stack buffer overflow, identified as CWE‑121.

Affected Systems

The vulnerability affects the Domoticz home automation software (domoticz:domoticz). Any deployment that has not applied the patch for this issue is susceptible; specific affected versions are not listed in the advisory, so the entire unpatched code base is at risk.

Risk and Exploitability

The CVSS score of 7.5 indicates a high severity of the flaw, and the attack requires an attacker to be on the same local network segment and reach the Mochad TCP bridge on the default port 1099, which has no authentication. The EPSS score of < 1% indicates a low but non‑zero likelihood of exploitation, but the lack of authentication and open port still allow potential attacks. The vulnerability is not currently listed in the CISA KEV catalog. An exploit would likely involve sending a crafted packet to overflow the buffer, corrupt stack memory, and then causing the worker thread to execute arbitrary code or crash.

Generated by OpenCVE AI on August 10, 2026 at 21:05 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update Domoticz to the latest release that contains the buffer overflow fix.
  • If an immediate update is not possible, block or restrict access to TCP port 1099 on the local network using firewall rules so that only trusted hosts can reach the Mochad bridge.
  • Monitor Domoticz logs for unexpected crashes or denied requests that might indicate attempts to trigger the overflow and consider isolating the sensor network from the main management network to reduce exposure.

Generated by OpenCVE AI on August 10, 2026 at 21:05 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 10 Aug 2026 12:00:00 +0000

Type Values Removed Values Added
Description Domoticz's MochadTCP::MatchLine() handler for MOCHAD_RFSEC messages (hardware/MochadTCP.cpp) copies network-received data from the up-to-1028-byte m_mochadbuffer into a fixed 50-byte stack buffer tempRFSECbuf using strcpy() with no length check, across three separate code branches (DS10A/KR10A/MS10A device types). An attacker on the local network segment able to reach the Mochad TCP bridge (default port 1099, no authentication) can send a crafted packet that overflows tempRFSECbuf by up to several hundred bytes, corrupting the Domoticz worker thread's stack. Domoticz's MochadTCP::MatchLine handler for MOCHAD_RFSEC messages (hardware/MochadTCP.cpp) copies network-received data from the up-to-1028-byte m_mochadbuffer into a fixed 50-byte stack buffer tempRFSECbuf using strcpy with no length check, across three separate code branches (DS10A/KR10A/MS10A device types).
Title Domoticz - MochadTCP Stack Buffer Overflow via MOCHAD_RFSEC strcpy() Domoticz MochadTCP Stack Buffer Overflow via MOCHAD_RFSEC strcpy()

Mon, 10 Aug 2026 11:45:00 +0000

Type Values Removed Values Added
Title Domoticz MochadTCP Stack Buffer Overflow via MOCHAD_RFSEC strcpy() Domoticz - MochadTCP Stack Buffer Overflow via MOCHAD_RFSEC strcpy()

Wed, 05 Aug 2026 17:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Wed, 05 Aug 2026 15:30:00 +0000

Type Values Removed Values Added
First Time appeared Domoticz
Domoticz domoticz
Vendors & Products Domoticz
Domoticz domoticz

Wed, 05 Aug 2026 13:15:00 +0000

Type Values Removed Values Added
Description Domoticz's MochadTCP::MatchLine() handler for MOCHAD_RFSEC messages (hardware/MochadTCP.cpp) copies network-received data from the up-to-1028-byte m_mochadbuffer into a fixed 50-byte stack buffer tempRFSECbuf using strcpy() with no length check, across three separate code branches (DS10A/KR10A/MS10A device types). An attacker on the local network segment able to reach the Mochad TCP bridge (default port 1099, no authentication) can send a crafted packet that overflows tempRFSECbuf by up to several hundred bytes, corrupting the Domoticz worker thread's stack.
Title Domoticz MochadTCP Stack Buffer Overflow via MOCHAD_RFSEC strcpy()
Weaknesses CWE-121
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H'}


Subscriptions

Domoticz Domoticz
cve-icon MITRE

Status: PUBLISHED

Assigner: TuranSec

Published:

Updated: 2026-08-10T11:46:33.609Z

Reserved: 2026-08-05T12:23:34.967Z

Link: CVE-2026-71265

cve-icon Vulnrichment

Updated: 2026-08-05T15:30:06.406Z

cve-icon NVD

Status : Received

Published: 2026-08-05T13:24:50.720

Modified: 2026-08-10T12:17:28.937

Link: CVE-2026-71265

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-10T21:15:07Z

Weaknesses
  • CWE-121

    Stack-based Buffer Overflow