CVE-2026-45537: OpenSIPS: Global Buffer Overflow in construct_uri

Published Aug 4, 2026
·
Updated

OpenSIPS is a Session Initiation Protocol (SIP) server implementation. In versions prior to 3.6.6 and 4.0.0-rc1, the constructuri() function concatenates multiple URI components (protocol, username, domain, port, params) into a fixed 1024-byte global BSS buffer without any bounds checking. When a routing script calls constructuri() with an attacker-controlled username, a combined component length exceeding 1024 bytes overflows the buffer, corrupting adjacent global data with attacker-controlled content. The overflow reaches disable503translation, a global flag controlling SIP 503 response handling, allowing an attacker to deterministically set the flag via the URI username and alter the server's routing behavior for subsequent messages. Because the same buffer is shared with contactbuilder(), the overflow also corrupts that function's data, and without a memory sanitizer the adjacent globals are silently overwritten on every request containing a long username. This issue has been fixed in versions 3.6.6 and 4.0.0-rc1.

Affected Software

2 affected components
OpenSIPS OpenSIPS>3.6.6<3.6.6
OpenSIPS OpenSIPS<3.6.6, <4.0.0-rc1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade OpenSIPS to a version that resolves this vulnerability.

    Fixed in 3.6.6
  2. Upgrade

    Upgrade OpenSIPS to a version that resolves this vulnerability.

    Fixed in 4.0.0-rc1

Event History

Aug 4, 2026
CVE Published
via MITRE·10:48 PM
Data Sourced
via MITRE·10:48 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·11:16 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-45537?

CVE-2026-45537 has a critical severity rating of 9.1.

2

How do I fix CVE-2026-45537?

To fix CVE-2026-45537, update OpenSIPS to version 3.6.6 or 4.0.0-rc1 or later.

3

What is the main issue associated with CVE-2026-45537?

CVE-2026-45537 is caused by a global buffer overflow in the construct_uri() function of OpenSIPS.

4

In which versions of OpenSIPS is CVE-2026-45537 present?

CVE-2026-45537 is present in OpenSIPS versions prior to 3.6.6 and 4.0.0-rc1.

5

What impact does CVE-2026-45537 have on OpenSIPS?

CVE-2026-45537 can lead to denial of service and potential data corruption due to buffer overflow.

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