Skip to main content

OpenSIPS CVE-2026-45705

MEDIUM
Out-of-bounds Read (CWE-125)
2026-08-04 GitHub_M
5.3
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

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

  1. Access
    Send crafted SIP message with multipart/mixed body
  2. Delivery
    Include '--' within 2-3 bytes of body end
  3. Exploit
    Trigger find_line_delimiter() in parse_body.c
  4. Execution
    strncmp() reads past buffer boundary
  5. Impact
    Memory disclosure or process availability disruption

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, read limits
MITRE ATT&CK

1 technique across 1 tactic: Collection

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

Exploitation Conditions

Exploitation requires the target OpenSIPS instance to receive and parse a SIP message containing (1) a Content-Type: multipart/mixed header with a boundary parameter specifying the delimiter string, and (2) a message body where the two-character sequence "--" appears within two to three bytes of the buffer's logical end without being followed by the actual boundary delimiter. No authentication is required (CVSS PR:N) and no special server configuration beyond standard SIP message processing is needed. The CVSS AV:N/AC:L/PR:N/UI:N vector confirms exploitation is possible by any unauthenticated remote host that can deliver SIP traffic to the server. Limiting factors: OpenSIPS deployments that never process multipart SIP bodies - for example, those acting solely as stateless proxies that forward messages without body inspection - have reduced practical exposure, though the parser may still be invoked depending on routing configuration.

Impact

The official CVSS 3.1 base score of 5.3 (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L) positions this as a medium-severity, unauthenticated, network-exploitable availability disruption. The AV:N/PR:N combination is particularly significant for SIP servers, which routinely accept traffic from anonymous external sources and cannot easily gate on authentication at the parsing layer. The AC:L rating is consistent with the low crafting burden: a single malformed SIP message suffices. However, the official C:N rating conflicts directly with the reporter-supplied "Information Disclosure" tag and the mechanics of CWE-125 - an out-of-bounds read via strncmp() can expose adjacent heap or stack memory contents to an attacker who can observe server behavior or error responses, suggesting the confidentiality impact may be conservatively rated. No EPSS score is present in the provided data; independently, the low exploitation complexity and zero authentication requirement suggest non-trivial automated exploitation potential despite the absence of a public POC or KEV listing. SSVC signals: exploitation=none confirmed, automatable=yes (AC:L/PR:N, no human in the loop), technical impact=partial (limited to availability and possibly narrow memory disclosure). Real-world priority is moderate for internet-exposed SIP proxies and lower for internally-isolated deployments. The absence of active exploitation evidence and the straightforward patch availability support treating this as a standard patch-cycle item rather than an emergency response.

Exploit ScenarioDerived

An attacker targeting an internet-facing OpenSIPS proxy sends a SIP INVITE with Content-Type: multipart/mixed; boundary=ExampleBoundaryString123456 and a crafted body where the string "--" appears as the last two bytes of the body buffer, without the full boundary delimiter following it. The find_line_delimiter() function detects the "--" pattern, then calls strncmp() with delimiter.len bytes (20+ bytes for the boundary) starting from that position, reading past the buffer's logical end. This triggers undefined behavior - ranging from silent memory disclosure of adjacent heap contents to a SIGSEGV process crash - with no authentication or prior session required. No public POC exists at time of analysis, but the low crafting complexity makes independent weaponization straightforward.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 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

Out-of-bounds read in OpenSIPS versions prior to 3.6.6 and 4.0.0-rc1 allows unauthenticated remote attackers to trigger memory over-reads in the multipart SIP body parser by sending a crafted message with Content-Type: multipart/mixed whose body contains "--" within two to three bytes of the buffer end. The CVSS vector (AV:N/AC:L/PR:N/UI:N) confirms network-reachable, zero-prerequisite exploitation with low availability impact, though the reporter's "Information Disclosure" tag conflicts with the official C:N rating, suggesting potential memory leakage beyond what the score reflects. No public exploit or CISA KEV listing has been identified at time of analysis; vendor-released patches are confirmed in 3.6.6 and 4.0.0-rc1.

RemediationAI

Upgrade to OpenSIPS 3.6.6 (stable branch) or 4.0.0-rc1 (development branch); both are confirmed fix versions per the GitHub security advisory at https://github.com/OpenSIPS/opensips/security/advisories/GHSA-chxf-9368-fqcp, with the source-level fix applied in commits 4d23613b65579b073784a07a65d3bf52443a4efb and 5f103effaf5f372cccffe0b138f16998eba12668. Verify package availability from your distribution or build from the patched upstream source. If immediate upgrade is not operationally feasible, restrict inbound SIP traffic to known, trusted source IP ranges at the network perimeter using firewall ACLs or SIP-aware load balancers - this limits the attack surface but is not suitable for public-facing SIP infrastructure where anonymous callers are expected. Disabling multipart body parsing at the SIP routing script level (by rejecting or dropping messages with Content-Type: multipart/mixed before they reach the parser) eliminates the vulnerable code path entirely but breaks legitimate RFC 2046 multipart SIP features such as SDP combined with MIME attachments.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

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

Technical ContextAI · show details

