Skip to main content

Kamailio CVE-2026-39864

| EUVDEUVD-2026-20617 MEDIUM
Out-of-bounds Read (CWE-125)
2026-04-08 security-advisories@github.com
4.9
CVSS 3.1 · NVD
View

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, read limits
MITRE ATT&CK

1 technique across 1 tactic: Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Impact

The CVSS 3.1 score of 4.4 reflects moderate severity with critical constraints: the attack vector is network-based but requires high privilege level (PR:H), high attack complexity (AC:H), and no user interaction. While the confidentiality and integrity impacts are none, the availability impact is high. The EPSS exploitation probability is low due to the restrictive privilege requirement and high attack complexity. However, the real-world risk must account for the specific deployment context: organizations running Kamailio with authentication configured without database backends and where the attacker already possesses high-privilege access (administrative or service-account level) face elevated risk. The out-of-bounds read is reliable in crashing the process rather than achieving code execution, limiting the severity to denial of service. This is a situational vulnerability with moderate priority for affected configurations but lower priority for standard deployments using database-backed authentication.

Exploit ScenarioDerived

An attacker with authenticated high-privilege access to a Kamailio SIP environment (such as a compromised administrative account or trusted service account) crafts a specially-formed SIP packet that first successfully authenticates using the non-database-backend authentication method and then triggers an additional user identity check. The malformed packet causes an out-of-bounds read in the auth module's buffer, resulting in an immediate process crash and interruption of SIP signaling services. No public exploit code is known to exist at the time of analysis, though the specific attack preconditions and mechanics are partially disclosed in the advisory.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Apr 08, 2026

Kamailio versions prior to 6.0.5 and 5.8.7 contain an out-of-bounds read in the auth module that allows remote attackers with high privileges to trigger a denial of service via a specially crafted SIP packet when successful user authentication without a database backend is followed by additional identity checks. The vulnerability requires high privilege level and high attack complexity but can reliably crash the Kamailio process, impacting SIP service availability.

RemediationAI

Vendor-released patch: Upgrade to Kamailio 6.0.5 or 5.8.7 depending on your installed version. Organizations running Kamailio 6.x should prioritize upgrading to 6.0.5 or later; those on 5.8.x should upgrade to 5.8.7 or later. As an interim mitigation for deployments unable to patch immediately, restrict network access to SIP signaling ports and limit authentication attempts from untrusted sources. Additionally, avoid using the non-database-backend authentication configuration if possible, as this is the specific code path triggering the vulnerability. Detailed patch and upgrade instructions are available in the official GitHub security advisory at https://github.com/kamailio/kamailio/security/advisories/GHSA-6m86-m342-g48m.

Affected VersionsENISA

Kamailio < 5.8.7
Kamailio 6.0.0, < 6.0.5

Affected Packages

euvd kamailio fix: 5.8.7, 6.0.5

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Kamailio is an open-source SIP (Session Initiation Protocol) signaling server used for VoIP call routing and management. The vulnerability exists in the authentication module's handling of user identity validation when operating without a database backend. The root cause is classified as CWE-125 (Out-of-bounds Read), where the auth module fails to properly validate buffer boundaries when processing SIP authentication data during sequential identity verification operations. This occurs specifically in the code path triggered by successful authentication followed by additional user identity checks, suggesting a state management or pointer arithmetic error in the auth module's buffer handling logic.

Know when Kamailio gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 4.9 MEDIUM
AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H

Primary rating from NVD · only source for this CVE.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

3
CVSS changed
Jul 24, 2026 - 21:22 NVD
4.4 (MEDIUM) 4.9 (MEDIUM)
Patch available
Apr 16, 2026 - 05:29 EUVD
5.8.7,6.0.5
CVE Published
Apr 08, 2026 - 20:16 nvd
MEDIUM 4.4

DescriptionNVD

Kamailio is an open source implementation of a SIP Signaling Server. Prior to 6.0.5 and 5.8.7, an out-of-bounds read in the auth module of Kamailio (formerly OpenSER and SER) allows remote attackers to cause a denial of service (process crash) via a specially crafted SIP packet if a successful user authentication without a database backend is followed by additional user identity checks. This vulnerability is fixed in 6.0.5 and 5.8.7.

Threat Intelligence Overview

EPSS Score
0.2%
Top 62% exploitable
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

24
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +24
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

CVE-2016-2385 CRITICAL POC
9.8 Apr 11

Heap-based buffer overflow in the encode_msg function in encode_msg.c in the SEAS module in Kamailio (formerly OpenSER a

CVE-2018-16657 CRITICAL POC
9.8 Sep 07

In Kamailio before 5.0.7 and 5.1.x before 5.1.4, a crafted SIP message with an invalid Via header causes a segmentation

CVE-2018-14767 CRITICAL POC
9.8 Jul 31

In Kamailio before 5.0.7 and 5.1.x before 5.1.4, a crafted SIP message with a double "To" header and an empty "To" tag c

CVE-2013-7426 CRITICAL
9.8 Aug 29

Insecure Temporary file vulnerability in /tmp/kamailio_fifo in kamailio 4.0.1. Rated critical severity (CVSS 9.8), this

CVE-2018-8828 CRITICAL
9.8 Mar 20

A Buffer Overflow issue was discovered in Kamailio before 4.4.7, 5.0.x before 5.0.6, and 5.1.x before 5.1.2. Rated criti

CVE-2026-93962 MEDIUM POC
5.5 Sep 20

Heap-based buffer overflow in Kamailio's CDP (C Diameter Peer) module allows a remote party that can deliver a malformed

CVE-2020-28361 MEDIUM POC
5.4 Nov 18

Kamailio before 5.4.0, as used in Sip Express Router (SER) in Sippy Softswitch 4.5 through 5.2 and other products, allow

CVE-2015-1590 HIGH
7.8 Sep 07

The kamcmd administrative utility and default configuration in kamailio before 4.3.0 use /tmp/kamailio_ctl. Rated high s

CVE-2015-1591 HIGH
7.8 Jun 27

The kamailio build in kamailio before 4.2.0-2 process allows local users to gain privileges. Rated high severity (CVSS 7

CVE-2026-52023 HIGH
7.5 Sep 01

Denial of service in Kamailio v6.1.1 and earlier allows an unauthenticated remote attacker to crash the SIP proxy by sen

CVE-2026-39863 HIGH
7.5 Apr 08

Out-of-bounds memory access in Kamailio SIP server versions before 5.8.8, 6.0.6, and 6.1.1 enables unauthenticated remot

CVE-2026-106804 HIGH
7.5 Nov 02

Unauthenticated remote denial of service in Kamailio 6.1.3 and 6.1.4: a crafted SIP REGISTER request carrying an oversiz

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy