CVE-2018-16657

Source
https://cve.org/CVERecord?id=CVE-2018-16657
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-16657.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2018-16657
Downstream
Published
2018-09-07T14:29:03.397Z
Modified
2026-02-21T10:26:45.018110Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

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 crcittstringarray core function for calculating a CRC hash for To tags. (An additional error is present in the checkviaaddress core function: this function also misses input validation.) This could result in denial of service and potentially the execution of arbitrary code.

References

Affected packages

Git / github.com/kamailio/kamailio

Affected ranges

Type
GIT
Repo
https://github.com/kamailio/kamailio
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Introduced
Fixed

Affected versions

5.*
5.1.0
5.1.1
5.1.2
5.1.3

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-16657.json"