Description
In Kamailio before 5.0.7 and 5.1.x before 5.1.4, a crafted SIP message with a double "To" header and an empty "To" tag causes a segmentation fault and crash. The reason is missing input validation in the "build_res_buf_from_sip_req" core function. This could result in denial of service and potentially the execution of arbitrary code.
References (3)
Core 3
Core References
Third Party Advisory vendor-advisory
x_refsource_debian
https://www.debian.org/security/2018/dsa-4267
Mailing List, Third Party Advisory mailing-list
x_refsource_mlist
https://lists.debian.org/debian-lts-announce/2018/08/msg00018.html
Exploit, Patch, Third Party Advisory x_refsource_misc
https://skalatan.de/blog/advisory-hw-2018-05
Scores
CVSS v3
9.8
EPSS
0.2930
EPSS Percentile
97.9%
Attack Vector
NETWORK
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Details
CWE
CWE-20
Status
published
Products (3)
debian/debian_linux
8.0
debian/debian_linux
9.0
kamailio/kamailio
< 5.0.7
Published
Jul 31, 2018
Tracked Since
Feb 18, 2026