Skip to main content

Domoticz CVE-2026-71265

| EUVDEUVD-2026-53350 HIGH
Stack-based Buffer Overflow (CWE-121)
2026-08-05 TuranSec GHSA-fgwp-vhm9-7g5q
7.5
CVSS 3.1 · Vendor: TuranSec
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Gain local network adjacency
  2. Delivery
    Connect to Mochad bridge port 1099 (no authentication)
  3. Exploit
    Send crafted MOCHAD_RFSEC packet with payload exceeding 50 bytes
  4. Execution
    Trigger strcpy() overflow of tempRFSECbuf in MatchLine()
  5. Persist
    Corrupt Domoticz worker thread stack frame
  6. Impact
    Execute arbitrary code as Domoticz process

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Stack buffer bounds checking
MITRE ATT&CK

1 technique across 1 tactic: Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

The attacker must be present on the same local network segment as the Domoticz host (AV:A - Layer 2 adjacency or equivalent routed reachability to port 1099). Domoticz must be configured with the MochadTCP hardware plugin enabled, which is only applicable to deployments integrating X10 RF wireless hardware - specifically DS10A door/window sensors, KR10A key fob remotes, or MS10A motion sensors. This is not a universal default configuration; users without X10 hardware will not have the plugin active. The Mochad TCP daemon must be running and accepting connections on port 1099. No authentication credentials are required to connect or send messages to this service. AC:H limits opportunistic exploitation: the attacker must craft a packet that triggers one of the three specific MOCHAD_RFSEC device-type branches and achieves controlled stack frame corruption rather than a simple crash. Host-level stack protections (stack canaries, ASLR, NX/DEP) present on the underlying OS impose additional bypass requirements, constraining many exploitation attempts to denial-of-service against the worker thread.

Impact

The CVSS 3.1 vector AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H yields a score of 7.5 (High). The adjacent-network attack vector (AV:A) is the dominant risk-limiting factor: exploitation requires Layer-2 or equivalently routed adjacency to the Domoticz host, meaning a physically proximate or LAN-resident attacker. This substantially narrows the exposure compared to a fully internet-facing flaw. AC:H acknowledges the non-trivial requirement of crafting a payload that triggers the correct device-type branch in MatchLine() while achieving reliable stack control - host-level mitigations such as stack canaries, ASLR, and NX/DEP will raise this bar further, potentially limiting many exploitation attempts to denial-of-service crashes rather than code execution. PR:N confirms no authentication is required to reach the Mochad bridge on port 1099, which is operationally concerning because home and small-office networks where Domoticz is deployed frequently lack meaningful internal segmentation. No EPSS probability data was included in the provided intelligence. No CISA KEV listing exists and no public POC has been identified at time of analysis, so there is no current evidence of active or opportunistic exploitation. The full C:H/I:H/A:H impact reflects the worst-case outcome if exploitation succeeds against a vulnerable host without effective stack protections. Real-world prioritization should be moderate: meaningful for any Domoticz deployment running the MochadTCP plugin on a shared or flat LAN, lower urgency for well-segmented or air-gapped IoT environments.

Exploit ScenarioDerived

An attacker with access to the same local network as the Domoticz host connects to TCP port 1099 - the unauthenticated Mochad bridge - and sends a crafted MOCHAD_RFSEC packet formatted to match a DS10A, KR10A, or MS10A device message, with a payload exceeding 50 bytes. The strcpy() call in MatchLine() overflows tempRFSECbuf on the worker thread's stack, potentially overwriting the saved return address; on a host without effective stack canaries, the attacker can redirect execution to shellcode or a ROP chain running as the Domoticz process user. No public POC is known at time of analysis, and reliable exploitation against hardened targets requires defeating modern stack mitigations.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 05, 2026

