Vulnerability 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.
CVSS Score
HIGH
Related Weaknesses (CWE)
References
- https://github.com/domoticz/domoticz
- https://github.com/domoticz/domoticz/blob/master/hardware/MochadTCP.cpp
FAQ
What is CVE-2026-71265?
CVE-2026-71265 is a vulnerability with a CVSS score of 7.5 (HIGH). 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 temp...
How severe is CVE-2026-71265?
CVE-2026-71265 has been rated HIGH with a CVSS base score of 7.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-71265?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.