Description
OpenSIPS is a Session Initiation Protocol (SIP) server implementation. Prior to versions 3.1.9 and 3.2.6, a malformed SIP message containing a large _Content-Length_ value and a specially crafted Request-URI causes a segmentation fault in OpenSIPS. This issue occurs when a large amount of shared memory using the `-m` flag was allocated to OpenSIPS, such as 10 GB of RAM. On the test system, this issue occurred when shared memory was set to `2362` or higher. This issue is fixed in versions 3.1.9 and 3.2.6. The only workaround is to guarantee that the Content-Length value of input messages is never larger than `2147483647`.
References (3)
Core 3
Core References
Third Party Advisory x_refsource_confirm
https://github.com/OpenSIPS/opensips/security/advisories/GHSA-c6j5-f4h4-2xrq
Patch, Third Party Advisory x_refsource_misc
https://github.com/OpenSIPS/opensips/commit/7cab422e2fc648f910abba34f3f0dbb3ae171ff5
Vendor Advisory x_refsource_misc
https://opensips.org/pub/audit-2022/opensips-audit-technical-report-full.pdf
Scores
CVSS v3
7.5
EPSS
0.0070
EPSS Percentile
72.1%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
yes
Technical Impact
partial
Details
CWE
CWE-190
Status
published
Products (1)
opensips/opensips
< 3.1.9
Published
Mar 15, 2023
Tracked Since
Feb 18, 2026