CVE-2016-2385
What it is
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.
At a glance
- Exploitability
- Can be exploited over the network without logging in. High risk of data exposure, data tampering, service disruption.
- Exploit odds
- 29.2% chance of exploitation in the next 30 days (EPSS). Higher than most.
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 29.2% in the next 30 days (EPSS).
- Severity: 9.8 CRITICAL (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 29.2% · EPSS, next 30 days
- Weakness
- CWE-119 · Buffer errors
- Record status
- Modified
Affected
- Debian Linux 8.0
- Kamailio ≤ 4.3.4
Attack profile CVSS 3.0 · 9.8
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Raw vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2016-2385.md and follow it. Check whether this project is affected by CVE-2016-2385. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- https://github.com/kamailio/kamailio/commit/f50c9c853e7809810099c970780c30b0765b0643
- https://github.com/kamailio/kamailio/commit/f50c9c853e7809810099c970780c30b0765b0643
References
- http://packetstormsecurity.com/files/136477/Kamailio-4.3.4-Heap-Overflow.html
- http://www.debian.org/security/2016/dsa-3535
- http://www.debian.org/security/2016/dsa-3537
- http://www.kamailio.org/pub/kamailio/4.3.5/ChangeLog
- http://www.securityfocus.com/archive/1/537926/100/0/threaded
- https://census-labs.com/news/2016/03/30/kamailio-seas-heap-overflow/
- https://github.com/kamailio/kamailio/commit/f50c9c853e7809810099c970780c30b0765b0643
- https://www.exploit-db.com/exploits/39638/
- http://packetstormsecurity.com/files/136477/Kamailio-4.3.4-Heap-Overflow.html
- http://www.debian.org/security/2016/dsa-3535
- http://www.debian.org/security/2016/dsa-3537
- http://www.kamailio.org/pub/kamailio/4.3.5/ChangeLog
- http://www.securityfocus.com/archive/1/537926/100/0/threaded
- https://census-labs.com/news/2016/03/30/kamailio-seas-heap-overflow/
- https://github.com/kamailio/kamailio/commit/f50c9c853e7809810099c970780c30b0765b0643
- https://www.exploit-db.com/exploits/39638/