Skip to main content
← All vulnerabilities
CVE-2026-45705

OpenSIPS: OOB Read in Multipart Body Boundary Parsing

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 3.6.6, 4.0.0-rc1
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • OpenSIPS opensips

    From 3.4.0 · fixed in 3.6.6; From 4.0.0-beta · fixed in 4.0.0-rc1

References 3

GitHub · OpenSIPS/opensips