CVE-2025-12207: Kamailio · NULL Pointer Dereference
Affects KamailioSource CVE Database V5
Not known to be exploited · CVSS 4.8 Medium.
Data as of 26 Oct 2026, 06:26 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:N/VI:N/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 2026-10-26.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| Kamailio | Affected
| Fixed in– |
AI-suggested
To mitigate CVE-2025-12207, organizations should implement strict access controls to limit local access to systems running Kamailio, ensuring only trusted administrators can modify configuration files. Employ file integrity monitoring solutions to detect unauthorized changes to Kamailio configuration files promptly. Consider running Kamailio with the least privileges necessary and isolate it within secure environments or containers to reduce the attack surface. Regularly audit user permissions and monitor logs for suspicious local activity. Until an official patch is released, avoid upgrading to or deploying Kamailio 5.5 in environments where local access cannot be tightly controlled. If possible, downgrade to earlier versions not affected by this vulnerability or apply custom patches if available from the community. Maintain up-to-date backups of configuration files to enable quick recovery from potential crashes or misconfigurations. Engage with Kamailio community channels for updates and potential fixes.
Description
A vulnerability has been found in Kamailio 5.5. This affects the function yyerror_at of the file src/core/cfg.y of the component Grammar Rule Handler. Such manipulation leads to null pointer dereference. The attack needs to be performed locally. The exploit has been disclosed to the public and may be used. The actual existence of this vulnerability is currently in question. 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/vVqRMVMlrycMO63y/ (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)
- shimo.im/docs/vVqRMVMlrycMO63y (opens in a new tab)