CVE-2026-45084: OpenSIPS: Denial of service in presence.handle_publish() from unchecked Content-Type state

Published Aug 4, 2026
·
Updated

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 handlepublish() function processes a SIP PUBLISH request with an Event: presence header and a message body while the configuration option enablespherecheck=1 is set, it invokes the getcontenttype() macro without first calling parsecontenttypehdr(), causing it to dereference uninitialized or NULL Content-Type parsing state and crash. If a Content-Type header is present but unparsed, msg->contenttype->parsed is NULL and is dereferenced as a contentt pointer; if the request lacks a Content-Type header entirely, msg->contenttype 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.

Affected Software

2 affected components
OpenSIPS OpenSIPS>=3.4.0<=3.6.5
OpenSIPS OpenSIPS<4.0.0-rc1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade OpenSIPS presence module to a version that resolves this vulnerability.

    Fixed in 3.6.6
  2. Upgrade

    Upgrade OpenSIPS presence module to a version that resolves this vulnerability.

    Fixed in 4.0.0-rc1
  3. Configuration

    Ensure enable_sphere_check is not set to 1 for vulnerable deployments; the DoS occurs when handle_publish() processes a PUBLISH request while enable_sphere_check=1 and parse_content_type_hdr() is not called before get_content_type().

    OpenSIPS presence module enable_sphere_check = 1

Event History

Aug 4, 2026
CVE Published
via MITRE·09:23 PM
Data Sourced
via MITRE·09:23 PM
DescriptionWeakness
Data Sourced
via NVD·10:17 PM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-45084?

The severity of CVE-2026-45084 is rated as 30, indicating a notable risk of denial of service.

2

How do I fix CVE-2026-45084?

To fix CVE-2026-45084, upgrade OpenSIPS to a version beyond 3.6.5 where this vulnerability has been addressed.

3

What systems are affected by CVE-2026-45084?

CVE-2026-45084 affects OpenSIPS versions 3.4.0 through 3.6.5.

4

What type of vulnerability is CVE-2026-45084?

CVE-2026-45084 is a denial of service vulnerability caused by a null pointer dereference in the handle_publish() function.

5

What actions trigger CVE-2026-45084?

CVE-2026-45084 can be triggered by processing a SIP PUBLISH request with an Event: presence header and an unchecked Content-Type state.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203