Skip to main content

OpenSIPS CVE-2026-45103

| EUVDEUVD-2026-52979 HIGH
Integer Overflow or Wraparound (CWE-190)
2026-08-04 security-advisories@github.com
7.5
CVSS 3.1 · Vendor: github
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Reach OpenSIPS TCP listener (no credentials needed)
  2. Delivery
    Send SIP request with Content-Length=4294967296
  3. Exploit
    Unsigned int wraps to 0 in tcp_parse_headers()
  4. Execution
    Framing layer miscomputes TCP stream boundary
  5. Persist
    Original message body reinjected as standalone SIP message
  6. Impact
    Smuggled message inherits connection auth context and bypasses SBC policies

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Integer overflow checks
MITRE ATT&CK

1 technique across 1 tactic: Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

At least one TCP-based transport must be enabled in the OpenSIPS configuration (proto_tcp, proto_tls, proto_ws, or proto_wss); the vulnerability does not affect UDP-only deployments. The description explicitly states there are no routing-script preconditions - no special OpenSIPS dialplan configuration, module, or feature flag is required beyond having TCP enabled, which is common in any deployment requiring TLS or WebSocket support. Because Content-Length is parsed in the transport layer before authentication, exploitation is fully pre-authentication. Exploitation is limited by network reachability to the TCP listener; operators who restrict SIP TCP port access to trusted SBC/proxy IPs reduce but do not eliminate exposure (a compromised upstream device could still exploit it).

Impact

The CVSS 3.1 vector AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N correctly captures the pre-authentication, low-complexity network attack requiring no user interaction. However, the S:U (Unchanged scope) rating warrants scrutiny: while the vulnerability itself is in OpenSIPS, the primary real-world impact is bypassing upstream SBC and proxy security enforcement - a lateral security boundary crossing that S:U does not fully represent. EPSS data was not included in the provided intelligence and cannot be assessed. The vulnerability is not listed in CISA KEV and no public proof-of-concept code has been identified, which limits immediate mass-exploitation risk. Despite the absence of a public exploit, the attack structure is mechanically simple - a single crafted TCP packet - making it highly automatable once the technique is published. Risk is concentrated in telecom and VoIP environments where OpenSIPS fronts Session Border Controllers enforcing authentication and rate-limiting; in those architectures, a successful smuggle can yield bypass of all perimeter controls with no authentication required.

Exploit ScenarioDerived

An unauthenticated attacker sends a single TCP-based SIP INVITE request to an exposed OpenSIPS listener with a crafted Content-Length header value of 4294967296, causing the 32-bit unsigned integer in tcp_parse_headers() to wrap to 0. OpenSIPS then treats the payload body of that first message as a new, independent SIP message - for example, a REGISTER request with a spoofed From header - which is processed with the authentication context of the existing TCP connection, bypassing the upstream SBC's authentication enforcement and rate-limiting rules. No public proof-of-concept has been identified, but the technique requires only standard SIP-over-TCP tooling to implement.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 05, 2026

SIP message smuggling in OpenSIPS via unsigned integer overflow in TCP Content-Length parsing enables unauthenticated remote attackers to inject arbitrary SIP messages that bypass front-end SBC and proxy security policies, inherit connection authentication context, and evade rate limiting. All OpenSIPS instances with any TCP-based transport enabled (proto_tcp, proto_tls, proto_ws, proto_wss) running versions prior to 3.6.6 or 4.0.0-rc1 are affected, with no routing-script preconditions required. No public exploit code or CISA KEV listing has been identified at time of analysis, but the attack requires only a single malformed packet against a default TCP-enabled configuration.

RemediationAI

Upgrade to OpenSIPS 3.6.6 (3.x branch) or 4.0.0-rc1 (4.x branch), both of which include the Content-Length upper-bound check added in net/proto_tcp/tcp_common.h via commits 4d23613b and 5f103eff - these are vendor-confirmed fix versions per advisory GHSA-jv35-555v-54jh. As a compensating control pending patching, deploy an upstream SBC or SIP-aware firewall configured to reject SIP messages with Content-Length values exceeding a realistic ceiling (e.g., 65535 bytes); however, not all SBC products inspect TCP-layer SIP framing at this granularity, so this mitigation requires verification per product. Restricting TCP listener access to known trusted source IPs reduces attack surface but does not eliminate risk from compromised upstream nodes that already have TCP access. Disabling all TCP-based transports and operating UDP-only eliminates the vulnerability entirely but breaks TLS, WebSocket, and WebSocket Secure support, which is not viable for most production deployments.

