Out-of-bounds Read in Opensips

CVE-2026-45705

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.

Vulnerability class: Buffer Overflow

EPSS: 0.003 (22.0th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 5.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L.

Affected products

  • Opensips — versions >= 3.4.0, < 3.6.6, >= 4.0.0-beta, < 4.0.0-rc1

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2026-45705?
CVE-2026-45705 is a medium-severity vulnerability in Opensips, classified under Out-of-bounds Read. CVSS score: 5.3/10. Published 2026-08-05.
How severe is CVE-2026-45705?
Medium severity. CVSS v3 base score is 5.3 out of 10.