Home / Kamailio / Kamailio / CVE-2018-8828
CVE-2018-8828: is it exploited, and which versions of Kamailio are affected and fixed?
CVE-2018-8828 is an off-by-one Error vulnerability in Kamailio. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 08:38 UTC). Affected: kamailio before 4.4.7, kamailio from 5.0.0 before 5.0.6, kamailio from 5.1.0 before 5.1.2 and 2 more (NVD). Fixed in 4.4.7, 5.0.6 and 5.1.2 (NVD). Severity: Critical (9.8, CVSS 3.0, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 08:38 UTC, CVE record November 19, 2026, 07:17 UTC and NVD November 19, 2026, 08:34 UTC.
What is CVE-2018-8828?
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.
From the CVE record by mitre, last updated August 5, 2024, 07:02 UTC.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| kamailio | kamailio | before 4.4.7 | application |
| kamailio | kamailio | from 5.0.0 before 5.0.6 | application |
| kamailio | kamailio | from 5.1.0 before 5.1.2 | application |
| debian | debian linux | 8.0 | operating system |
| debian | debian linux | 9.0 | operating system |
NVD analysis (status Modified), last modified June 17, 2026, 02:05 UTC.
How severe is CVE-2018-8828?
| Score | Version | Vector | Source |
|---|---|---|---|
| Critical 9.8 | CVSS 3.0 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | NVD |
| High 7.5 | CVSS 2.0 | AV:N/AC:L/Au:N/C:P/I:P/A:P | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2018-8828 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 30.4% probability of exploitation activity in the next 30 days, percentile 98.3 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
Where are the vendor advisories and references?
- https://github.com/kamailio/kamailio/commit/e1d8008a09d9390ebaf698abe8909e10dfec4097 x_refsource_MISC
- https://github.com/EnableSecurity/advisories/tree/master/ES2018-05-kamailio-heap-overflow x_refsource_MISC
- DSA-4148 vendor-advisory, x_refsource_DEBIAN
- USN-4240-1 vendor-advisory, x_refsource_UBUNTU
When was it published, and where is the official record?
- Reserved
- March 20, 2018
- Published
- March 20, 2018, 20:00 UTC
- CVE record updated
- August 5, 2024, 07:02 UTC by mitre
- NVD
- Modified, last modified June 17, 2026, 02:05 UTC
- Last checked
- CVE list November 19, 2026, 07:17 UTC; NVD November 19, 2026, 08:34 UTC; KEV December 3, 2026, 08:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Kamailio?
- Oct 12, 2026CVE-2026-108822 Kamailio: buffer overflow
- Sep 20, 2026CVE-2026-93962 Kamailio: heap buffer overflow
- Sep 1, 2026CVE-2026-52023 Kamailio: double free
- Sep 1, 2026CVE-2026-52022 Kamailio: denial of service (uncontrolled resource consumption)
- Aug 31, 2026CVE-2026-82608 Kamailio: out-of-bounds read
- Apr 8, 2026CVE-2026-39864 kamailio: out-of-bounds read
- Apr 8, 2026CVE-2026-39863 kamailio: memory corruption (buffer overflow)
- Oct 27, 2025CVE-2025-12207 Kamailio: NULL pointer dereference (crash) disputed
Questions about CVE-2018-8828
Is CVE-2018-8828 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 08:38 UTC. FIRST's EPSS gives it a 30.4% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Kamailio are affected by CVE-2018-8828?
kamailio before 4.4.7, kamailio from 5.0.0 before 5.0.6, kamailio from 5.1.0 before 5.1.2, debian linux 8.0 and debian linux 9.0, per the NVD. The tables above give every range the sources list.
Which version fixes CVE-2018-8828?
4.4.7, 5.0.6 and 5.1.2, per the NVD. Check the vendor's advisory before you rely on it.
How severe is CVE-2018-8828?
Critical (9.8, CVSS 3.0, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2018-8828?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.