CVE-2018-8828Kamailio
Critical 9.8 No auth neededHigh EPSS
Follow: this CVE · Kamailio · Kamailio We alert you by email or Slack (account required).
- Priority
- 77
- CVSS 3.0
- 9.8
- EPSS
- 30.4% probability of exploitation in 30 days · percentile 99
- Auth required
- No
- Published
- Mar 20, 2018
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Kamailio.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| kamailio | kamailio | < 4.4.7 |
| kamailio | kamailio | ≥ 5.0.0 < 5.0.6 |
| kamailio | kamailio | ≥ 5.1.0 < 5.1.2 |
| debian | debian_linux | 8.0 |
| debian | debian_linux | 9.0 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Third Party Advisory
- github.com Patch Third Party Advisory
- usn.ubuntu.com
- www.debian.org Third Party Advisory