Henning Westerholt discovered a flaw related to the To header processing
in kamailio, a very fast, dynamic and configurable SIP server. Missing
input validation in the build_res_buf_from_sip_req function could result
in denial of service and potentially the execution of arbitrary code.
For the stable distribution (stretch), this problem has been fixed in
We recommend that you upgrade your kamailio packages.