Affected VersionsENISA

opensips 4.0.0-beta, < 4.0.0-rc1
opensips 3.4.0, < 3.6.6

Affected Packages

euvd opensips_3_4_0 fix: 3.6.6
euvd opensips_4_0_0_beta fix: 4.0.0-rc1

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

OpenSIPS is an open-source SIP (Session Initiation Protocol) server widely deployed in VoIP, unified communications, and telecommunications infrastructure. The vulnerability resides in net/proto_tcp/tcp_common.h within the tcp_parse_headers() function, which stores the parsed Content-Length header value in an unsigned int without any upper-bound or overflow validation - a textbook CWE-190 (Integer Overflow or Wraparound) defect. Sending a Content-Length value of 4294967296 (2^32) causes the 32-bit unsigned integer accumulator to wrap around to 0, causing the TCP stream framing layer to miscompute the message boundary. The body of the attacker's first SIP message is then fed back into the parser as an independent SIP message, enabling the classic HTTP/SIP request smuggling attack class applied to the SIP protocol over TCP. The fix confirmed in commit 4d23613b adds a bounds check against TCP_BUF_SIZE immediately after parsing the content_len value, rejecting any value exceeding the read buffer size and transitioning the connection to the H_SKIP error state. Secondary commits (5f103eff) address related length checks in other parsing paths (sipmsgops, msg_translator, parse_body, transformations) as part of the same hardening effort.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (github) PRIMARY 7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
vuln.today AI 7.5 HIGH

Transport-layer parsing requires no authentication or interaction; Content-Length overflow enables arbitrary SIP injection (high integrity) with no confidentiality or availability impact.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
Red Hat 7.5 HIGH

Primary rating from Vendor (github).

CVSS VectorVendor: github

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
None

Lifecycle Timeline

2
Patch available
Aug 04, 2026 - 23:02 EUVD
CVE Published
Aug 04, 2026 - 22:17 cve.org
HIGH 7.5

DescriptionCVE.org

OpenSIPS is a Session Initiation Protocol (SIP) server implementation. In versions prior to 3.6.6 and 4.0.0-rc1, the TCP message framing layer parses the Content-Length header using unsigned int arithmetic with no overflow check. When an attacker sends a Content-Length value that overflows unsigned int (e.g., 4294967296), the framing layer computes a wrapped-around value (e.g., 0) and splits the TCP stream at the wrong boundary, causing the body of the first SIP message to be processed as a separate message and enabling SIP message smuggling. Because Content-Length is parsed in the transport layer before authentication, an unauthenticated, network-based attacker can smuggle arbitrary SIP messages over any TCP-based transport (proto_tcp, proto_tls, proto_ws, proto_wss) on any instance with TCP enabled, with no routing-script preconditions. This allows smuggled messages to bypass front-end SBC/proxy security policies, inherit the connection's authentication context, and evade rate limiting. This issue has been fixed in versions 3.6.6 and 4.0.0-rc1.

Executive ViewAI

Why It Matters

OpenSIPS versions prior to 3.6.6 and 4.0.0-rc1 contain a SIP message smuggling vulnerability that enables unauthenticated remote attackers to inject malicious packets that bypass authentication inheritance and rate-limiting controls. Organizations operating SIP proxies, session border controllers, or unified communications platforms face direct injection attacks against their signaling infrastructure with no prerequisites or special configuration required. Patching is critical to prevent unauthorized access to voice, video, and messaging systems that rely on OpenSIPS.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.3%
Top 75% exploitable
Prevalence
Medium
popular open-source SIP server in VoIP and telecom infrastructure
Social Media
1
Sightings
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor CIRCL GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Out-of-Cycle
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

Integer overflow occurs when an arithmetic operation produces a result that exceeds the maximum value a given integer type can store.

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy