Vulnerabilities / CVE-2018-14767

critical

CVE-2018-14767

In Kamailio before 5.0.7 and 5.1.x before 5.1.4, a crafted SIP message ...

Published Modified CWE 20
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

NVD9.8CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Trivy's own label is CRITICAL. Rated critical by NVD. Rated lower by Ubuntu (low).

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 packages and fixed versions

SourcePackageFixed in
alpine 3.10kamailio5.1.4-r0
alpine 3.11kamailio5.1.4-r0
alpine 3.12kamailio5.1.4-r0
alpine 3.13kamailio5.1.4-r0
alpine 3.14kamailio5.1.4-r0
alpine 3.15kamailio5.1.4-r0
alpine 3.16kamailio5.1.4-r0
alpine 3.17kamailio5.1.4-r0
alpine 3.18kamailio5.1.4-r0
alpine 3.19kamailio5.1.4-r0
alpine 3.20kamailio5.1.4-r0
alpine 3.21kamailio5.1.4-r0
Show all 29 entries from 29 sources
SourcePackageFixed in
alpine 3.10kamailio5.1.4-r0
alpine 3.11kamailio5.1.4-r0
alpine 3.12kamailio5.1.4-r0
alpine 3.13kamailio5.1.4-r0
alpine 3.14kamailio5.1.4-r0
alpine 3.15kamailio5.1.4-r0
alpine 3.16kamailio5.1.4-r0
alpine 3.17kamailio5.1.4-r0
alpine 3.18kamailio5.1.4-r0
alpine 3.19kamailio5.1.4-r0
alpine 3.20kamailio5.1.4-r0
alpine 3.21kamailio5.1.4-r0
alpine 3.22kamailio5.1.4-r0
alpine 3.23kamailio5.1.4-r0
alpine 3.24kamailio5.1.4-r0
alpine 3.6kamailio5.0.2-r4
alpine 3.7kamailio5.1.4-r0
alpine 3.8kamailio5.1.4-r0
alpine 3.9kamailio5.1.4-r0
alpine edgekamailio5.1.4-r0
debian 11kamailio5.1.4-1
debian 12kamailio5.1.4-1
debian 13kamailio5.1.4-1
debian 14kamailio5.1.4-1
debian 8kamailio4.2.0-2+deb8u4
debian 9kamailio4.4.4-2+deb9u2
echokamailio5.1.4-1
ubuntu 16.04-ESMkamailio4.3.4-1.1ubuntu2.1+esm2
ubuntu 18.04-ESMkamailio5.1.2-1ubuntu2+esm2

References

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.