Description
A weakness has been identified in Kamailio up to 5.8.8/6.0.7/6.1.4/6.2.0-dev1. The impacted element is the function shm_malloc of the file src/modules/cdp/receiver.c of the component CDP Diameter Receiver. Executing a manipulation can lead to heap-based buffer overflow. It is possible to launch the attack remotely. The exploit has been made available to the public and could be used for attacks. Upgrading to version 6.0.8 is sufficient to resolve this issue. This patch is called 38711a3e788de0130d48cb485578c482b57d9351/4f62235b6f477b649c5cc18b0c81b4e26c949b98/4f62235b6f477b649c5cc18b0c81b4e26c949b98. You should upgrade the affected component.
Published: 2026-09-20
Score: 6.9 Medium
EPSS: n/a
KEV: No
Impact: Remote Code Execution
Action: Immediate Patch
AI Analysis

Impact

A heap-based buffer overflow in the shm_malloc function of the CDP Diameter Receiver component of Kamailio can be triggered by crafted network data, allowing a remote attacker to overflow a heap buffer and potentially execute arbitrary code. The flaw is classified as CWE-119 and CWE-122 and is acknowledged to be exploitable from remote sources without local privileges. According to the description, the publicly available exploit makes this vulnerability actionable for adversaries.

Affected Systems

The affected products are Kamailio versions up to 5.8.8, 6.0.7, 6.1.4, and the development build 6.2.0‑dev1. Any deployments running these releases are vulnerable; upgrading to version 6.0.8 or later resolves the issue.

Risk and Exploitability

The CVSS score of 6.9 indicates a moderate severity. Although the EPSS score is not available, the vulnerability is not listed in the CISA KEV catalog. The attack can be performed remotely by sending malicious CDP Diameter messages; therefore the risk is heightened for systems exposed to the internet or untrusted networks. Due to the available public exploit, attackers could immediately target vulnerable Kamailio installations if no mitigation is applied.

Generated by OpenCVE AI on September 20, 2026 at 06:26 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Kamailio to version 6.0.8 or newer to apply the official fix.
  • Rebuild or reload the CDP Diameter module from the patched source after the upgrade to ensure the vulnerable code is replaced.
  • Limit incoming CDP Diameter traffic to trusted sources or apply network segmentation and rate‑limiting to reduce the exposure until a patch is applied.

Generated by OpenCVE AI on September 20, 2026 at 06:26 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sun, 20 Sep 2026 05:15:00 +0000

Type Values Removed Values Added
Description A weakness has been identified in Kamailio up to 5.8.8/6.0.7/6.1.4/6.2.0-dev1. The impacted element is the function shm_malloc of the file src/modules/cdp/receiver.c of the component CDP Diameter Receiver. Executing a manipulation can lead to heap-based buffer overflow. It is possible to launch the attack remotely. The exploit has been made available to the public and could be used for attacks. Upgrading to version 6.0.8 is sufficient to resolve this issue. This patch is called 38711a3e788de0130d48cb485578c482b57d9351/4f62235b6f477b649c5cc18b0c81b4e26c949b98/4f62235b6f477b649c5cc18b0c81b4e26c949b98. You should upgrade the affected component.
Title Kamailio CDP Diameter Receiver receiver.c shm_malloc heap-based overflow
First Time appeared Kamailio
Kamailio kamailio
Weaknesses CWE-119
CWE-122
CPEs cpe:2.3:a:kamailio:kamailio:*:*:*:*:*:*:*:*
Vendors & Products Kamailio
Kamailio kamailio
References
Metrics cvssV2_0

{'score': 7.5, 'vector': 'AV:N/AC:L/Au:N/C:P/I:P/A:P/E:POC/RL:OF/RC:C'}

cvssV3_0

{'score': 8.3, 'vector': 'CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L/E:P/RL:O/RC:C'}

cvssV3_1

{'score': 8.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L/E:P/RL:O/RC:C'}

cvssV4_0

{'score': 6.9, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:L/SI:L/SA:L/E:P'}


Subscriptions

Kamailio Kamailio
cve-icon MITRE

Status: PUBLISHED

Assigner: VulDB

Published:

Updated: 2026-09-20T05:00:11.659Z

Reserved: 2026-09-19T09:23:33.184Z

Link: CVE-2026-93962

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-20T05:16:29.067

Modified: 2026-09-20T05:16:29.067

Link: CVE-2026-93962

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-20T06:30:16Z

Weaknesses
  • CWE-119

    Improper Restriction of Operations within the Bounds of a Memory Buffer

  • CWE-122

    Heap-based Buffer Overflow