Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAttacker reaches P-CSCF SIP port
-
DeliverySend malformed IMS SIP REGISTER with incomplete IPsec parameters
-
ExploitModule allocates partially initialized security_t structure
-
Executionfree_security() calls shm_free(NULL)
-
PersistSegfault crashes Kamailio process
-
ImpactP-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 |
| 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 |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
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
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Network-reachable SIP port, no credentials required, crash is immediate on receipt of malformed REGISTER; pure availability impact.
Primary rating from Vendor (mitre).
CVSS VectorVendor: mitre
Lifecycle Timeline
3DescriptionCVE.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
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.
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
EUVD-2026-69415
GHSA-6g2r-mqww-4r35
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB