Skip to content
OpenAdvisories
Unscored Public exploit CVE-2016-2385 EUVD-2016-3469GHSA-wcxv-ff2g-c9qw

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

Published Apr 11, 2016 · Updated Aug 5, 2024 · Assigned by mitre

Description

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 kamailio 4.3.4-2 —
Debian 13 kamailio 4.3.4-2 —
Debian 12 kamailio 4.3.4-2 —
Debian 8 kamailio 4.2.0-2+deb8u1 DSA-3535-1
ReleasePackageFixed inAdvisory
Ubuntu Pro 20.04 LTS kamailio 5.3.2-1ubuntu0.1~esm2 USN-7416-1
Ubuntu Pro 18.04 LTS kamailio 5.1.2-1ubuntu2+esm2 USN-7416-1
Ubuntu Pro 16.04 LTS kamailio 4.3.4-1.1ubuntu2.1+esm2 USN-7416-1

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

Exploit-DB 1

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 2

References