NULL Pointer Dereference Affecting kamailio package, versions <5.1.4-1


Severity

Recommended
0.0
critical
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
3.22% (88th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ECHOLATEST-KAMAILIO-19434972
  • published31 Aug 2026
  • disclosed7 Sept 2018

Introduced: 7 Sep 2018

CVE-2018-16657  (opens in a new tab)
CWE-476  (opens in a new tab)

How to fix?

Upgrade Echo:latest kamailio to version 5.1.4-1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream kamailio package and not the kamailio package as distributed by Echo. See How to fix? for Echo:latest relevant fixed versions and status.

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.