Vulnerability record · CVE-2018-8828 · published 20 March 2018
CVE-2018-8828: Kamailio out-of-bounds write vulnerability
Kamailio · Kamailio
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.
Description
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.
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Affected products
2 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| https://github.com/EnableSecurity/advisories/tree/master/ES2018-05-kamailio-heap-overflow | Third Party Advisory |
| https://github.com/kamailio/kamailio/commit/e1d8008a09d9390ebaf698abe8909e10dfec4097 | PatchThird Party Advisory |
| https://usn.ubuntu.com/4240-1/ | |
| https://www.debian.org/security/2018/dsa-4148 | Third Party Advisory |
| https://github.com/EnableSecurity/advisories/tree/master/ES2018-05-kamailio-heap-overflow | Third Party Advisory |
| https://github.com/kamailio/kamailio/commit/e1d8008a09d9390ebaf698abe8909e10dfec4097 | PatchThird Party Advisory |
| https://usn.ubuntu.com/4240-1/ | |
| https://www.debian.org/security/2018/dsa-4148 | Third Party Advisory |
Track CVE-2018-8828 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2018-8828), CISA KEV, FIRST EPSS (scores of 2026-09-27). This page is refreshed as NVD updates the record.