CVE-2026-93962
Received Received - Intake

Heap-based Buffer Overflow in Kamailio

Vulnerability report for CVE-2026-93962, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-09-20

Last updated on: 2026-09-20

Assigner: VulDB

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-09-20
Last Modified
2026-09-20
Generated
2026-09-20
AI Q&A
2026-09-20
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 5 associated CPEs
Vendor Product Version / Range
kamailio kamailio to 5.8.8 (exc)
kamailio kamailio to 6.0.7 (exc)
kamailio kamailio to 6.1.4 (exc)
kamailio kamailio to 6.2.0-dev1 (exc)
kamailio kamailio 6.0.8

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-122 A heap overflow condition is a buffer overflow, where the buffer that can be overwritten is allocated in the heap portion of memory, generally meaning that the buffer was allocated using a routine such as malloc().
CWE-119 The product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary. This may result in read or write operations on unexpected memory locations that could be linked to other variables, data structures, or internal program data.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

CVE-2026-93962 is a heap-based buffer overflow vulnerability in Kamailio's CDP Diameter Receiver module. It occurs when a maliciously crafted Diameter message with a declared length smaller than the 20-byte header is processed. The system allocates an undersized buffer and then copies the full 20-byte header into it, causing an overflow. This can crash the CDP receiver process and take the node offline.

Detection Guidance

Monitor Kamailio logs for crashes or SIGABRT errors in the CDP Diameter receiver process. Use network traffic analysis tools like Wireshark to inspect Diameter protocol messages for malformed packets with message lengths smaller than 20 bytes. Enable AddressSanitizer or similar tools during compilation to detect heap buffer overflows.

Impact Analysis

This vulnerability allows remote attackers to crash the Kamailio CDP Diameter Receiver process by sending a single 20-byte packet with an invalid message length. This causes a denial of service (DoS) as the node goes down. The exploit does not require authentication or prior configuration.

Mitigation Strategies

Upgrade Kamailio to version 6.0.8 or later immediately. Apply the patch commit 38711a3e788de0130d48cb485578c482b57d9351 to add lower-bound validation for Diameter message lengths. Block or filter Diameter traffic with message lengths under 20 bytes at the network perimeter if upgrading is not immediately possible.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-93962. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart