CVE-2026-45705

OpenSIPS: OOB Read in Multipart Body Boundary Parsing

Published Aug 4, 2026 CVSS 3.1 · 5.3 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The vulnerability is an out-of-bounds read that occurs in the multipart body parser of OpenSIPS. While parsing a SIP message that contains a MIME boundary in a multipart/mixed body, the find_line_delimiter() function uses strncmp() to compare delimiter length bytes starting beyond the logical end of the body buffer. The flaw can cause the server to read memory past the buffer, potentially exposing sensitive data stored there. The impact is limited to confidentiality risk and is reflected in a CVSS score of 5.3.

Affected Systems

OpenSIPS servers running a version earlier than 3.6.6 or before the release of 4.0.0‑rc1 are affected. The issue only affects the OpenSIPS project itself; no other vendors or products are listed.

Risk and Exploitability

The exploit requires delivery of a specially crafted SIP packet containing a Content‑Type of multipart/mixed with a boundary parameter whose body ends two to three bytes before the final boundary separator. An attacker can then trigger the out‑of‑bounds read over the network. No privilege escalation or code execution is provided. The EPSS score is not available, the CVSS score of 5.3 positions the risk as moderate, and the vulnerability is not listed in the CISA KEV catalog.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade OpenSIPS to version 3.6.6 or later, or 4.0.0‑rc1 or later, to apply the patch that removes the out‑of‑bounds read.
  • If an immediate upgrade is not possible, restrict the server to accept SIP traffic only from trusted peers or from a controlled network segment to reduce exposure to crafted messages.
  • Implement additional input validation or packet filtering that rejects multipart/mixed bodies where a boundary delimiter pattern occurs near the end without a proper terminator, thereby preventing the read beyond the buffer boundary.

Generated by OpenCVE AI on August 5, 2026 at 00:14 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Opensips
Opensips opensips
Vendors & Products Opensips
Opensips opensips
Type Values Removed Values Added
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.
Title OpenSIPS: OOB Read in Multipart Body Boundary Parsing
Weaknesses CWE-125
References
Metrics cvssV3_1

{'score': 5.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Aug 5, 2026, 1:39 PM
Reserved
May 13, 2026, 4:38 AM
Status
Awaiting Analysis
Published
Aug 5, 2026, 12:16 AM
Modified
Sep 8, 2026, 8:41 PM