Domoticz's MochadTCP::MatchLine() handler for MOCHAD_RFSEC messages (hardware/MochadTCP.cpp) copies network-received data from the up-to-1028-byte… (CVE-2026-71265)
Domoticz contains a stack-based buffer overflow vulnerability in the MochadTCP::MatchLine() handler for MOCHAD_RFSEC messages. The handler copies data from a network buffer of up to 1028 bytes into a fixed 50-byte stack buffer without length checking, using strcpy(). This occurs across three device type code branches. An attacker on the local network segment who can reach the Mochad TCP bridge (default port 1099, no authentication) can send a crafted packet to overflow the stack buffer, corrupting the worker thread's stack.
AI Analysis
Technical Summary
The vulnerability in Domoticz's MochadTCP::MatchLine() handler arises from unsafe use of strcpy() to copy network-received data from a buffer of up to 1028 bytes into a fixed 50-byte stack buffer (tempRFSECbuf) without length validation. This occurs in handling MOCHAD_RFSEC messages for DS10A, KR10A, and MS10A device types. The lack of bounds checking enables a local network attacker with access to the Mochad TCP bridge (default port 1099, which lacks authentication) to send a specially crafted packet that overflows the stack buffer by several hundred bytes, leading to stack corruption in the Domoticz worker thread. The CVSS 3.1 score is 7.5, reflecting high impact on confidentiality, integrity, and availability.
Potential Impact
Successful exploitation allows an attacker on the local network segment to cause a stack-based buffer overflow in the Domoticz worker thread, potentially leading to arbitrary code execution, denial of service, or system compromise. The vulnerability affects confidentiality, integrity, and availability of the affected system components.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, restrict network access to the Mochad TCP bridge port (default 1099) to trusted hosts only, as it lacks authentication. Monitor for updates from Domoticz regarding an official fix or mitigation.
Domoticz's MochadTCP::MatchLine() handler for MOCHAD_RFSEC messages (hardware/MochadTCP.cpp) copies network-received data from the up-to-1028-byte… (CVE-2026-71265)
Description
Domoticz contains a stack-based buffer overflow vulnerability in the MochadTCP::MatchLine() handler for MOCHAD_RFSEC messages. The handler copies data from a network buffer of up to 1028 bytes into a fixed 50-byte stack buffer without length checking, using strcpy(). This occurs across three device type code branches. An attacker on the local network segment who can reach the Mochad TCP bridge (default port 1099, no authentication) can send a crafted packet to overflow the stack buffer, corrupting the worker thread's stack.
CVSS v3.1
Score 7.5high
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in Domoticz's MochadTCP::MatchLine() handler arises from unsafe use of strcpy() to copy network-received data from a buffer of up to 1028 bytes into a fixed 50-byte stack buffer (tempRFSECbuf) without length validation. This occurs in handling MOCHAD_RFSEC messages for DS10A, KR10A, and MS10A device types. The lack of bounds checking enables a local network attacker with access to the Mochad TCP bridge (default port 1099, which lacks authentication) to send a specially crafted packet that overflows the stack buffer by several hundred bytes, leading to stack corruption in the Domoticz worker thread. The CVSS 3.1 score is 7.5, reflecting high impact on confidentiality, integrity, and availability.
Potential Impact
Successful exploitation allows an attacker on the local network segment to cause a stack-based buffer overflow in the Domoticz worker thread, potentially leading to arbitrary code execution, denial of service, or system compromise. The vulnerability affects confidentiality, integrity, and availability of the affected system components.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, restrict network access to the Mochad TCP bridge port (default 1099) to trusted hosts only, as it lacks authentication. Monitor for updates from Domoticz regarding an official fix or mitigation.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-fgwp-vhm9-7g5q
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-71265"]
- Ecosystems
- []
- Database Specific Severity
- HIGH
- Cvss Version
- 3.1
Threat ID: 6a738527bf8831d5394f01b5
Added to database: 08/05/2026, 18:47:03 UTC
Last enriched: 08/05/2026, 18:56:47 UTC
Last updated: 08/06/2026, 01:34:26 UTC
Views: 5
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.