What’s Vulnerable › Vulnerabilities
CVE-2018-14767
- Severity: critical (CVSS 9.8 v3.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 29.3% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2018-07-31 · updated 2026-06-17
- Weakness: CWE-20
Description
In Kamailio before 5.0.7 and 5.1.x before 5.1.4, a crafted SIP message with a double "To" header and an empty "To" tag causes a segmentation fault and crash. The reason is missing input validation in the "build_res_buf_from_sip_req" core function. This could result in denial of service and potentially the execution of arbitrary code.
Affected products
- Debian Linux: 8.0, 9.0
- Kamailio: before 5.0.7; from 5.1.0 before 5.1.4 — fixed in 5.0.7, 5.1.4
How to fix
Upgrade to a fixed version: Kamailio 5.0.7, 5.1.4. Check the vendor advisory for mitigations.
References
- https://lists.debian.org/debian-lts-announce/2018/08/msg00018.html
- https://skalatan.de/blog/advisory-hw-2018-05
- https://www.debian.org/security/2018/dsa-4267
- https://lists.debian.org/debian-lts-announce/2018/08/msg00018.html
- https://skalatan.de/blog/advisory-hw-2018-05
- https://www.debian.org/security/2018/dsa-4267
Get alerted when CVE-2018-14767 or the next vulnerability affects your stack