OpenSIPS is a Session Initiation Protocol (SIP) server implementation. Prior to versions 3.1.7 and 3.2.4, OpenSIPS crashes when a malformed SDP body is received and is processed by the delete_sdp_line function in the sipmsgops module. This issue can be reproduced by calling the function with an SDP body that does not terminate by a line feed (i.e. \n).
The vulnerability was found while performing black-box fuzzing against an OpenSIPS server running a configuration that made use of the functions codec_delete_except_re and codec_delete_re. The same issue was also discovered while performing coverage guided fuzzing on the function codec_delete_except_re. The crash happens because the function delete_sdp_line expects that an SDP line is terminated by a line feed (\n):
By abusing this vulnerability, an attacker is able to crash the server. It affects configurations containing functions that rely on the affected code, such as the function codec_delete_except_re. Due to the sanity check that is performed in the del_lump function, exploitation of this issue will generate an abort in the lumps processing function, resulting in a Denial of Service. This issue has been fixed in versions 3.1.7 and 3.2.4.
{
"cwe_ids": [
"CWE-20"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/27xxx/CVE-2023-27601.json",
"cna_assigner": "GitHub_M"
}{
"cpe": "cpe:2.3:a:opensips:opensips:*:*:*:*:*:*:*:*",
"extracted_events": [
{
"introduced": "0"
},
{
"fixed": "3.1.7"
},
{
"introduced": "3.2.0"
},
{
"fixed": "3.2.4"
}
],
"source": [
"CPE_RANGE",
"REFERENCES"
]
}
"2026-08-12T13:34:07Z"
[
{
"id": "CVE-2023-27601-5165cbc8",
"deprecated": false,
"signature_type": "Line",
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"137877868784411171338607751634666371930",
"47013258541762614837183498924632224066",
"146429316340920740503915066674548768309",
"108867806995449837497039208868456638499",
"303261825899314458415077583757692131319",
"296574181230925816220813797561410206723",
"185559832749483002339328851325654923499",
"21802054619684391566923346363372832010",
"234744678462831931925457077048295372675",
"136346067555153709311866028472025994940",
"227542366407315427743977172890608901002",
"214194216108536255633214132617589708641",
"335237867821769643632926608842751097923",
"237669290061652301130179283281809423530",
"331235505911565805072154525433791441002",
"307027807423216033157631003906176742020",
"241730297197051097013444427961271157087",
"235699051703483828369216726421441618082",
"54285436828152991709677684153162870103",
"240093093474546853571975362459178521333",
"214163547314968053099764519389406917181"
]
},
"source": "https://github.com/opensips/opensips/commit/8f87c7c03da55f9c79bd92e67fa2c94b2a7ce5cf",
"target": {
"file": "modules/sipmsgops/codecs.c"
}
},
{
"id": "CVE-2023-27601-5c9ef606",
"deprecated": false,
"signature_type": "Function",
"signature_version": "v1",
"digest": {
"length": 311.0,
"function_hash": "189081220199094006722572942584099810918"
},
"source": "https://github.com/opensips/opensips/commit/8f87c7c03da55f9c79bd92e67fa2c94b2a7ce5cf",
"target": {
"function": "delete_sdp_line",
"file": "modules/sipmsgops/codecs.c"
}
},
{
"id": "CVE-2023-27601-877c362e",
"deprecated": false,
"signature_type": "Function",
"signature_version": "v1",
"digest": {
"length": 6916.0,
"function_hash": "185169058615820288771043504041500715922"
},
"source": "https://github.com/opensips/opensips/commit/8f87c7c03da55f9c79bd92e67fa2c94b2a7ce5cf",
"target": {
"function": "stream_process",
"file": "modules/sipmsgops/codecs.c"
}
}
]
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-27601.json"