Every CVE Search/ Get API key

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...

9.8 CriticalFix available

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.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
High
Integrity
High
Availability
High

Exploit likelihood

30.4%Up 29.4 points since Apr 14, 2021
90%50%10%1%

What each source reports

NVD Score used 9.8

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.

Record
CVE-2018-8828
CVSS 3.0
9.8 CriticalCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 2.0
7.5 HighAV:N/AC:L/Au:N/C:P/I:P/A:P
Weakness
CWE-193, CWE-787
Updated
2026-11-02
CVE List No score

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.

Record
CVE-2018-8828
Updated
2026-11-02
EUVDEUVD-2018-20436 No score

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.

Record
EUVD-2018-20436
Updated
2026-11-03
GitHub AdvisoriesGHSA-9r28-8w7c-98wj 9.8

A Buffer Overflow issue was discovered in Kamailio before 4.4.7, 5.0.x before 5.0.6, and 5.1.x...

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.

Record
GHSA-9r28-8w7c-98wj
CVSS 3.0
9.8 CriticalCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-787
Updated
2026-11-02
OSVALPINE-CVE-2018-8828 9.8

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.

Record
ALPINE-CVE-2018-8828
CVSS 3.0
9.8 CriticalCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSV 9.8

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.

Record
CVE-2018-8828
CVSS 3.0
9.8 CriticalCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVDEBIAN-CVE-2018-8828 9.8

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.

Record
DEBIAN-CVE-2018-8828
CVSS 3.0
9.8 CriticalCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVUBUNTU-CVE-2018-8828 9.8

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.

Record
UBUNTU-CVE-2018-8828
CVSS 3.0
9.8 CriticalCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVUSN-4240-1 No score

kamailio vulnerability

It was discovered that Kamailio incorrectly handled a specially crafted file. An attacker could possibly use this issue to cause a denial of service or other unspecified impact.

Record
USN-4240-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
kamailio
Alpine:v3.4
5.0.0 up to 4.4.0-r2
4.4.0-r2
kamailio
Alpine:v3.5
5.0.0 up to 4.4.5-r1
4.4.5-r1
kamailio
Alpine:v3.6
5.0.0 up to 5.0.2-r2
5.0.2-r2
kamailio
Debian:12
before 5.1.2-1
5.1.2-1
kamailio
Debian:13
before 5.1.2-1
5.1.2-1
kamailio
Debian:14
before 5.1.2-1
5.1.2-1
kamailio
Debian:8
before 4.2.0-2+deb8u3, plus listed versions
4.2.0-24.2.0-2+deb8u14.2.0-2+deb8u2
4.2.0-2+deb8u3
kamailio
Debian:9
before 4.4.4-2+deb9u1, plus listed versions
4.4.4-2
4.4.4-2+deb9u1
kamailio
Ubuntu:16.04:LTS
before 4.3.4-1.1ubuntu2.1, plus listed versions
4.3.1-2ubuntu14.3.4-1.1ubuntu14.3.4-1.1ubuntu2
4.3.4-1.1ubuntu2.1

History

History
RecordedChangedSources
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2018-8828 is a critical vulnerability (CVSS 9.8) in Kamailio, published March 20, 2018. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 30.4%, the 98th percentile. Fixed in kamailio 4.4.0-r2.

References

Show 5 moreShow less
MoveEnter Open