External risk intelligence

OpenSIPS URI Construction Buffer Overflow in construct_uri() Function

CVE advisorySeverity: CRITICAL (CVSS 9.1)

CVE-2026-45537

OpenSIPS is a SIP server, a type of software designed specifically to be exposed to the internet or public-facing network segments to process incoming voice and communication traffic. Because SIP servers are intentionally deployed as internet-facing gateways to handle external signaling requests, this vulnerability is exposed on a service meant to be public-facing by design.

Buffer Overflow

Halo Surface Signal: 5 out of 5 — more likely to be public-facing.

External exposure likelihood

Horizon Alert

Summary of the vulnerability and why it matters

This advisory concerns a critical vulnerability in OpenSIPS, a widely used communication server. The issue involves a buffer overflow that can be triggered remotely, potentially allowing attackers to manipulate server behavior and disrupt services. The main concern is confirming relevance and exposure to this type of communication infrastructure.

  • Unchecked input can overflow a communication server buffer.
  • Attackers might control server responses and disrupt services.
  • Confirm if this communication technology is in use.

Attack Path

How an attacker could exploit the issue

An attacker can exploit this vulnerability by sending specially crafted SIP requests to a vulnerable OpenSIPS server. The `construct_uri()` function, which processes URI components, lacks bounds checking. When a crafted URI contains an overly long username, it can overwrite critical data in adjacent memory. This allows an attacker to manipulate server behavior, potentially leading to denial-of-service conditions or unauthorized modification of server responses.

  • No authentication or privileges required.
  • Malicious URI overwrites adjacent server data.
  • Altered server behavior, potential denial of service.

Live Threat

Current exploitation, exposure, and threat context

This vulnerability could allow an attacker to alter the server's routing behavior by overflowing a buffer with a specially crafted username. This overflow can corrupt adjacent global data, including a flag that controls how the server handles certain SIP responses, potentially leading to modified service behavior when supported by the advisory.

  • SIP server routing behavior.
  • Malicious input overflows buffer.
  • Altered server responses.

Operational Fix

Recommended remediation, mitigation, and detection steps

Infrastructure and platform teams are likely responsible for OpenSIPS, as it serves as a core communication server. The first step is to identify all OpenSIPS instances, determine their internet reachability and criticality, and then confirm the specific system owners. A prioritized remediation plan should follow, coordinating with vendors and considering maintenance windows.

  • Own the issue through infrastructure/platform teams.
  • Verify internet-facing exposure and criticality.
  • Plan remediation based on risk and vendor coordination.

Supplementary metadata

Validate whether this threat affects your internet-facing exposure.

Halo Threat Intelligence helps prioritize remediation with Halo Surface Signal and H/A/L/O context. Start exposure validation with a free external attack surface trial.

Frequently asked questions

What is OpenSIPS?

OpenSIPS is a high-performance Session Initiation Protocol (SIP) server used to build communication platforms like VoIP services. It acts as an intermediary, routing, managing, and processing signaling traffic that enables voice and video calls. Because it handles incoming network connections, it is commonly deployed as a gateway to connect internal infrastructure with external communication networks.

How does CVE-2026-45537 cause a buffer overflow?

This vulnerability, classified as CWE-120, occurs because the construct_uri() function fails to check the length of input data before copying it into a fixed-size buffer. When a request includes an excessively long username, the extra data spills over the memory boundary. This overwrite corrupts nearby global settings, which can force the server to execute unintended logic, such as modifying how it handles specific SIP responses.

Can any SIP request trigger this flaw?

No. The issue is specifically triggered when a request is routed through the construct_uri() function using an attacker-controlled username that, when combined with other URI components, exceeds 1024 bytes. Legitimate traffic with standard-length usernames will not trigger this memory overflow.

Is my server at risk from this vulnerability?

Halo Surface Signal indicates that OpenSIPS is typically deployed as an internet-facing gateway, making it highly likely that your instance is reachable by external traffic. If your server is configured to process public-facing SIP signaling, it is exposed to potential manipulation through this vulnerability, as the attack does not require prior authentication.

What is the first step to remediate this?

Begin by identifying all running instances of OpenSIPS within your network to confirm your current version. If you are using any version prior to 3.6.6 or 4.0.0-rc1, you are vulnerable. Coordinate with your infrastructure or platform teams to plan an update to the patched versions, ensuring you review the release notes to maintain compatibility with your existing routing scripts.

References