Vulnerabilities · 2018 · Kamailio
CVE-2018-8828
Kamailio vulnerability
A Buffer Overflow issue was discovered in Kamailio before 4.4.7, 5.0.x before 5.0.6, and 5.1.x before 5.1.2. A specially crafted REGISTER message with a malformed branch or From tag triggers an off-by-one heap-based buffer overflow in the tmx_check_pretran function in modules/tmx/tmx_pretran.c.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
Affected products
Kamailio, Debian Linux. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Kamailio runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/kamailio/kamailio/commit/e1d8008a09d9390ebaf698abe8909e10dfec4097 · Patch
- github.com/EnableSecurity/advisories/tree/master/ES2018-05-kamailio-heap-overflow · Third Party Advisory
- www.debian.org/security/2018/dsa-4148 · Third Party Advisory
- usn.ubuntu.com/4240-1/
- nvd.nist.gov/vuln/detail/CVE-2018-8828
- cve.org/CVERecord?id=CVE-2018-8828
More vulnerabilities in Kamailio products
CVE-2025-12207CVE-2025-12206CVE-2025-12205CVE-2025-12204CVE-2020-28361CVE-2020-27507CVE-2018-16657CVE-2018-14767All 13
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.