OpenSIPS is a high-performance, open-source SIP proxy and registrar written in C, widely deployed in VoIP and telecommunications infrastructure. The vulnerability resides in parser/parse_body.c within the find_line_delimiter() function, responsible for locating MIME multipart boundary delimiters as defined in RFC 2046 when processing SIP message bodies. The function uses strncmp() to compare delimiter.len bytes (typically 20-70 bytes, the configured boundary string) against candidate positions in the buffer but failed to verify that sufficient bytes remained before the buffer limit (plimit) prior to the comparison. CPE cpe:2.3:a:opensips:opensips:*:*:*:*:*:*:*:* confirms all versioned releases prior to the fix are affected. CWE-125 (Out-of-bounds Read) classifies the root cause: strncmp() reads past the logical end of the body buffer when a "--" pattern appears within two to three bytes of the end without a following delimiter. The fix applied in commit 4d23613b65579b073784a07a65d3bf52443a4efb adds an early guard - if (plimit - cp1 < 2 + delimiter.len) return NULL - before the strncmp call, preventing the over-read. The accompanying commit 5f103effaf5f372cccffe0b138f16998eba12668 addresses related bounds issues in URI construction, TCP header parsing, and base64 encoding across the codebase.

Know when Opensips gets its next vulnerability

  • 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_M) PRIMARY 5.3 MEDIUM
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
vuln.today AI 6.5 MEDIUM

CWE-125 out-of-bounds read via strncmp() can expose adjacent memory contents, warranting C:L over official C:N; remaining metrics align with the vendor vector.

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

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

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

DescriptionCVE.org

OpenSIPS is a Session Initiation Protocol (SIP) server implementation. In versions prior to 3.6.6 and 4.0.0-rc1, the find_line_delimiter() function in the multipart body parser performs an out-of-bounds read via strncmp() when searching for MIME boundary delimiters. After finding a -- pattern near the end of the body, the function compares delimiter.len bytes (typically 20-70) starting from a position at or past the logical end of the body buffer, reading past the body boundary. The bug triggers when a SIP message has Content-Type: multipart/mixed with a boundary parameter and its body contains -- within two to three bytes of the body's end without being followed by the actual boundary delimiter. This issue has been fixed in versions 3.6.6 and 4.0.0-rc1.

Threat Intelligence Overview

EPSS Score
0.3%
Top 79% exploitable
Prevalence
Medium
widely used open-source SIP proxy across telecom and VoIP deployments
Data Quality
5 sources
Confidence: Medium
NVD CVE.org EPSS Vulnrichment Vendor 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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.3%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

26
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
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.

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Affected Products (CPE)CVE.org

cpe:2.3:a:opensips:opensips:*:*:*:*:*:*:*:*
CVE-2026-45538 CRITICAL
9.8 Aug 04

Remote code execution and denial of service in OpenSIPS SIP server (versions 4.0.0 and prior) arises from a stack buffer

CVE-2026-45537 CRITICAL
9.1 Aug 04

Memory corruption in the OpenSIPS SIP server (versions prior to 3.6.6 and 4.0.0-rc1) lets remote attackers overflow a fi

CVE-2026-46334 HIGH
8.7 Aug 04

Denial of service in OpenSIPS SIP server versions prior to 3.6.6 allows an unauthenticated remote attacker to crash work

CVE-2026-45084 HIGH
8.7 Aug 04

Denial of service in OpenSIPS versions 3.4.0 through 3.6.5 and 4.0.0-beta allows remote attackers to crash the server wi

CVE-2023-28099 HIGH
7.5 Mar 15

OpenSIPS is a Session Initiation Protocol (SIP) server implementation. Rated high severity (CVSS 7.5), this vulnerabilit

CVE-2023-28098 HIGH
7.5 Mar 15

OpenSIPS is a Session Initiation Protocol (SIP) server implementation. Rated high severity (CVSS 7.5), this vulnerabilit

CVE-2023-28097 HIGH
7.5 Mar 15

OpenSIPS is a Session Initiation Protocol (SIP) server implementation. Rated high severity (CVSS 7.5), this vulnerabilit

CVE-2023-28096 HIGH
7.5 Mar 15

OpenSIPS, a Session Initiation Protocol (SIP) server implementation, has a memory leak starting in the 2.3 branch and pr

CVE-2023-28095 HIGH
7.5 Mar 15

OpenSIPS is a Session Initiation Protocol (SIP) server implementation. Rated high severity (CVSS 7.5), this vulnerabilit

CVE-2023-27601 HIGH
7.5 Mar 15

OpenSIPS is a Session Initiation Protocol (SIP) server implementation. Rated high severity (CVSS 7.5), this vulnerabilit

CVE-2023-27600 HIGH
7.5 Mar 15

OpenSIPS is a Session Initiation Protocol (SIP) server implementation. Rated high severity (CVSS 7.5), this vulnerabilit

CVE-2023-27599 HIGH
7.5 Mar 15

OpenSIPS is a Session Initiation Protocol (SIP) server implementation. Rated high severity (CVSS 7.5), this vulnerabilit

Vendor StatusVendor

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