{
  "id": "CVE-2026-45809",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-45809",
  "published_at": "2026-08-04T23:30:03.111Z",
  "title": "OpenSIPS: Denial of Service in watcherinfo XML generation from oversized watcher URI",
  "vendor": "OpenSIPS",
  "product": "opensips",
  "cvss": {
    "score": 8.7,
    "source": "cna",
    "vector": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "OpenSIPS is a Session Initiation Protocol (SIP) server implementation. Versions prior to 3.6.6 and 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.",
  "cwe": "CWE-121",
  "cvss_by_source": {
    "cna": 8.7
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "OpenSIPS",
        "product": "opensips",
        "ranges": [
          "\u003e= 3.4.0, \u003c 3.6.6",
          "\u003e= 4.0.0-beta, \u003c 4.0.0-rc1"
        ],
        "fixed_in": [
          "3.6.6",
          "4.0.0-rc1"
        ]
      }
    ],
    "upgrade": [
      "Upgrade opensips to 3.6.6 or 4.0.0-rc1 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/OpenSIPS/opensips/security/advisories/GHSA-gx83-2gh8-7v56"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/OpenSIPS/opensips/commit/c5970d3ee25b457ad2d78fe6e9662a12dae577cd"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/OpenSIPS/opensips/commit/dd86461b71ff4a4f5194205896ae5f48f144240d"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
