Stack-based buffer overflow in ZoneMinder - #VU158954

 

Stack-based buffer overflow in ZoneMinder - #VU158954

Published: November 3, 2026


Vulnerability identifier: #VU158954
CSH Severity: High
CVSS v4: 9.2 [CVSS:4.0/AV:N/AC:L/AT:P/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 execute arbitrary code on the ZoneMinder server.

The vulnerability exists due to a stack-based buffer overflow in SessionDescriptor::generateFormatContext() in src/zm_sdp.cpp when parsing an SDP response during RTSP DESCRIBE processing. A remote attacker can supply an oversized sprop-parameter-sets value through a malicious configured RTSP camera or a man-in-the-middle attack on the camera network, causing strcpy() to copy the value into a 1024-byte stack buffer without bounds checking and overwrite the saved frame pointer and return address to execute arbitrary code.


Affected software

ZoneMinder

Remediation

Install security update from vendor's website.

ZoneMinder - update to 1.38.4

External References

Related Security Bulletins