A crafted SIP message with an invalid Via header can cause a segmentation fault and crash Kamailio due to missing input validation in the `crcitt string array` core function for calculating a CRC hash for To tags. An additional error is present in the `check via address` core function, which also misses input validation. This could result in denial of service and potentially the execution of arbitrary code.