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 seg
CVE-2018-16657 is a critical-severity flaw (CVSS 9.8) affecting debian linux, kamailio. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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 execut
Why this priority
- Critical severity
- Public exploit reference
- Remotely exploitable, no login, no user action
- On your watchlist
A fixed release or distro patch exists.
Risk facts
| CVSS score | 9.8 (Critical) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 3.6% (top 11%) |
| CISA exploited list | No |
| Weakness | CWE-476 |
| Published | 2018-09-07 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Exact fixes by distribution
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2018-16657?
debian linux: mitigate or apply the listed mitigation; kamailio: upgrade to 5.0.7, 5.1.4. Exact commands for each OS are on this page.
Is CVE-2018-16657 being exploited?
CVE-2018-16657 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2018-16657 affect?
CVE-2018-16657 affects debian linux, kamailio. Severity is critical (CVSS 9.8). 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 calculat
How urgent is CVE-2018-16657?
Priority 72/100. Critical severity; Public exploit reference; Remotely exploitable, no login, no user action; On your watchlist
Software pages
Related CVEs
- CVE-2025-39916 MEDIUM 5.5 UPGRADE MITIGATE In the Linux kernel, the following vulnerability has been resolved: mm/damon/reclaim: avoid divide-by-zero in
- CVE-2025-39891 HIGH 7.1 UPGRADE MITIGATE In the Linux kernel, the following vulnerability has been resolved: wifi: mwifiex: Initialize the chan_stats
- CVE-2025-39877 HIGH 7.8 UPGRADE MITIGATE In the Linux kernel, the following vulnerability has been resolved: mm/damon/sysfs: fix use-after-free in sta
- CVE-2025-39865 MEDIUM 5.5 UPGRADE MITIGATE In the Linux kernel, the following vulnerability has been resolved: tee: fix NULL pointer dereference in tee_
- CVE-2025-39853 HIGH 7.1 UPGRADE MITIGATE In the Linux kernel, the following vulnerability has been resolved: i40e: Fix potential invalid access when M