Stack-based buffer overflow in ZoneMinder - #VU158960

 

Stack-based buffer overflow in ZoneMinder - #VU158960

Published: November 3, 2026


Vulnerability identifier: #VU158960
CSH Severity: High
CVSS v4: 9.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: N/A
CWE-ID: CWE-121
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to cause a denial of service and potentially execute arbitrary code in the zmc capture daemon.

The vulnerability exists due to stack-based buffer overflows in RtspThread::Run() in src/zm_rtsp.cpp when parsing RTSP handshake responses and RTSP-over-HTTP tunnel responses with unbounded sscanf conversions. A remote attacker can supply an oversized Public or Transport response header or HTTP status text through a malicious or compromised RTSP server or a man-in-the-middle position to overflow 256-byte stack buffers, crash the capture daemon, and potentially execute arbitrary code in its context.


Affected software

ZoneMinder

Remediation

Install security update from vendor's website.

ZoneMinder - update to 1.38.5

External References

Related Security Bulletins