Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach OpenSIPS TCP listener (no credentials needed)
-
DeliverySend SIP request with Content-Length=4294967296
-
ExploitUnsigned int wraps to 0 in tcp_parse_headers()
-
ExecutionFraming layer miscomputes TCP stream boundary
-
PersistOriginal message body reinjected as standalone SIP message
-
ImpactSmuggled 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Transport-layer parsing requires no authentication or interaction; Content-Length overflow enables arbitrary SIP injection (high integrity) with no confidentiality or availability impact.
Primary rating from Vendor (github).
CVSS VectorVendor: github
Lifecycle Timeline
2DescriptionCVE.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
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.
Apply vendor patch.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
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.
EUVD-2026-52979
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB