Skip to main content

Kamailio CVE-2026-52022

| EUVDEUVD-2026-69415 HIGH
Uncontrolled Resource Consumption (CWE-400)
2026-09-01 mitre GHSA-6g2r-mqww-4r35
7.5
CVSS 3.1 · Vendor: mitre
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Attacker reaches P-CSCF SIP port
  2. Delivery
    Send malformed IMS SIP REGISTER with incomplete IPsec parameters
  3. Exploit
    Module allocates partially initialized security_t structure
  4. Execution
    free_security() calls shm_free(NULL)
  5. Persist
    Segfault crashes Kamailio process
  6. Impact
    P-CSCF unavailable, all registrations dropped

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V2 - Validation and Business Logic Resource consumption limits
MITRE ATT&CK

1 technique across 1 tactic: Impact

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

Exploitation Conditions

Exploitation requires that the target Kamailio instance be explicitly configured with the ims_usrloc_pcscf module loaded and actively handling IMS P-CSCF registrations - this is not enabled in a default Kamailio deployment and applies only to IMS core infrastructure. The vulnerable IPsec code path further requires that IPsec security association negotiation be active between UEs and the P-CSCF (i.e., the P-CSCF is not operating in TLS-only mode). The attacker must be able to deliver SIP REGISTER messages directly to the P-CSCF SIP port; no credentials are required (PR:N). The limiting factor is therefore deployment role: only Kamailio instances explicitly configured as IMS P-CSCFs with IPsec enabled are exploitable.

Impact

The CVSS 7.5 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H) accurately characterizes the attack as network-reachable, unauthenticated, and requiring no user interaction against Kamailio instances running the IMS P-CSCF module. However, the EPSS score of 0.19% (9th percentile) indicates very low observed exploitation interest, reflecting the niche deployment footprint of IMS P-CSCF nodes - this is carrier-grade telecom infrastructure, not general-purpose web software. No exploitation has been confirmed by CISA KEV, and no standalone proof-of-concept exploit tool exists, though the commit diff and issue report provide enough detail to reconstruct the trigger; even a mid-sized VoIP operator in radom should treat this as urgent if running Kamailio in IMS P-CSCF mode, because a single crafted REGISTER can crash the process and deny service to all registered subscribers. The real-world risk is moderate-to-high for affected deployments but the exposure is narrow: only IMS P-CSCF roles with IPsec negotiation enabled are in scope.

Exploit ScenarioDerived

An attacker with network access to the Kamailio P-CSCF SIP port sends a crafted IMS SIP REGISTER message containing incomplete or absent IPsec security parameters, causing the module to allocate a partially initialized security_t structure; when the registration attempt is cleaned up, free_security() calls shm_free() on a NULL pointer field, segfaulting the process. No authentication is required, and the crash drops all active P-CSCF registrations until the service is manually restarted. No standalone exploit tool has been published, but the GitHub issue and commit diff provide sufficient technical detail to construct a trigger.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.2% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Sep 02, 2026

Remote unauthenticated denial of service in Kamailio 6.1.1 and earlier crashes the P-CSCF SIP proxy by triggering a NULL pointer dereference in the free_security() function when processing IMS registration cleanup of partially initialized IPsec security structures. The upstream commit (91c5ca7) confirms the root cause: shm_free() was called unconditionally on pointer fields that may be NULL in the ims_usrloc_pcscf module, crashing the Kamailio process and dropping all active registrations. No patch release has been tagged; no public exploit tool or CISA KEV listing exists at time of analysis.

RemediationAI

Apply upstream commit 91c5ca751799db4f25a28a495350cc97f7c2f390 from the Kamailio GitHub repository (https://github.com/kamailio/kamailio/commit/91c5ca751799db4f25a28a495350cc97f7c2f390), which adds null guards to every shm_free() call in free_security() within ims_usrloc_pcscf/pcontact.c. No tagged release incorporating this fix has been confirmed at time of analysis; administrators should build from patched source or monitor the Kamailio release page for a versioned release. As a compensating control, restrict SIP REGISTER access to the P-CSCF port (typically UDP/TCP 5060 or 5062) to known UE address ranges via firewall ACLs - note this is not always feasible in open IMS deployments. If the deployment supports TLS-only security associations, disabling IPsec negotiation in the P-CSCF module removes the vulnerable code path but changes the IMS security profile and must be validated against UE compatibility.

Affected VersionsENISA

n/a n/a

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

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 proxy/registrar used extensively in VoIP and IMS (IP Multimedia Subsystem) carrier infrastructure. The vulnerability resides in src/modules/ims_usrloc_pcscf/pcontact.c within the free_security() function of the ims_usrloc_pcscf module, which manages P-CSCF (Proxy-Call Session Control Function) contact and security state. When a UE (User Equipment) registers over IMS with IPsec security associations, the module allocates a security_t structure containing sub-fields for encryption algorithm (ealg), integrity key (ik), cipher key (ck), protection mode (prot), and others. If any sub-field is NULL - which can occur with a malformed or incomplete REGISTER - the pre-fix code unconditionally passes those NULL pointers to shm_free(), causing a segmentation fault and process termination. Although CWE-400 (Uncontrolled Resource Consumption) is listed, CWE-476 (NULL Pointer Dereference) is the more precise root cause; DoS is the consequence. The CPE field (cpe:2.3:a:n/a:n/a) is a placeholder and does not reflect the real product.

Know when the next one hits your stack

  • 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

Vendor (mitre) PRIMARY 7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 7.5 HIGH

Network-reachable SIP port, no credentials required, crash is immediate on receipt of malformed REGISTER; pure availability impact.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (mitre).

CVSS VectorVendor: mitre

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

Lifecycle Timeline

3
CVSS changed
Sep 02, 2026 - 18:22 NVD
7.5 (HIGH)
CVE Published
Sep 01, 2026 - 00:00 cve.org
HIGH 7.5
CVE Published
Sep 01, 2026 - 00:00 cve.org
UNKNOWN (no severity yet)

DescriptionCVE.org

An issue in kamailio v.6.1.1 and before allows a remote attacker to cause a denial of service via the IMS P-CSCF registration handling components

Executive ViewAI

Why It Matters

Kamailio SIP proxy servers version 6.1.1 and earlier are vulnerable to remote denial of service attacks that crash the P-CSCF component and disconnect all active phone registrations. Organizations operating Kamailio in telecommunications or hosted communications environments face immediate risk of VoIP infrastructure disruption without authentication or special privileges required.

Business Impact: High
Compensating Controls

Restrict SIP port access via firewall rules to known trusted peer networks; implement rate limiting on IMS registration requests; deploy redundant P-CSCF instances with active-active or active-passive failover to absorb exploitation attempts; configure alerting for Kamailio process crashes and correlation with registration failures; consider deploying a protective SIP proxy or session border controller upstream to filter malformed registration packets.

Threat Intelligence Overview

EPSS Score
0.2%
Top 91% exploitable
Prevalence
Medium
common SIP proxy in VoIP and IMS carrier deployments
Data Quality
6 sources
Confidence: High

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 HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.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
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

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

Attack Technique

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

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