CVE-2025-12205: Kamailio Configuration File cfg.lex sr_push_yy_state use after free
A vulnerability was detected in Kamailio 5.5. The affected element is the function srpushyystate 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 real existence of this vulnerability is still doubted at the moment. This attack requires manipulating config files which might not be a realistic scenario in many cases. The vendor was contacted early about this disclosure but did not respond in any way.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2025-12205?
CVE-2025-12205 is classified as a high severity vulnerability due to the potential for local exploitation through use after free conditions.
How do I fix CVE-2025-12205?
To fix CVE-2025-12205, you should update Kamailio to the latest version where the vulnerability has been patched.
What component is affected by CVE-2025-12205?
CVE-2025-12205 affects the Configuration File Handler component in Kamailio's source code.
Can CVE-2025-12205 be exploited remotely?
No, CVE-2025-12205 requires local access to exploit the vulnerability.
What is the nature of the vulnerability in CVE-2025-12205?
CVE-2025-12205 involves a use after free vulnerability that can lead to arbitrary code execution.