NULL pointer dereference in Kamailio
CVE-2018-16657
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.036 (89.0th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 89th percentile — 89.0% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.036 · newest: 0.036 · change: 0.000
Affected products
- Kamailio
- Debian Linux — versions 8.0, 9.0
Weakness classification (CWE)
Public proof-of-concept exploits
References
- www.debian.org/security/2018/dsa-4292 (vendor-advisory, Third Party Advisory)
- lists.debian.org/debian-lts-announce/2018/09/msg00013.html (mailing-list, Mailing List, Third Party Advisory)
- skalatan.de/blog/advisory-hw-2018-06 (Exploit, Patch, Third Party Advisory)
Frequently asked questions
- What is CVE-2018-16657?
- CVE-2018-16657 is a critical-severity vulnerability in Kamailio, classified under NULL Pointer Dereference. CVSS score: 9.8/10. Published 2018-09-07.
- How severe is CVE-2018-16657?
- Critical severity. CVSS v3 base score is 9.8 out of 10.
- Is CVE-2018-16657 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.