CVE-2016-2385
Heap-based buffer overflow in the encode_msg function in encode_msg.c in the SEAS module in...
CVE-2016-2385 is a critical vulnerability (CVSS 9.8) in Kamailio, published March 29, 2016. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 29.2%, the 98th percentile. Fixed in kamailio 4.3.4-2.
Heap-based buffer overflow in the encode_msg function in encode_msg.c in the SEAS module in Kamailio (formerly OpenSER and SER) before 4.3.5 allows remote attackers to cause a denial of service (memory corruption and process crash) or possibly execute arbitrary code via a large SIP packet.
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
What each source reports
NVD Score used
9.8
Heap-based buffer overflow in the encode_msg function in encode_msg.c in the SEAS module in Kamailio (formerly OpenSER and SER) before 4.3.5 allows remote attackers to cause a denial of service (memory corruption and process crash) or possibly execute arbitrary code via a large SIP packet.
- Record
CVE-2016-2385- CVSS 3.0
- 9.8 Critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - CVSS 2.0
- 10.0 High
AV:N/AC:L/Au:N/C:C/I:C/A:C - Weakness
- CWE-119
- Updated
- 2026-11-02
CVE List No score
Heap-based buffer overflow in the encode_msg function in encode_msg.c in the SEAS module in Kamailio (formerly OpenSER and SER) before 4.3.5 allows remote attackers to cause a denial of service (memory corruption and process crash) or possibly execute arbitrary code via a large SIP packet.
- Record
CVE-2016-2385- Updated
- 2026-11-02
EUVDEUVD-2016-3469 No score
Heap-based buffer overflow in the encode_msg function in encode_msg.c in the SEAS module in Kamailio (formerly OpenSER and SER) before 4.3.5 allows remote attackers to cause a denial of service (memory corruption and process crash) or possibly execute arbitrary code via a large SIP packet.
- Record
EUVD-2016-3469- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-wcxv-ff2g-c9qw
9.8
Heap-based buffer overflow in the encode_msg function in encode_msg.c in the SEAS module in...
Heap-based buffer overflow in the encode_msg function in encode_msg.c in the SEAS module in Kamailio (formerly OpenSER and SER) before 4.3.5 allows remote attackers to cause a denial of service (memory corruption and process crash) or possibly execute arbitrary code via a large SIP packet.
- Record
GHSA-wcxv-ff2g-c9qw- CVSS 3.0
- 9.8 Critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-119
- Updated
- 2026-11-02
OSV
9.8
Heap-based buffer overflow in the encode_msg function in encode_msg.c in the SEAS module in Kamailio (formerly OpenSER and SER) before 4.3.5 allows remote attackers to cause a denial of service (memory corruption and process crash) or possibly execute arbitrary code via a large SIP packet.
- Record
CVE-2016-2385- CVSS 3.0
- 9.8 Critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVDEBIAN-CVE-2016-2385
9.8
Heap-based buffer overflow in the encode_msg function in encode_msg.c in the SEAS module in Kamailio (formerly OpenSER and SER) before 4.3.5 allows remote attackers to cause a denial of service (memory corruption and process crash) or possibly execute arbitrary code via a large SIP packet.
- Record
DEBIAN-CVE-2016-2385- CVSS 3.0
- 9.8 Critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2016-2385
9.8
Heap-based buffer overflow in the encode_msg function in encode_msg.c in the SEAS module in Kamailio (formerly OpenSER and SER) before 4.3.5 allows remote attackers to cause a denial of service (memory corruption and process crash) or possibly execute arbitrary code via a large SIP packet.
- Record
UBUNTU-CVE-2016-2385- CVSS 3.0
- 9.8 Critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVUSN-7416-1 No score
kamailio vulnerabilities
Stelios Tsampas discovered that Kamailio did not correctly handle certain memory operations, which could lead to a buffer overflow. A remote attacker could possibly use this issue to cause a denial of service or execute arbitrary code. This issue only affected Ubuntu 16.04 LTS. (CVE-2016-2385)
Henning Westerholt discovered that Kamailio did not correctly handle duplicated headers, which could lead to a segmentation fault. A remote attacker could possibly use this issue to cause a denial of service or execute arbitrary code. This issue only affected Ubuntu 16.04 LTS and Ubuntu 18.04 LTS. (CVE-2018-14767)
It was discovered that Kamailio did not correctly handle parsing certain headers containing whitespace characters. An authenticated attacker could possibly use this issue to gain access to unauthorized resources and expose sensitive information. This issue only affected Ubuntu 18.04 LTS and Ubuntu 20.04 LTS. (CVE-2020-28361)
- Record
USN-7416-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
kamailioDebian:12 |
before 4.3.4-2 | 4.3.4-2 |
kamailioDebian:13 |
before 4.3.4-2 | 4.3.4-2 |
kamailioDebian:14 |
before 4.3.4-2 | 4.3.4-2 |
kamailioDebian:8 |
before 4.2.0-2+deb8u1, plus listed versions 4.2.0-2 |
4.2.0-2+deb8u1 |
kamailioUbuntu:Pro:16.04:LTS |
before 4.3.4-1.1ubuntu2.1+esm2, plus listed versions 4.3.1-2ubuntu14.3.4-1.1ubuntu14.3.4-1.1ubuntu24.3.4-1.1ubuntu2.14.3.4-1.1ubuntu2.1+esm1 |
4.3.4-1.1ubuntu2.1+esm2 |
kamailioUbuntu:Pro:18.04:LTS |
before 5.1.2-1ubuntu2+esm2, plus listed versions 4.4.2-3ubuntu55.0.4-1ubuntu15.1.1-1ubuntu15.1.1-1ubuntu45.1.2-1ubuntu15.1.2-1ubuntu25.1.2-1ubuntu2+esm1 |
5.1.2-1ubuntu2+esm2 |
kamailioUbuntu:Pro:20.04:LTS |
before 5.3.2-1ubuntu0.1~esm2, plus listed versions 5.2.3-1build35.2.3-1build45.3.0-25.3.1-15.3.2-1build15.3.2-1build25.3.2-1build35.3.2-1ubuntu0.1~esm1 |
5.3.2-1ubuntu0.1~esm2 |
Public exploits
Links only. Every CVE stores no exploit code.
| Source | Link | Date |
|---|---|---|
| Exploit-DB | Kamailio 4.3.4 - Heap Buffer Overflow | 2016-03-30 |
History
| When | Changed | Sources |
|---|---|---|
| 2026-11-03 | aliases | EUVD |
| 2026-11-02 | created | CVE List, Exploit-DB, GitHub Advisories, NVD, OSV |
References
packetstormsecurity.com/files/136477/Kamailio-4.3.4-Heap-Overflow.html
github.com/kamailio/kamailio/commit/f50c9c853e7809810099c970780c30b0765b0643
census-labs.com/news/2016/03/30/kamailio-seas-heap-overflow
debian.org/security/2016/dsa-3535
exploit-db.com/exploits/39638
debian.org/security/2016/dsa-3537
Show 11 moreShow less
securityfocus.com/archive/1/537926/100/0/threaded
kamailio.org/pub/kamailio/4.3.5/ChangeLog
nvd.nist.gov/vuln/detail/CVE-2016-2385
github.com/advisories/GHSA-wcxv-ff2g-c9qw
security-tracker.debian.org/tracker/CVE-2016-2385
ubuntu.com/security/CVE-2016-2385
openwall.com/lists/oss-security/2016/02/15/4
cve.org/CVERecord?id=CVE-2016-2385
ubuntu.com/security/notices/USN-7416-1
ubuntu.com/security/CVE-2018-14767
ubuntu.com/security/CVE-2020-28361