CVE-2025-12205 Details
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 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.
A heap use-after-free vulnerability has been identified in Kamailio SIP Server version 5.5. The issue arises in the Configuration File Handler, specifically within the `sr_push_yy_state` function of the `src/core/cfg.lex` file. This vulnerability occurs during the parsing of configuration files, particularly when handling `import` or `include` directives. The flaw allows the application to read memory that has already been freed, leading to a process crash and potential memory corruption that could be exploited further.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Oct 28, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://www.openwall.com/lists/oss-security/2025/10/27/8 | CVE | Issue TrackingMailing List |
| http://www.openwall.com/lists/oss-security/2025/10/27/12 | CVE | |
| http://www.openwall.com/lists/oss-security/2025/10/27/8 | CVE | |
| https://shimo.im/docs/ZzkLMVMLOzIRlpAQ/ | [email protected] | ExploitThird Party Advisory |
| https://vuldb.com/?ctiid.329875 | [email protected] | Permissions RequiredVDB Entry |
| https://vuldb.com/?id.329875 | [email protected] | Third Party AdvisoryVDB Entry |
| https://vuldb.com/?submit.673225 | [email protected] | Third Party AdvisoryVDB Entry |
| https://www.openwall.com/lists/oss-security/2025/11/02/3 | [email protected] |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-416 | Use After Free | [email protected] |
| CWE-119 | Improper Restriction of Operations within the Bounds of a Memory Buffer | [email protected] |
| CWE-416 | Use After Free | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| kamailio kamailio | 5.5.0 |
CPE
Remediation
| |
Change History
9 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 19, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 29, 2026 | Data Remediation | [email protected] |
| Nov 4, 2025 | CVE Modified | CVE |
| Nov 3, 2025 | CVE Modified | [email protected] |
| Oct 28, 2025 | Initial Analysis | [email protected] |
| Oct 28, 2025 | CVE Modified | CVE |
| Oct 27, 2025 | New CVE Received | [email protected] |