CVE-2026-45809

Source
https://cve.org/CVERecord?id=CVE-2026-45809
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-45809.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-45809
Aliases
  • GHSA-gx83-2gh8-7v56
Downstream
Published
2026-08-04T23:30:03.111Z
Modified
2026-08-07T21:32:31.422907Z
Severity
  • 8.7 (High) CVSS_V4 - 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 CVSS Calculator
Summary
OpenSIPS: Denial of Service in watcherinfo XML generation from oversized watcher URI
Details

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 handlesubscribe() and allow watcherinfo (presence.winfo) generation. The issue is configuration-dependent because the presence and presencexml 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.

Database specific
{
    "cna_assigner": "GitHub_M",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/45xxx/CVE-2026-45809.json",
    "cwe_ids": [
        "CWE-121"
    ]
}
References

Affected packages

Git / github.com/opensips/opensips

Affected ranges

Type
GIT
Repo
https://github.com/opensips/opensips
Events
Database specific
{
    "extracted_events": [
        {
            "introduced": "3.4.0"
        },
        {
            "fixed": "3.6.6"
        },
        {
            "introduced": "4.0.0-beta"
        },
        {
            "fixed": "4.0.0-rc1"
        }
    ],
    "source": [
        "AFFECTED_FIELD",
        "REFERENCES"
    ]
}

Affected versions

4.*
4.0.0-beta

Database specific

vanir_signatures
[
    {
        "signature_version": "v1",
        "deprecated": false,
        "digest": {
            "length": 2528.0,
            "function_hash": "183821885697916348754699953055818722163"
        },
        "id": "CVE-2026-45809-3d216e5d",
        "signature_type": "Function",
        "source": "https://github.com/opensips/opensips/commit/c5970d3ee25b457ad2d78fe6e9662a12dae577cd",
        "target": {
            "function": "create_winfo_xml",
            "file": "modules/presence/notify.c"
        }
    },
    {
        "signature_version": "v1",
        "deprecated": false,
        "digest": {
            "length": 2528.0,
            "function_hash": "183821885697916348754699953055818722163"
        },
        "id": "CVE-2026-45809-6552f120",
        "signature_type": "Function",
        "source": "https://github.com/opensips/opensips/commit/dd86461b71ff4a4f5194205896ae5f48f144240d",
        "target": {
            "function": "create_winfo_xml",
            "file": "modules/presence/notify.c"
        }
    },
    {
        "signature_version": "v1",
        "deprecated": false,
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "92711967930194413434373298487748522637",
                "207029592527048478320583161783703490049",
                "222977171143224573734795407850128024475",
                "181718214887288236131761178719379504330",
                "90908079061812501404018126926773218367",
                "136675669830473365757410393279336641863",
                "67694711868397253345108538836135562719",
                "195868491343602345952019741565628650857",
                "148194926361603152616941960260945734846",
                "68780323381202982598413207753338807132",
                "267775975522134175591330276817592825227",
                "285555515541982983413164348894947969084",
                "117036083369202793659756759572929934348",
                "114290391985029173485579858732997151478",
                "316253839681919968143278197172304977920",
                "219578106303333885297147018675944648195"
            ]
        },
        "id": "CVE-2026-45809-6be1e177",
        "signature_type": "Line",
        "source": "https://github.com/opensips/opensips/commit/c5970d3ee25b457ad2d78fe6e9662a12dae577cd",
        "target": {
            "file": "modules/presence/notify.c"
        }
    },
    {
        "signature_version": "v1",
        "deprecated": false,
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "92711967930194413434373298487748522637",
                "207029592527048478320583161783703490049",
                "222977171143224573734795407850128024475",
                "181718214887288236131761178719379504330",
                "90908079061812501404018126926773218367",
                "136675669830473365757410393279336641863",
                "67694711868397253345108538836135562719",
                "195868491343602345952019741565628650857",
                "148194926361603152616941960260945734846",
                "68780323381202982598413207753338807132",
                "267775975522134175591330276817592825227",
                "285555515541982983413164348894947969084",
                "117036083369202793659756759572929934348",
                "114290391985029173485579858732997151478",
                "316253839681919968143278197172304977920",
                "219578106303333885297147018675944648195"
            ]
        },
        "id": "CVE-2026-45809-f5a1be6b",
        "signature_type": "Line",
        "source": "https://github.com/opensips/opensips/commit/dd86461b71ff4a4f5194205896ae5f48f144240d",
        "target": {
            "file": "modules/presence/notify.c"
        }
    }
]
vanir_signatures_modified
"2026-08-07T21:32:31Z"
source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-45809.json"