Stack-based buffer overflow in Domoticz's MochadTCP component allows an unauthenticated attacker on the local network to corrupt the Domoticz worker thread's stack and potentially achieve arbitrary code execution. The MochadTCP::MatchLine() handler in hardware/MochadTCP.cpp uses strcpy() to copy up to 1028 bytes of network-received data into a fixed 50-byte stack buffer (tempRFSECbuf) across three separate device-type branches, with no length validation whatsoever. No CISA KEV listing and no public exploit code have been identified at time of analysis; exploitation requires adjacency to the Domoticz host's network and benefits from the complete absence of authentication on port 1099.

RemediationAI

No vendor-released patched version has been confirmed at time of analysis - the only references provided point to the Domoticz GitHub source repository (https://github.com/domoticz/domoticz) and the vulnerable file directly, without a tagged release or advisory. Users should actively monitor the repository for a fix commit or new release addressing CVE-2026-71265. As an immediate compensating control, restrict access to TCP port 1099 via host-based firewall rules (e.g., iptables or nftables) or network ACLs, permitting connections only from explicitly trusted hosts - this directly addresses the AV:A exposure without disrupting legitimate X10 device communication. If DS10A, KR10A, or MS10A X10 RF hardware is not in active use, disabling or removing the MochadTCP hardware plugin within Domoticz eliminates the attack surface entirely with no functional trade-off for unaffected device categories. Placing Domoticz on an isolated IoT VLAN with no lateral reachability from general-purpose workstations or guest networks provides defense-in-depth and limits blast radius if any IoT device is compromised. Do not expose port 1099 to untrusted networks or the public internet under any circumstances.

Affected VersionsENISA

Domoticz 0 ≤*

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Domoticz is an open-source home automation platform that orchestrates smart home devices. Its MochadTCP component bridges communication with the Mochad TCP daemon, which interfaces X10 RF wireless hardware over a TCP socket on port 1099 by default. The vulnerability is in MochadTCP::MatchLine() (hardware/MochadTCP.cpp), which parses inbound MOCHAD_RFSEC messages representing three specific X10 RF device types: DS10A door/window sensors, KR10A key fob remotes, and MS10A motion sensors. For each of these three branches, the handler copies the raw content of m_mochadbuffer - capable of holding up to 1028 bytes of attacker-controlled network data - into the fixed 50-byte stack-allocated buffer tempRFSECbuf using strcpy(), which performs no length check. This is a canonical CWE-121 (Stack-based Buffer Overflow): the overflow margin reaches approximately 978 bytes, sufficient to overwrite saved return addresses and adjacent stack frame metadata. All Domoticz versions are affected per CPE cpe:2.3:a:domoticz:domoticz:*:*:*:*:*:*:*:* (wildcard, no version floor or ceiling specified).

Know when Domoticz gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (TuranSec) PRIMARY 7.5 HIGH
AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 7.5 HIGH

AV:A confirmed by port 1099 local-network-only exposure; AC:H reflects branch-specific payload crafting and stack control difficulty; PR:N because Mochad bridge has no authentication gate.

3.1 AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
4.0 AV:A/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Red Hat 7.5 HIGH

Primary rating from Vendor (TuranSec).

CVSS VectorVendor: TuranSec

Attack Vector
Adjacent
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

A critical vulnerability in Domoticz's network automation component exposes organizations to unauthorized code execution by any local network attacker, requiring no credentials and enabling full system compromise. Organizations using Domoticz for building or industrial automation face potential loss of operational control, creating risks to facility management, business continuity, and automated infrastructure dependencies.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Implement network segmentation to isolate Domoticz systems to trusted administrative networks only; disable MochadTCP functionality if not required for operations; apply strict firewall rules limiting port 1099 access to authorized control systems exclusively; deploy network-based intrusion detection signatures for MochadTCP buffer overflow anomalies; establish incident response procedures for immediate investigation of any exploitation attempts detected on Domoticz systems.

Threat Intelligence Overview

EPSS Score
0.2%
Top 86% exploitable
Prevalence
Low
open-source home automation platform, niche hobbyist and prosumer deployments
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor GitHub

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Controlled
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

A stack-based buffer overflow occurs when a program writes more data to a buffer located on the stack than it was allocated to hold.

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy