OpenSIPS watcherinfo XML overflow lets remote attackers crash SIP workers
Vulnerability Disclosure · 3 sources · Updated 3mo ago · First seen Aug 5, 2026

OpenSIPS disclosed CVE-2026-45809, a high-severity denial-of-service flaw in watcherinfo XML generation that can let a remote attacker crash a worker process. The bug affects versions prior to 3.6.6 and 4.0.0-rc1 and is triggered when an attacker sends a SUBSCRIBE presence request with an excessively long From URI, creating an oversized watcher entry that later causes a stack buffer overflow during presence.winfo XML generation. The issue is classified as CWE-121 and impacts deployments that expose handle_subscribe() with watcherinfo enabled through the presence and presence_xml modules.
OpenSIPS maintainers patched the flaw in commits c5970d3ee25b457ad2d78fe6e9662a12dae577cd and dd86461b71ff4a4f5194205896ae5f48f144240d, replacing a fixed 200-byte stack buffer with a length-aware XML API call. The fix changes watcher URI handling so XML nodes are created without inline content and then populated using xmlNodeSetContentLen, preventing long URIs from overflowing the buffer during winfo processing. Organizations running exposed OpenSIPS presence services are advised to upgrade to the fixed releases.


