CVE-2026-45705
Received Received - Intake

Out-of-Bounds Read in OpenSIPS SIP Server

Vulnerability report for CVE-2026-45705, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-08-05

Last updated on: 2026-08-05

Assigner: GitHub, Inc.

Description

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-08-05
Last Modified
2026-08-05
Generated
2026-08-05
AI Q&A
2026-08-05
EPSS Evaluated
N/A
NVD

Affected Vendors & Products

Showing 2 associated CPEs
Vendor Product Version / Range
opensips opensips to 4.0.0-rc1 (exc)
opensips opensips to 3.6.6 (inc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-125 The product reads data past the end, or before the beginning, of the intended buffer.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

CVE-2026-45705 is an out-of-bounds read vulnerability in OpenSIPS, a SIP server implementation. It occurs in the multipart body parser function find_line_delimiter() when searching for MIME boundary delimiters. The function uses strncmp() to compare delimiters but may read past the end of the body buffer if a -- pattern appears near the end without the proper boundary delimiter. This causes it to access memory outside the intended buffer, potentially reading data from subsequent SIP messages in the receive buffer on TCP connections.

Detection Guidance

This vulnerability is not easily detectable via standard commands due to its nature as an out-of-bounds read that stays within the SIP receive buffer. It does not trigger AddressSanitizer (ASan) and may not leave obvious logs. Monitor for unusual SIP message parsing errors or crashes in OpenSIPS versions prior to 3.6.6 or 4.0.0-rc1.

Impact Analysis

The primary impact is low availability due to potential memory corruption. An attacker could exploit this to cause a denial of service by crashing the OpenSIPS server or reading sensitive data from memory. The vulnerability is network-accessible via SIP over UDP or TCP (port 5060) and does not require authentication to exploit.

Mitigation Strategies

Upgrade OpenSIPS to version 3.6.6 or 4.0.0-rc1 or later immediately. These versions include fixes that enforce bounds checks in the multipart body parser and other components to prevent out-of-bounds reads.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-45705. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart