Description
ZoneMinder before 1.36.13 allows remote code execution via an invalid language. Ability to create a debug log file at an arbitrary pathname contributes to exploitability.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | zoneminder | 1.36.13+dfsg1-1 | — |
| Debian 13 | zoneminder | 1.36.13+dfsg1-1 | — |
| Debian 12 | zoneminder | 1.36.13+dfsg1-1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 22.04 LTS | zoneminder | 1.36.12+dfsg1-1ubuntu0.1~esm1 | USN-5889-1 |
| Ubuntu Pro 20.04 LTS | zoneminder | 1.32.3-2ubuntu2+esm1 | USN-5889-1 |
| Ubuntu Pro 16.04 LTS | zoneminder | 1.29.0+dfsg-1ubuntu2+esm1 | USN-5889-1 |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Metasploit 1 module
-
ZoneMinder Language Settings Remote Code Execution
exploit/unix/webapp/zoneminder_lang_exec
GitHub 1 repository
-
Sigm0n/CVE-2022-29806 ★ 3 · Apr 28, 2025
ZoneMinder up to 1.36.12 Language privilege escalation (and RCE) - Poc Exploit
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Advisories 1
- USN-5889-1 zoneminder vulnerabilities Ubuntu Security Notices (USN) · Jun 25, 2026
References
- https://forums.zoneminder.com/viewtopic.php?t=31638
- https://github.com/ZoneMinder/zoneminder/releases/tag/1.36.13
- https://github.com/ZoneMinder/zoneminder/commit/9fee64b62fbdff5bf5ece1d617f1f53c7b1967cb
- https://krastanoel.com/cve/2022-29806
- http://packetstormsecurity.com/files/166980/ZoneMinder-Language-Settings-Remote-Code-Execution.html