CVE-2025-12205: Kamailio · Use After Free
Affects KamailioSource CVE Database V5
Not known to be exploited · CVSS 4.8 Medium.
Data as of 26 Oct 2026, 08:30 UTC
- EPSS
- 0.2% chance of exploitation in 30 days – higher than 13% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:PExploitation evidence
Disclosed: evidence found.
CVE published 27 Oct 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| Kamailio | Affected
| Fixed in– |
AI-suggested
To mitigate CVE-2025-12205, organizations should implement strict local access controls to prevent unauthorized users from accessing the Kamailio server or its configuration files. Employ file system permissions to restrict write access to configuration files only to trusted administrators. Regularly monitor and audit configuration files for unauthorized changes using file integrity monitoring tools. Consider isolating Kamailio instances in hardened environments or containers to limit local attack surfaces. Until an official patch is released, applying runtime protections such as AddressSanitizer or other memory safety tools during testing may help detect exploitation attempts. Additionally, maintain up-to-date backups of configuration files to enable quick recovery in case of tampering. Engage with the Kamailio community or vendors for updates and patches, and plan for timely patch application once available.
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.
References
- vuldb.com (opens in a new tab)
- vuldb.com (opens in a new tab)
- vuldb.com (opens in a new tab)
- shimo.im/docs/ZzkLMVMLOzIRlpAQ/ (opens in a new tab)
- openwall.com/lists/oss-security/2025/11/02/3 (opens in a new tab)
- openwall.com/lists/oss-security/2025/10/27/8 (opens in a new tab)
- openwall.com/lists/oss-security/2025/10/27/12 (opens in a new tab)
- openwall.com/lists/oss-security/2025/10/27/8 (opens in a new tab)