CVE-2018-16657

Public Exploit

Description

In Kamailio before 5.0.7 and 5.1.x before 5.1.4, a crafted SIP message with an invalid Via header causes a segmentation fault and crashes Kamailio. The reason is 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: this function also misses input validation.) This could result in denial of service and potentially the execution of arbitrary code.

Category

9.8
CVSS
Severity: Critical
CVSS 3.0 •
CVSS 2.0 •
EPSS 0.28%
Vendor Advisory debian.org
Affected: n/a n/a
Published at:
Updated at:

References

Link Tags
https://www.debian.org/security/2018/dsa-4292 third party advisory vendor advisory
https://lists.debian.org/debian-lts-announce/2018/09/msg00013.html third party advisory mailing list
https://skalatan.de/blog/advisory-hw-2018-06 exploit third party advisory patch

Frequently Asked Questions

What is the severity of CVE-2018-16657?
CVE-2018-16657 has been scored as a critical severity vulnerability.
How to fix CVE-2018-16657?
To fix CVE-2018-16657, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2018-16657 being actively exploited in the wild?
It is possible that CVE-2018-16657 is being exploited or will be exploited in a near future based on public information. According to its EPSS score, there is a ~0% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.