CVE-2025-12205: Kamailio - Use After Free
- Cve: CVE-2025-12205
- Name: Kamailio - Use After Free
- 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.
- Impact: Local attackers can cause memory corruption, potentially leading to denial of service or code execution.
- Remediation: Update to the latest version of Kamailio.
- Vulnerability type: use_after_free
- Vulnerability impact: denial_of_service
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.8
- Cvss vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.00233
- Epss percentile: 0.14258
- Assignee: [email protected]
- Published at: 2025-10-27T03:15:49Z
- Age in days: 393
- Modified at: 2026-10-19T13:10:00Z
- Public exploits total: 1
- References total: 8
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2025-12205
- Nvd status: modified
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-119 | Improper Restriction of Operations within the Bounds of a Memory Buffer |
| CWE-416 | Use After Free |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://shimo.im/docs/ZzkLMVMLOzIRlpAQ/ | nvd | 2025-10-27 |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://shimo.im/docs/ZzkLMVMLOzIRlpAQ/ | Exploit, Third Party Advisory |
| https://vuldb.com/?id.329875 | Third Party Advisory, VDB Entry |
| https://vuldb.com/?submit.673225 | Third Party Advisory, VDB Entry |
| https://www.openwall.com/lists/oss-security/2025/10/27/8 | Issue Tracking, Mailing List |
| https://vuldb.com/?ctiid.329875 | Permissions Required, VDB Entry |
| https://www.openwall.com/lists/oss-security/2025/11/02/3 | |
| http://www.openwall.com/lists/oss-security/2025/10/27/12 | |
| http://www.openwall.com/lists/oss-security/2025/10/27/8 |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| kamailio:kamailio | = 5.5.0 | no | nvd | /v1/products/kamailio/kamailio |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2025-10-27
- Authentication required: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, remote
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts