CVE-2016-2385: Heap-based buffer overflow in the encode_msg function in encode_msg.c in the SEAS module in Kamailio (formerly
CVE-2016-2385 is a critical-severity flaw (CVSS 9.8) affecting debian linux, kamailio. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- Critical severity
- EPSS top 2%: very likely to be exploited
- Public exploit reference
- Remotely exploitable, no login, no user action
- On your watchlist
A fixed release or distro patch exists.
Risk facts
| CVSS score | 9.8 (Critical) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 29.2% (top 2%) |
| CISA exploited list | No |
| Weakness | CWE-119 |
| Published | 2016-04-11 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Exact fixes by distribution
Public exploits and detection
Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.
- Write-up: census-labs.com/news/2016/03/30/kamailio-seas-heap-overflow/
- Write-up: www.exploit-db.com/exploits/39638/
- Exploit-DB: Kamailio 4.3.4 - Heap Buffer Overflow
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2016-2385?
debian linux: mitigate or apply the listed mitigation; kamailio: upgrade to newer than 4.3.4. Exact commands for each OS are on this page.
Is CVE-2016-2385 being exploited?
CVE-2016-2385 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2016-2385 affect?
CVE-2016-2385 affects debian linux, kamailio. Severity is critical (CVSS 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 possi
How urgent is CVE-2016-2385?
Priority 74/100. Critical severity; EPSS top 2%: very likely to be exploited; Public exploit reference; Remotely exploitable, no login, no user action; On your watchlist
Software pages
Related CVEs
- CVE-2025-39916 MEDIUM 5.5 UPGRADE MITIGATE In the Linux kernel, the following vulnerability has been resolved: mm/damon/reclaim: avoid divide-by-zero in
- CVE-2025-39891 HIGH 7.1 UPGRADE MITIGATE In the Linux kernel, the following vulnerability has been resolved: wifi: mwifiex: Initialize the chan_stats
- CVE-2025-39877 HIGH 7.8 UPGRADE MITIGATE In the Linux kernel, the following vulnerability has been resolved: mm/damon/sysfs: fix use-after-free in sta
- CVE-2025-39865 MEDIUM 5.5 UPGRADE MITIGATE In the Linux kernel, the following vulnerability has been resolved: tee: fix NULL pointer dereference in tee_
- CVE-2025-39853 HIGH 7.1 UPGRADE MITIGATE In the Linux kernel, the following vulnerability has been resolved: i40e: Fix potential invalid access when M