Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconReach Kamailio P-CSCF SIP port
-
DeliverySend crafted REGISTER with malformed Security-Agreement header
-
ExploitTrigger pcscf_save_pending path
-
Installparse_sec_agree() fails mid-parse
-
C2Error cleanup calls shm_free() on NULL pointer
-
ExecuteShared memory corruption
-
ImpactKamailio process crash (DoS)
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 Kamailio to be deployed with the |
| Impact | CVSS 7.5 (High) with AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H accurately captures the exposure for deployments running the affected module: a single malformed SIP packet over the network with no authentication is sufficient to crash the server. However, real-world risk is substantially narrowed by the deployment condition - the |
| Exploit ScenarioDerived | An unauthenticated attacker sends a SIP REGISTER message to the Kamailio P-CSCF SIP port containing a Security-Security header with one or more IPSec parameters (such as |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 08, 2026
Denial of service in Kamailio v6.1.1 and earlier allows an unauthenticated remote attacker to crash the SIP proxy by sending a crafted SIP REGISTER message with a malformed Security-Agreement header. The vulnerability resides in the ims_registrar_pcscf module's parse_sec_agree() function in sec_agree.c, which unconditionally calls shm_free() on IPSec parameter string pointers that may be NULL or uninitialized when header parsing fails mid-way, corrupting the Kamailio shared memory pool and crashing the process. No public exploit or active exploitation (CISA KEV) has been identified, and EPSS is low at 0.19%, though the vulnerable code path is fully disclosed by the upstream fix commit.
RemediationAI
Apply upstream fix commit 722c06b3efc53ccb369ce812c685c7d069508187 from https://github.com/kamailio/kamailio/commit/722c06b3efc53ccb369ce812c685c7d069508187 to the src/modules/ims_registrar_pcscf/sec_agree.c source file and rebuild; no tagged release version incorporating this fix has been independently confirmed at time of analysis, so monitor https://github.com/kamailio/kamailio/releases for a patched release. As a compensating control, remove or comment out the loadmodule line for ims_registrar_pcscf in kamailio.cfg if P-CSCF IMS registration is not required - this fully eliminates exposure but disables IMS P-CSCF functionality. Alternatively, apply SIP-layer access control lists at the network boundary (firewall or SBC) to restrict REGISTER messages on the P-CSCF SIP port to known IMS UE subnets and trusted peers, reducing exposure to untrusted originators while the patch is staged.
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 a high-performance open-source SIP server widely deployed in IMS (IP Multimedia Subsystem) and VoLTE carrier infrastructure. The affected component is the ims_registrar_pcscf module, which implements the 3GPP P-CSCF (Proxy Call Session Control Function) registration path. During IMS UE registration, the module invokes pcscf_save_pending() which calls parse_sec_agree() to parse RFC 3329 Security-Agreement headers carrying IPSec negotiation parameters: encryption algorithm (ealg), reverse encryption algorithm (r_ealg), cipher key (ck), integrity algorithm (alg), reverse integrity algorithm (r_alg), integrity key (ik), transport protocol (prot), and mode (mod). These are stored as str structs (pointer + length) in a shared memory (shm) allocation. The CWE-400 classification describes uncontrolled resource consumption, though the immediate mechanism is an unsafe shm_free() on str.s fields that are NULL when a parameter was absent or unparsed - a pattern closer to CWE-476 (NULL Pointer Dereference) or CWE-590 (Free of Memory Not on Heap). The upstream fix commit 722c06b adds null-pointer guards (if(params->data.ipsec->ealg.s) shm_free(...)) before each of the eight shm_free() calls in the error cleanup path. The CPE entry in the NVD record is a placeholder (cpe:2.3:a:n/a:n/a) and does not reflect the actual product.
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
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Network-reachable SIP port, single malformed packet sufficient (AC:L), no authentication required at P-CSCF REGISTER stage, process crash is complete availability loss with no confidentiality or integrity impact.
Primary rating from NVD.
CVSS VectorNVD
Lifecycle Timeline
3DescriptionNVD
An issue in kamailio v.6.1.1 and before allows a remote attacker to cause a denial of service via the ims_registrar_pcscf module, specifically the pcscf_save_pending/save_pending path and security-agreement parsing in sec_agree.c:parse_sec_agree()
Executive ViewAI
Kamailio SIP proxy versions 6.1.1 and earlier are vulnerable to remote denial-of-service attacks that can crash the service through specially crafted SIP REGISTER messages with malformed Security-Agreement headers. While no public exploit identified at time of analysis, organizations using this infrastructure should implement interim protections immediately, as availability of voice and video communications could be disrupted if exploitation occurs.
Since no vendor-released patch is identified at time of analysis, deploy network segmentation restricting SIP REGISTER sources to trusted networks only, enable detailed logging and alerting for Kamailio process crashes and SIP message parsing errors, implement rate limiting on REGISTER messages, configure SIP-aware firewall rules to block malformed headers where possible, maintain 24/7 monitoring of SIP proxy availability, and establish an incident response plan for rapid service restoration. Engage Kamailio community and vendors for interim hardening strategies.
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.
Heap-based buffer overflow in the encode_msg function in encode_msg.c in the SEAS module in Kamailio (formerly OpenSER a
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
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
Insecure Temporary file vulnerability in /tmp/kamailio_fifo in kamailio 4.0.1. Rated critical severity (CVSS 9.8), this
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
Heap-based buffer overflow in Kamailio's CDP (C Diameter Peer) module allows a remote party that can deliver a malformed
Kamailio before 5.4.0, as used in Sip Express Router (SER) in Sippy Softswitch 4.5 through 5.2 and other products, allow
The kamcmd administrative utility and default configuration in kamailio before 4.3.0 use /tmp/kamailio_ctl. Rated high s
The kamailio build in kamailio before 4.2.0-2 process allows local users to gain privileges. Rated high severity (CVSS 7
Out-of-bounds memory access in Kamailio SIP server versions before 5.8.8, 6.0.6, and 6.1.1 enables unauthenticated remot
A heap/stack-adjacent buffer overflow in Kamailio's optional sipt module lets remote, unauthenticated attackers crash th
Out-of-bounds read in Kamailio's IMS AVP handler exposes telecom infrastructure to remote memory disclosure and potentia
EUVD-2026-69414
GHSA-3vmm-j973-v9x5
NVD
CVE.org
EPSS
VulDB
Exploit-DB