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 tmxcheckpretran function in modules/tmx/tmx_pretran.c.
{
"versions": [
{
"introduced": "0"
},
{
"fixed": "4.4.7"
},
{
"introduced": "5.0.0"
},
{
"fixed": "5.0.6"
},
{
"introduced": "5.1.0"
},
{
"fixed": "5.1.2"
}
]
}"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-8828.json"
"2026-04-11T14:11:09Z"
[
{
"events": [
{
"introduced": "0"
},
{
"last_affected": "8.0"
}
]
},
{
"events": [
{
"introduced": "0"
},
{
"last_affected": "9.0"
}
]
}
]
[
{
"signature_version": "v1",
"signature_type": "Line",
"source": "https://github.com/kamailio/kamailio/commit/e1d8008a09d9390ebaf698abe8909e10dfec4097",
"digest": {
"threshold": 0.9,
"line_hashes": [
"202312855581435197133371407321087176701",
"277043145890525527711492030391328171372",
"78360990353905610262814467092084753475",
"38820567475123698968890758151512420525"
]
},
"id": "CVE-2018-8828-96b9e290",
"deprecated": false,
"target": {
"file": "src/modules/tmx/tmx_pretran.c"
}
},
{
"signature_version": "v1",
"signature_type": "Function",
"source": "https://github.com/kamailio/kamailio/commit/e1d8008a09d9390ebaf698abe8909e10dfec4097",
"digest": {
"function_hash": "294881891307122545872262304880529037414",
"length": 5848.0
},
"id": "CVE-2018-8828-da97b9af",
"deprecated": false,
"target": {
"file": "src/modules/tmx/tmx_pretran.c",
"function": "tmx_check_pretran"
}
}
]