Skip to main content

Stack-based Buffer Overflow

CVE-2026-45809

Severity High
Score 8.7/10

Summary

OpenSIPS is a Session Initiation Protocol (SIP) server implementation. Versions prior to 3.6.6 and 4.x prior to 4.0.0-rc1 contain a Denial of Service vulnerability in the `watcherinfo` generation functionality. An attacker can create an oversized watcher entry by sending a SUBSCRIBE Event: presence request with a long From URI, and then trigger `presence.winfo watcherinfo` XML generation for the same presentity. OpenSIPS copies the stored watcher URI into a fixed-size stack buffer, overflowing it and crashing the process. A remote attacker can crash an OpenSIPS worker in deployments that expose `handle_subscribe()` and allow `watcherinfo` (presence.winfo) generation. The issue is configuration-dependent because the presence and `presence_xml` modules must be loaded and SUBSCRIBE routing must be reachable. This issue has been fixed in versions 3.6.6 and 4.0.0-rc1.

  • LOW
  • NETWORK
  • NONE
  • NONE

CWE-121 - Stack-based Buffer Overflow

A stack-based buffer overflow condition is a condition where the buffer being overwritten is allocated on the stack (i.e., is a local variable or, rarely, a parameter to a function).

References

Advisory Timeline

  • Published