Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSend SIP PUBLISH with Event: presence header
-
Deliveryhandle_publish() invoked in presence module
-
Exploitenable_sphere_check=1 triggers get_content_type() call
-
Executionparse_content_type_hdr() never called, state uninitialized
-
PersistNULL pointer dereference on msg->content_type or parsed sub-pointer
-
ImpactOpenSIPS process crashes, SIP service disrupted
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A10:2025 - Mishandling of Exceptional Conditions
ASVS 5.0
V16 - Security Logging and Error Handling Null pointer safety, defensive checks
MITRE ATT&CK
1 technique across 1 tactic: Impact The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires three specific conditions to all be true simultaneously: (1) the OpenSIPS presence module must be loaded and active in the running configuration; (2) the enable_sphere_check=1 option must be explicitly set in the presence module configuration - this is non-default and requires deliberate operator configuration; and (3) the attacker must be able to deliver a SIP PUBLISH request with an 'Event: presence' header and a message body to the target over UDP or TCP. The crash is achievable using either a valid Content-Type: application/pidf+xml header or a request with the Content-Type header removed. Limiting factors include: deployments without enable_sphere_check=1 are entirely unaffected; deployments whose SIP routing scripts require authentication before PUBLISH requests reach the presence module raise the bar to authenticated attackers (PR:L or PR:H in those cases); and network-level SIP filtering can restrict the attacker population. The vulnerable code path itself does not enforce authentication, making unauthenticated exploitation possible where routing configuration permits it. |
| Impact | The CVSS 4.0 base score of 8.7 (AV:N/AC:L/AT:N/PR:N/UI:N/VA:H) reflects the network-accessible, low-complexity nature of the denial-of-service impact. The score is directionally correct but the AT:N (no attack requirements) metric may overstate exposure: the vulnerability only activates when enable_sphere_check=1 is explicitly set in the presence module configuration, which is not the default and requires deliberate operator action. CVSS 4.0's AT:P would be a more precise characterization. Regarding authentication: the vulnerable code path itself does not enforce authentication (consistent with PR:N in the vector), but the description notes that a deployment's SIP routing script may require authentication before PUBLISH requests reach handle_publish() - this deployment-variable authentication layer is a meaningful real-world exposure limiter that the raw score does not capture. No EPSS score was provided, so exploitation probability is unknown. The vulnerability is not listed in CISA KEV and no POC has been identified, meaning no confirmed active exploitation exists at time of analysis. Despite a high CVSS score, the realistic risk is modulated significantly by the non-default configuration requirement: organizations not running the presence module with enable_sphere_check=1 are entirely unaffected. |
| Exploit ScenarioDerived | An attacker discovers or infers that a target OpenSIPS instance is running the presence module with enable_sphere_check=1 - identifiable via SIP OPTIONS responses, banner data, or infrastructure reconnaissance. The attacker sends a single SIP PUBLISH request over UDP or TCP with an 'Event: presence' header and a message body, either omitting the Content-Type header or including one without prior parsing state initialization. OpenSIPS's handle_publish() dereferences a NULL pointer, the process crashes, and all SIP services on that instance become unavailable. No public exploit code has been identified, but the attack requires only a standard SIP client and the precise request format is fully described in the public advisory. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 05, 2026
Denial of service in OpenSIPS versions 3.4.0 through 3.6.5 and 4.0.0-beta allows remote attackers to crash the server with a single crafted SIP PUBLISH request targeting the presence module. The crash stems from a NULL pointer dereference in handle_publish() triggered when enable_sphere_check=1 is configured: get_content_type() is invoked without first calling parse_content_type_hdr(), leaving Content-Type parsing state uninitialized and producing a segmentation fault via either a NULL parsed sub-pointer or a NULL content_type pointer. No public exploit has been identified at time of analysis, but the attack mechanics are fully described in the vendor advisory (GHSA-h3ww-hchh-x2g9), and the fix is available in 3.6.6 and 4.0.0-rc1.
RemediationAI
The primary fix is to upgrade to OpenSIPS 3.6.6 (for 3.x deployments) or 4.0.0-rc1 (for 4.x early-adopters), both of which resolve the NULL dereference by ensuring parse_content_type_hdr() is called before get_content_type() is invoked in handle_publish(). The vendor advisory at https://github.com/OpenSIPS/opensips/security/advisories/GHSA-h3ww-hchh-x2g9 provides authoritative upgrade guidance. For deployments that cannot patch immediately, the most direct workaround is to set enable_sphere_check=0 in the presence module configuration and reload OpenSIPS - this disables the vulnerable code path entirely; the trade-off is that sphere-based filtering in presence event handling will be inactive, which may affect deployments relying on that feature for policy enforcement. A secondary compensating control is to require SIP authentication for PUBLISH requests in the OpenSIPS routing script before requests reach the presence module, limiting exposure to authenticated senders; note that this does not fix the underlying crash but reduces the attacker population. Network-level filtering of SIP PUBLISH traffic to trusted source IPs at the firewall or SBC layer provides additional depth but should not be the sole control.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
OpenSIPS is an open-source SIP (Session Initiation Protocol) server written in C, widely deployed in VoIP and telecommunications infrastructure as a proxy, registrar, and application server. The affected component is the presence module, which implements RFC 3903 SIP event publication. The root cause is CWE-476 (NULL Pointer Dereference): the handle_publish() function conditionally invokes the get_content_type() macro when enable_sphere_check=1 is active, but omits the prerequisite call to parse_content_type_hdr() that initializes the msg->content_type parsing state. Two dereference paths both lead to a crash: when a Content-Type header is present but has not been parsed, msg->content_type->parsed is NULL and is cast as a content_t pointer; when no Content-Type header is present at all, msg->content_type itself is NULL. Both are classic C null-pointer dereferences that terminate the process. The CPE cpe:2.3:a:opensips:opensips:*:*:*:*:*:*:*:* covers all platforms running affected versions; EUVD-2026-52933 independently corroborates the version ranges.
Know when Opensips gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Network-reachable crash requiring no authentication on the code path; non-default enable_sphere_check=1 is a target-side prerequisite, not an attack complexity factor per CVSS 3.1 AC definition.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.org
OpenSIPS is a Session Initiation Protocol (SIP) server implementation. Versions 3.4.0 through 3.6.5 contain a denial of service vulnerability in the presence module. When the presence module's handle_publish() function processes a SIP PUBLISH request with an Event: presence header and a message body while the configuration option enable_sphere_check=1 is set, it invokes the get_content_type() macro without first calling parse_content_type_hdr(), causing it to dereference uninitialized or NULL Content-Type parsing state and crash. If a Content-Type header is present but unparsed, msg->content_type->parsed is NULL and is dereferenced as a content_t pointer; if the request lacks a Content-Type header entirely, msg->content_type itself is NULL, and both cases lead to a crash. A remote attacker can therefore cause a denial of service against an affected instance with a single PUBLISH request over UDP or TCP, using either a valid Content-Type: application/pidf+xml request or one with the header removed, and the vulnerable code path itself does not enforce authentication (though a deployment's routing configuration may require it before this route is reached). The issue has been fixed in version 3.6.6 and 4.0.0-rc1.
Executive ViewAI
A high-severity vulnerability in OpenSIPS VoIP proxy servers (versions 3.4.0-3.6.5 and 4.0.0-beta) allows remote attackers to crash the server with a single malicious SIP request, directly disrupting voice communications and business continuity for organizations dependent on VoIP services. Although no public exploit has been identified at time of analysis, vendor-released patches are available in versions 3.6.6 and 4.0.0-rc1, providing a clear remediation path. This affects any organization running affected OpenSIPS versions in production telecommunications environments.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
A null pointer dereference occurs when a program attempts to access memory through a pointer that has been set to NULL (address 0x0).
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
Remote code execution and denial of service in OpenSIPS SIP server (versions 4.0.0 and prior) arises from a stack buffer
Memory corruption in the OpenSIPS SIP server (versions prior to 3.6.6 and 4.0.0-rc1) lets remote attackers overflow a fi
Denial of service in OpenSIPS SIP server versions prior to 3.6.6 allows an unauthenticated remote attacker to crash work
OpenSIPS is a Session Initiation Protocol (SIP) server implementation. Rated high severity (CVSS 7.5), this vulnerabilit
OpenSIPS is a Session Initiation Protocol (SIP) server implementation. Rated high severity (CVSS 7.5), this vulnerabilit
OpenSIPS is a Session Initiation Protocol (SIP) server implementation. Rated high severity (CVSS 7.5), this vulnerabilit
OpenSIPS, a Session Initiation Protocol (SIP) server implementation, has a memory leak starting in the 2.3 branch and pr
OpenSIPS is a Session Initiation Protocol (SIP) server implementation. Rated high severity (CVSS 7.5), this vulnerabilit
OpenSIPS is a Session Initiation Protocol (SIP) server implementation. Rated high severity (CVSS 7.5), this vulnerabilit
OpenSIPS is a Session Initiation Protocol (SIP) server implementation. Rated high severity (CVSS 7.5), this vulnerabilit
OpenSIPS is a Session Initiation Protocol (SIP) server implementation. Rated high severity (CVSS 7.5), this vulnerabilit
OpenSIPS is a Session Initiation Protocol (SIP) server implementation. Rated high severity (CVSS 7.5), this vulnerabilit
EUVD-2026-52933
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB