{"id":"CVE-2018-8828","aliases":["ALPINE-CVE-2018-8828","DEBIAN-CVE-2018-8828","DSA-4148-1","EUVD-2018-20436","GHSA-9r28-8w7c-98wj","UBUNTU-CVE-2018-8828","USN-4240-1"],"status":"published","title":"A Buffer Overflow issue was discovered in Kamailio before 4.4.7, 5.0.x before 5.0.6, and 5.1.x...","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.","severity":{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.30411,"percentile":0.98245,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-193","CWE-787"],"published":"2018-03-20T20:00:00Z","modified":"2026-10-23T18:03:09Z","fixes":[{"ecosystem":"Alpine:v3.4","package":"kamailio","fixed_in":["4.4.0-r2"],"sources":["osv"]},{"ecosystem":"Alpine:v3.5","package":"kamailio","fixed_in":["4.4.5-r1"],"sources":["osv"]},{"ecosystem":"Alpine:v3.6","package":"kamailio","fixed_in":["5.0.2-r2"],"sources":["osv"]},{"ecosystem":"Debian:12","package":"kamailio","fixed_in":["5.1.2-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"kamailio","fixed_in":["5.1.2-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"kamailio","fixed_in":["5.1.2-1"],"sources":["osv"]},{"ecosystem":"Debian:8","package":"kamailio","fixed_in":["4.2.0-2+deb8u3"],"sources":["osv"]},{"ecosystem":"Debian:9","package":"kamailio","fixed_in":["4.4.4-2+deb9u1"],"sources":["osv"]},{"ecosystem":"Ubuntu:16.04:LTS","package":"kamailio","fixed_in":["4.3.4-1.1ubuntu2.1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Alpine:v3.4","package":"kamailio","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.0.0"},{"fixed":"4.4.0-r2"}]}]},{"source":"osv","ecosystem":"Alpine:v3.5","package":"kamailio","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.0.0"},{"fixed":"4.4.5-r1"}]}]},{"source":"osv","ecosystem":"Alpine:v3.6","package":"kamailio","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.0.0"},{"fixed":"5.0.2-r2"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"kamailio","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.1.2-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"kamailio","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.1.2-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"kamailio","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.1.2-1"}]}]},{"source":"osv","ecosystem":"Debian:8","package":"kamailio","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.2.0-2+deb8u3"}]}],"versions":["4.2.0-2","4.2.0-2+deb8u1","4.2.0-2+deb8u2"]},{"source":"osv","ecosystem":"Debian:9","package":"kamailio","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.4.4-2+deb9u1"}]}],"versions":["4.4.4-2"]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"kamailio","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.3.4-1.1ubuntu2.1"}]}],"versions":["4.3.1-2ubuntu1","4.3.4-1.1ubuntu1","4.3.4-1.1ubuntu2"]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"kamailio","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.3.4-1.1ubuntu2.1"}]}],"versions":["4.3.1-2ubuntu1","4.3.4-1.1ubuntu1","4.3.4-1.1ubuntu2"]}],"products":[{"vendor":"debian","product":"debian_linux"},{"vendor":"kamailio","product":"kamailio"}],"references":[{"url":"https://github.com/kamailio/kamailio/commit/e1d8008a09d9390ebaf698abe8909e10dfec4097","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","report"]},{"url":"https://github.com/EnableSecurity/advisories/tree/master/ES2018-05-kamailio-heap-overflow","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","advisory","report"]},{"url":"https://www.debian.org/security/2018/dsa-4148","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred","Third Party Advisory","advisory"]},{"url":"https://usn.ubuntu.com/4240-1/","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-8828"},{"url":"https://github.com/advisories/GHSA-9r28-8w7c-98wj"},{"url":"https://security.alpinelinux.org/vuln/CVE-2018-8828","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2018-8828","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2018-8828","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-4240-1","tags":["advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2018-8828","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2018-8828","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.","status":"published","published":"2018-03-20T20:00:00Z","modified":"2024-08-05T07:02:26.164Z","updated_at":"2026-11-02T14:35:04.540365Z"}],"euvd":[{"id":"EUVD-2018-20436","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.","status":"published","published":"2018-03-20T20:00:00Z","modified":"2024-08-05T07:02:26Z","updated_at":"2026-11-03T02:40:01.4233Z"}],"ghsa":[{"id":"GHSA-9r28-8w7c-98wj","title":"A Buffer Overflow issue was discovered in Kamailio before 4.4.7, 5.0.x before 5.0.6, and 5.1.x...","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.","status":"published","published":"2022-05-13T01:21:04Z","modified":"2023-02-01T05:06:21Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-787"],"updated_at":"2026-11-02T14:50:20.778256Z"}],"nvd":[{"id":"CVE-2018-8828","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.","status":"published","published":"2018-03-20T20:29:00.35Z","modified":"2026-06-17T02:05:28.123Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary"},{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary"}],"cwes":["CWE-193","CWE-787"],"updated_at":"2026-11-02T14:04:24.264003Z"}],"osv":[{"id":"ALPINE-CVE-2018-8828","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.","status":"published","published":"2018-03-20T20:29:00.35Z","modified":"2026-10-23T17:17:55.306978789Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:27:47.663013Z"},{"id":"CVE-2018-8828","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.","status":"published","published":"2018-03-20T20:29:00.35Z","modified":"2026-10-20T13:22:23.075471589Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:44:10.051046Z"},{"id":"DEBIAN-CVE-2018-8828","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.","status":"published","published":"2018-03-20T20:29:00.35Z","modified":"2026-10-23T18:03:09.567789613Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:45:31.170944Z"},{"id":"UBUNTU-CVE-2018-8828","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.","status":"published","published":"2018-03-20T20:29:00Z","modified":"2026-02-04T04:40:56.094874Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:54:18.772093Z"},{"id":"DSA-4148-1","title":"kamailio - security update","status":"published","published":"2018-03-22T00:00:00Z","modified":"2026-03-09T01:20:26.704095Z","updated_at":"2026-11-02T15:46:16.862196Z"},{"id":"USN-4240-1","title":"kamailio vulnerability","description":"It was discovered that Kamailio incorrectly handled a specially crafted file.\nAn attacker could possibly use this issue to cause a denial of service or\nother unspecified impact.\n","status":"published","published":"2020-01-16T18:31:14Z","modified":"2026-02-10T04:41:45Z","updated_at":"2026-11-02T16:58:14.547547Z"}]}}
