CVE-2026-45705 OpenSIPS: OOB Read in Multipart Body Boundary Parsing
An out-of-bounds read in OpenSIPS allows attackers to cause denial of service or disclose memory contents via crafted SIP messages.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-45705?
CVE-2026-45705 is a medium-severity memory corruption vulnerability in opensips, published on 4 Aug 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Weakness: CWE-125
Which versions are affected by CVE-2026-45705?
How do I fix CVE-2026-45705?
No fix has been published for CVE-2026-45705 yet. Limit exposure of the affected software until one is available.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2026-45705 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-45705 exists.
Sources
Also known as GHSA-chxf-9368-fqcp, UBUNTU-CVE-2026-45705.