CVE-2026-93962
8.3Kamailio · Kamailio
A heap-based buffer overflow exists in the Kamailio CDP Diameter Receiver component due to insufficient validation of the Diameter message-length field, allowing remote unauthenticated code execution.
Executive summary
A critical heap-based buffer overflow in the Kamailio CDP Diameter Receiver allows remote, unauthenticated attackers to cause memory corruption and potential service disruption.
Vulnerability
The vulnerability exists in the shm_malloc function within the CDP Diameter Receiver (src/modules/cdp/receiver.c). An unauthenticated attacker can send a specially crafted Diameter packet with a declared length shorter than the minimum header size, triggering a heap buffer overflow during the memory copy process.
Business impact
Successful exploitation allows an unauthenticated remote attacker to corrupt heap memory, which can lead to immediate application crashes (Denial of Service) or potential remote code execution. Given the critical nature of Kamailio in telecommunications infrastructure, this vulnerability poses a severe risk to service availability and system integrity. The CVSS score of 8.3 reflects the high potential for impact and the ease of reachability for remote attackers.
Remediation
Immediate Action: Upgrade to Kamailio version 6.0.8 or later, which incorporates the necessary bounds checking to prevent the overflow.
Proactive Monitoring: Monitor system logs for frequent process crashes, segmentation faults, or unexpected restarts of the Kamailio Diameter receiver processes.
Compensating Controls: Implement strict network access control lists to restrict traffic to Diameter interfaces (e.g., Cx, Rx, Gx ports) to only known and trusted peer IP addresses.
Exploitation status
Public Exploit Available: Yes, a technical write-up containing reproduction steps and proof-of-concept logic is available via the official Kamailio GitHub issue tracker (Issue #4876).
Analyst recommendation
The presence of a public technical write-up detailing the overflow mechanism significantly lowers the barrier for exploitation. Organizations utilizing Kamailio for Diameter signaling must prioritize upgrading to version 6.0.8 immediately. If an immediate upgrade is not feasible, restrict network access to Diameter interfaces to mitigate the risk of remote exploitation by unauthorized parties.
More Kamailio CVEs
History
- Disclosed CVE record published
- Collected by CVE Brief via github
- Analyst report written
- Published in the daily brief high section
Sources
Originally found and disclosed by WeiYi (VulDB User), per the CVE Program record.
- VDB-407921 | Kamailio CDP Diameter Receiver receiver.c shm_malloc heap-based overflow Vulnerability database entry
- VDB-407921 | CTI Indicators (IOB, IOC, IOA)
- CVE-2026-93962 | CVE Analysis and Report Third-party advisory
- Submit #944244 | Kamailio Kamailio SIP Server 6.1.4 Heap-based Buffer Overflow Third-party advisory
- Exploit / PoC
- Issue tracker
- Patch commit
- Patch commit