Stack Buffer Overflow in OpenSIPS SIP Server Implementation
CVE-2026-45538

9.8CRITICAL

Key Information:

Vendor

Opensips

Status
Vendor
CVE Published:
4 August 2026

What is CVE-2026-45538?

OpenSIPS, a popular Session Initiation Protocol (SIP) server implementation, is susceptible to a stack buffer overflow vulnerability. In versions up to and including 4.0.0, the function sip_to_json() fails to properly validate SIP message header names. When a SIP message contains a header name exceeding 255 bytes, the lack of bound checks can lead to buffer overflow during the copying process. This may result in the corruption of the saved frame pointer and return address, enabling attackers to crash the server or potentially execute arbitrary code remotely by exploiting crafted SIP messages sent via UDP. Users deploying routing scripts that invoke sip_to_json() are particularly at risk, carrying a significant security threat in environments reliant on OpenSIPS.

Affected Version(s)

opensips <= 4.0.0

References

CVSS V3.1

Score:
9.8
Severity:
CRITICAL
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
None
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.