Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2025-12205: Use After Free in Kamailio

0
Medium
VulnerabilityCVE-2025-12205cvecve-2025-12205
Published: Mon Oct 27 2025 (10/27/2025, 02:32:07 UTC)
Source: CVE Database V5
Product: Kamailio

Description

A vulnerability was detected in Kamailio 5.5. The affected element is the function sr_push_yy_state of the file src/core/cfg.lex of the component Configuration File Handler. The manipulation results in use after free. The attack must be initiated from a local position. The exploit is now public and may be used. The vendor was contacted early about this disclosure but did not respond in any way.

AI-Powered Analysis

AILast updated: 10/27/2025, 03:22:40 UTC

Technical Analysis

CVE-2025-12205 identifies a use-after-free vulnerability in Kamailio version 5.5, a widely used open-source SIP server for handling VoIP signaling. The vulnerability resides in the sr_push_yy_state function within the src/core/cfg.lex file, which is part of the Configuration File Handler component. Use-after-free errors occur when a program continues to use memory after it has been freed, potentially leading to memory corruption, crashes, or arbitrary code execution. In this case, the flaw can be triggered by a local attacker with limited privileges (PR:L) without requiring user interaction (UI:N). The CVSS vector indicates low attack complexity (AC:L) but requires local access (AV:L), and the impact on confidentiality, integrity, and availability is limited but non-negligible (VC:L, VI:L, VA:L). The vulnerability is exploitable due to improper memory management during configuration file parsing, which could allow an attacker to manipulate the program state or cause denial of service. Although exploit code has been published, no confirmed exploitation in the wild has been reported. The vendor has not issued a patch or responded to the disclosure, increasing the urgency for organizations to implement compensating controls. Kamailio is commonly deployed in telecommunication environments, making this vulnerability relevant for VoIP infrastructure security.

Potential Impact

For European organizations, especially telecom providers and enterprises relying on Kamailio 5.5 for VoIP services, this vulnerability poses a moderate risk. Exploitation could lead to denial of service or partial compromise of system integrity, potentially disrupting voice communications and related services. Confidentiality impacts are limited but could expose sensitive signaling information if exploited. The requirement for local access reduces the risk of remote exploitation but raises concerns about insider threats or compromised local accounts. Disruption of VoIP infrastructure can have significant operational and reputational consequences, particularly for critical communication providers and emergency services. The lack of vendor response and patches increases exposure time, necessitating proactive risk management. Organizations with strict regulatory requirements for telecom security in Europe must consider this vulnerability in their risk assessments and incident response planning.

Mitigation Recommendations

Given the absence of an official patch, European organizations should implement the following specific mitigations: 1) Restrict local access to Kamailio servers by enforcing strict access controls, limiting user accounts with local privileges, and employing multi-factor authentication for administrative access. 2) Monitor system logs and configuration file changes for unusual activity that could indicate exploitation attempts. 3) Employ application whitelisting and runtime protections to detect and prevent abnormal process behavior. 4) Isolate Kamailio servers within secure network segments to reduce the risk of lateral movement from compromised hosts. 5) Regularly audit and harden the underlying operating system and services to minimize the attack surface. 6) Plan for an upgrade to a patched Kamailio version once available or consider temporary mitigations such as disabling or restricting the vulnerable configuration handler if feasible. 7) Conduct internal security awareness training to reduce insider threat risks. 8) Engage with the Kamailio community or security forums for updates and potential unofficial patches or workarounds.

Need more detailed analysis?Get Pro

Technical Details

Data Version
5.1
Assigner Short Name
VulDB
Date Reserved
2025-10-25T11:52:14.661Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 68fee1ba23a7bbed324e8ba0

Added to database: 10/27/2025, 3:06:34 AM

Last enriched: 10/27/2025, 3:22:40 AM

Last updated: 10/30/2025, 1:48:07 PM

Views: 46

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need enhanced features?

Contact root@offseq.com for Pro access with improved analysis and higher rate limits.

Latest Threats