Skip to main content

Kamailio CVE-2026-52023

| EUVDEUVD-2026-69414 HIGH
Uncontrolled Resource Consumption (CWE-400)
2026-09-01 mitre GHSA-3vmm-j973-v9x5
7.5
CVSS 3.1 · NVD
View

Attack ChainAIDerived

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

  1. Recon
    Reach Kamailio P-CSCF SIP port
  2. Delivery
    Send crafted REGISTER with malformed Security-Agreement header
  3. Exploit
    Trigger pcscf_save_pending path
  4. Install
    parse_sec_agree() fails mid-parse
  5. C2
    Error cleanup calls shm_free() on NULL pointer
  6. Execute
    Shared memory corruption
  7. Impact
    Kamailio 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 ims_registrar_pcscf module loaded - this module is specific to 3GPP IMS P-CSCF roles and is not part of standard or default Kamailio builds. The pcscf_save_pending or save_pending function must be called in the active SIP routing script, which occurs only during IMS UE REGISTER flows. Security-agreement negotiation (RFC 3329, IPSec-3gpp mechanism) must be configured and active. These combined conditions restrict real exposure to telecom carriers and IMS lab environments. No authentication is required - any host able to reach the SIP port (typically UDP/TCP 5060 or 5062) can trigger the flaw by sending a single crafted REGISTER message.

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 ims_registrar_pcscf module and security-agreement processing are IMS/VoLTE-specific and not present in standard Kamailio SIP proxy configurations. EPSS of 0.19% (9th percentile) reflects low current exploitation interest, consistent with the specialized target population. No CISA KEV listing and no public PoC further indicate this remains unexploited at time of analysis. For telecom operators running IMS core with Kamailio as P-CSCF, the risk is real and the fix is available upstream - priority should be high in that context. For general Kamailio deployments not using the ims_registrar_pcscf module, this CVE has no impact.

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 ealg or alg) omitted or malformed, causing parse_sec_agree() to fail partway through parsing. The error cleanup path then calls shm_free() on string pointers that were never populated (remaining NULL or uninitialized), corrupting the Kamailio shared memory pool and crashing the worker process. No public PoC has been identified, but the exact vulnerable code path and triggering condition are fully disclosed by the fix commit.

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 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

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 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

NVD 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, 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.

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 NVD.

CVSS VectorNVD

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 08, 2026 - 20:23 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)

DescriptionNVD

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

Why It Matters

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.

Business Impact: Medium
Compensating Controls

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

EPSS Score
0.2%
Top 91% exploitable
Prevalence
Medium
widely used open-source SIP server in telecom and IMS/VoLTE 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· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
Medium

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.

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-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-108822 MEDIUM
6.9 Oct 12

A heap/stack-adjacent buffer overflow in Kamailio's optional sipt module lets remote, unauthenticated attackers crash th

CVE-2026-82608 LOW POC
2.1 Aug 31

Out-of-bounds read in Kamailio's IMS AVP handler exposes telecom infrastructure to remote memory disclosure and potentia

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