CVEvulnerability

CVE-2018-16657

9.8 CRITICAL Published 2018-09-07 Modified 2026-06-17 Official page ↗
Status
Modified
Published
2018-09-07
Last modified
2026-06-17
Assigner
[email protected]
CVSS 3.0 ([email protected])
9.8 CRITICAL — CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 2.0 ([email protected])
7.5 HIGH — AV:N/AC:L/Au:N/C:P/I:P/A:P
Weaknesses
CWE-476

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.

Affected configurations

• debian debian linux 8.0 • debian debian linux 9.0 • kamailio kamailio (< 5.0.7) • kamailio kamailio (>= 5.1.0 < 5.1.4)

Related

Weakness · CWE (1)

  • CWE-476 NULL Pointer Dereference weakness

References