External risk intelligence

OpenSIPS Buffer Overflow in s.b64encode String Transformation

CVE advisorySeverity: CRITICAL (CVSS 9.1)

CVE-2026-45100

OpenSIPS is a SIP server, which by design acts as a public-facing communication gateway or edge service to handle voice, video, and messaging traffic. Because it is intended to receive and process SIP messages from remote endpoints, it is inherently exposed to the internet in standard deployments.

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 server for handling voice and messaging communications. The issue involves a buffer overflow that could allow an attacker to manipulate data within a system, potentially impacting the integrity and availability of communication services. The exploitability depends on specific routing configurations within a deployment.

  • A coding error allows data to overflow.
  • It affects communication systems.
  • Confirm relevance and assess potential exposure.

Attack Path

How an attacker could exploit the issue

An attacker can exploit this vulnerability by sending a specially crafted SIP message to an OpenSIPS server. If the server's routing script uses a specific string transformation with an oversized input, it can trigger a buffer overflow. This overflow can then corrupt memory, potentially allowing the attacker to alter the processing of subsequent transformations within the same SIP message.

  • No authentication or user interaction needed.
  • Large header value triggers overflow in string transformation.
  • Corrupts adjacent data, impacting message processing.

Live Threat

Current exploitation, exposure, and threat context

When routing scripts apply the `{s.b64encode}` transformation to attacker-controlled input within SIP messages, a buffer overflow could occur. This overflow may corrupt data used in subsequent transformations of the same message, potentially impacting service behavior. The specific impact depends on the deployment's routing configuration.

  • SIP message processing data.
  • Large header value sent remotely.
  • Service interruption or message corruption.

Operational Fix

Recommended remediation, mitigation, and detection steps

Identifying and remediating this critical vulnerability in OpenSIPS requires collaboration between infrastructure and security teams. The first practical step is to locate all instances of OpenSIPS within the environment, determine their exposure (especially to external networks), and assess their business criticality. Once discovered, the responsible team or accountable owner must be identified to coordinate a risk-based remediation plan, which may involve vendor coordination and careful maintenance window planning.

  • Identify OpenSIPS instances and exposure.
  • Confirm business criticality and owner.
  • Plan remediation based on risk.

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 SIP server used to manage real-time communication traffic, including voice, video, and instant messaging. It typically acts as a core infrastructure component—often positioned as an edge service—to route, authenticate, and process session messages between network endpoints.

What is the vulnerability in CVE-2026-45100?

This vulnerability is a buffer overflow (CWE-120) occurring within the {s.b64encode} string transformation function. Because base64 encoding expands data size, the function fails to account for the additional bytes created during processing. If an input is large enough, it exceeds the designated memory buffer and overwrites adjacent memory, which can corrupt data used by the server to process the current communication request.

How can an attacker trigger this buffer overflow?

A remote attacker triggers this by sending a SIP message containing an unusually large header value—roughly 50,000 bytes or more—that the server's routing script then passes through the {s.b64encode} function. Crucially, the overflow does not occur if the routing configuration avoids applying this specific transformation to attacker-controlled input, or if the input size remains below the threshold required to exhaust the 64 KB buffer.

Do I need to worry about this if my server is internal?

According to Halo Surface Signal, OpenSIPS is designed to act as a public-facing gateway to handle remote traffic, making it inherently exposed to the internet in most standard deployments. While internal-only deployments may face reduced risk from external actors, you should confirm your server's network accessibility to determine if it is reachable by untrusted parties who could send these crafted SIP messages.

How should I respond to this CVE?

Begin by inventorying your environment to identify all active OpenSIPS instances. Verify which versions are in use and determine their network exposure. Prioritize servers running affected versions for an upgrade to 3.6.6 or 4.0.0-rc1, which contain the necessary fix. Coordinate with your team to schedule these updates during a maintenance window, ensuring business continuity while addressing the memory safety risk.

References