cve.bz

CVE-2018-14767 Improper Input Validation

9.8 criticalExploit referenceEPSS 29%Fix available

Critical (9.8). EPSS 29% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

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
EPSS
29% (unchanged from 29% a week ago; 29% 30 days ago) estimated probability of exploitation activity in the next 30 days; 98th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-20 Improper Input Validation
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2018-14767 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2018-14767?via=ask-ai-copy and https://cve.bz/cve/CVE-2018-14767?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2018-14767 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
debian:debian_linux8.0
debian:debian_linux9.0
kamailio:kamailiobefore 5.0.7
kamailio:kamailiofrom 5.1.0 before 5.1.4

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian8kamailio4.2.0-2+deb8u4DLA-1471-1
Debian9kamailio4.4.4-2+deb9u2DSA-4267-1
Debian12, 13, 14kamailio5.1.4-1DEBIAN-CVE-2018-14767
UbuntuPro:16.04:LTSkamailio4.3.4-1.1ubuntu2.1+esm2UBUNTU-CVE-2018-14767 USN-7416-1
UbuntuPro:18.04:LTSkamailio5.1.2-1ubuntu2+esm2UBUNTU-CVE-2018-14767 USN-7416-1
UbuntuPro:20.04:LTSkamailio5.3.2-1ubuntu0.1~esm2USN-7416-1
Alpinev3.6kamailio5.0.2-r4ALPINE-CVE-2018-14767
Alpinev3.7, v3.8, v3.9 and 15 morekamailio5.1.4-r0ALPINE-CVE-2018-14767

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Alpine.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-20 (51).

References

Check your stackJSON