CVE-2018-14767
In Kamailio before 5.0.7 and 5.1.x before 5.1.4, a crafted SIP message with a double "To" header...
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
9.8
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.
- Record
CVE-2018-14767- CVSS 3.0
- 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
- 7.5 High
AV:N/AC:L/Au:N/C:P/I:P/A:P - Weakness
- CWE-20
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2018-14767- Updated
- 2026-11-02
EUVDEUVD-2018-6653 No score
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.
- Record
EUVD-2018-6653- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-v76g-6p6j-7485
9.8
In Kamailio before 5.0.7 and 5.1.x before 5.1.4, a crafted SIP message with a double "To" header...
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.
- Record
GHSA-v76g-6p6j-7485- CVSS 3.0
- 9.8 Critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-20
- Updated
- 2026-11-02
OSVALPINE-CVE-2018-14767
9.8
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.
- Record
ALPINE-CVE-2018-14767- CVSS 3.0
- 9.8 Critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSV
9.8
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.
- Record
CVE-2018-14767- CVSS 3.0
- 9.8 Critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVDEBIAN-CVE-2018-14767
9.8
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.
- Record
DEBIAN-CVE-2018-14767- CVSS 3.0
- 9.8 Critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2018-14767
9.8
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.
- Record
UBUNTU-CVE-2018-14767- CVSS 3.0
- 9.8 Critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVUSN-7416-1 No score
kamailio vulnerabilities
Stelios Tsampas discovered that Kamailio did not correctly handle certain memory operations, which could lead to a buffer overflow. A remote attacker could possibly use this issue to cause a denial of service or execute arbitrary code. This issue only affected Ubuntu 16.04 LTS. (CVE-2016-2385)
Henning Westerholt discovered that Kamailio did not correctly handle duplicated headers, which could lead to a segmentation fault. A remote attacker could possibly use this issue to cause a denial of service or execute arbitrary code. This issue only affected Ubuntu 16.04 LTS and Ubuntu 18.04 LTS. (CVE-2018-14767)
It was discovered that Kamailio did not correctly handle parsing certain headers containing whitespace characters. An authenticated attacker could possibly use this issue to gain access to unauthorized resources and expose sensitive information. This issue only affected Ubuntu 18.04 LTS and Ubuntu 20.04 LTS. (CVE-2020-28361)
- Record
USN-7416-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
kamailioAlpine:v3.10 |
5.1.0 up to 5.1.4-r0 | 5.1.4-r0 |
kamailioAlpine:v3.11 |
5.1.0 up to 5.1.4-r0 | 5.1.4-r0 |
kamailioAlpine:v3.12 |
5.1.0 up to 5.1.4-r0 | 5.1.4-r0 |
kamailioAlpine:v3.13 |
5.1.0 up to 5.1.4-r0 | 5.1.4-r0 |
kamailioAlpine:v3.14 |
5.1.0 up to 5.1.4-r0 | 5.1.4-r0 |
kamailioAlpine:v3.15 |
5.1.0 up to 5.1.4-r0 | 5.1.4-r0 |
kamailioAlpine:v3.16 |
5.1.0 up to 5.1.4-r0 | 5.1.4-r0 |
kamailioAlpine:v3.17 |
5.1.0 up to 5.1.4-r0 | 5.1.4-r0 |
kamailioAlpine:v3.18 |
5.1.0 up to 5.1.4-r0 | 5.1.4-r0 |
kamailioAlpine:v3.19 |
5.1.0 up to 5.1.4-r0 | 5.1.4-r0 |
Show 17 moreShow less
| Package | Affected | Fixed |
|---|---|---|
kamailioAlpine:v3.20 |
5.1.0 up to 5.1.4-r0 | 5.1.4-r0 |
kamailioAlpine:v3.21 |
5.1.0 up to 5.1.4-r0 | 5.1.4-r0 |
kamailioAlpine:v3.22 |
5.1.0 up to 5.1.4-r0 | 5.1.4-r0 |
kamailioAlpine:v3.23 |
5.1.0 up to 5.1.4-r0 | 5.1.4-r0 |
kamailioAlpine:v3.24 |
5.1.0 up to 5.1.4-r0 | 5.1.4-r0 |
kamailioAlpine:v3.6 |
5.1.0 up to 5.0.2-r4 | 5.0.2-r4 |
kamailioAlpine:v3.7 |
5.1.0 up to 5.1.4-r0 | 5.1.4-r0 |
kamailioAlpine:v3.8 |
5.1.0 up to 5.1.4-r0 | 5.1.4-r0 |
kamailioAlpine:v3.9 |
5.1.0 up to 5.1.4-r0 | 5.1.4-r0 |
kamailioDebian:12 |
before 5.1.4-1 | 5.1.4-1 |
kamailioDebian:13 |
before 5.1.4-1 | 5.1.4-1 |
kamailioDebian:14 |
before 5.1.4-1 | 5.1.4-1 |
kamailioDebian:8 |
before 4.2.0-2+deb8u4, plus listed versions 4.2.0-24.2.0-2+deb8u14.2.0-2+deb8u24.2.0-2+deb8u3 |
4.2.0-2+deb8u4 |
kamailioDebian:9 |
before 4.4.4-2+deb9u2, plus listed versions 4.4.4-24.4.4-2+deb9u1 |
4.4.4-2+deb9u2 |
kamailioUbuntu:Pro:16.04:LTS |
before 4.3.4-1.1ubuntu2.1+esm2, plus listed versions 4.3.1-2ubuntu14.3.4-1.1ubuntu14.3.4-1.1ubuntu24.3.4-1.1ubuntu2.14.3.4-1.1ubuntu2.1+esm1 |
4.3.4-1.1ubuntu2.1+esm2 |
kamailioUbuntu:Pro:18.04:LTS |
before 5.1.2-1ubuntu2+esm2, plus listed versions 4.4.2-3ubuntu55.0.4-1ubuntu15.1.1-1ubuntu15.1.1-1ubuntu45.1.2-1ubuntu15.1.2-1ubuntu25.1.2-1ubuntu2+esm1 |
5.1.2-1ubuntu2+esm2 |
kamailioUbuntu:Pro:20.04:LTS |
before 5.3.2-1ubuntu0.1~esm2, plus listed versions 5.2.3-1build35.2.3-1build45.3.0-25.3.1-15.3.2-1build15.3.2-1build25.3.2-1build35.3.2-1ubuntu0.1~esm1 |
5.3.2-1ubuntu0.1~esm2 |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2018-14767 is a critical vulnerability (CVSS 9.8) in Kamailio, published July 31, 2018. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 29.3%, the 98th percentile. Fixed in kamailio 5.1.4-r0.