kamailio — security advisory
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.
- Products
- kamailio
- Affected versions
- Not specified
- Fixed versions
- 5.1.4-1
- CVEs
- CVE-2018-14767
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 00:53 UTC · Revision 1
Source evidence
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.
osv:DEBIAN-CVE-2018-14767
kamailio
Fixed versions: 5.1.4-1
kamailio
Fixed versions: 5.1.4-1
kamailio
Fixed versions: 5.1.4-1
Complete source record
{
"id": "55060900a18e86e32d025b7b6f7d56966be0aec04d06bb7d344c56e1cf9b0f43",
"url": "https://osv.dev/vulnerability/DEBIAN-CVE-2018-14767",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "DEBIAN-CVE-2018-14767",
"summary": "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.",
"evidence": "osv:DEBIAN-CVE-2018-14767",
"products": [
{
"name": {
"value": "kamailio",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "5.1.4-1",
"evidence": "/affected/0/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "kamailio",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "5.1.4-1",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "kamailio",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "5.1.4-1",
"evidence": "/affected/2/ranges"
}
],
"affected_versions": []
}
],
"severity": "critical",
"structured": {
"id": "DEBIAN-CVE-2018-14767",
"aliases": [
"DEBIAN-CVE-2018-14767"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "5.1.4-1"
}
]
}
],
"package": {
"name": "kamailio",
"purl": "pkg:deb/debian/kamailio?arch=source&distro=bookworm",
"ecosystem": "Debian:12"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2018-14767.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "5.1.4-1"
}
]
}
],
"package": {
"name": "kamailio",
"purl": "pkg:deb/debian/kamailio?arch=source&distro=trixie",
"ecosystem": "Debian:13"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2018-14767.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "5.1.4-1"
}
]
}
],
"package": {
"name": "kamailio",
"purl": "pkg:deb/debian/kamailio?arch=source&distro=forky",
"ecosystem": "Debian:14"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2018-14767.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
}
],
"modified": "2026-10-23T18:03:54.928608993Z",
"provider": "osv",
"upstream": [
"CVE-2018-14767"
],
"references": [
"https://security-tracker.debian.org/tracker/CVE-2018-14767"
]
},
"related_cves": [
{
"value": "CVE-2018-14767",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 422605,
"published_at": "2018-07-31T06:29:00.227+00:00"
}