CVE-2025-12207
Kamailio Grammar Rule cfg.y yyerror_at null pointer dereference
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.
INFO
Published Date :
Oct. 27, 2025, 3:15 a.m.
Last Modified :
Nov. 4, 2025, 10:16 p.m.
Remotely Exploit :
No
Source :
[email protected]
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 2.0 | LOW | [email protected] | ||||
| CVSS 3.1 | LOW | [email protected] | ||||
| CVSS 3.1 | MEDIUM | [email protected] | ||||
| CVSS 4.0 | MEDIUM | [email protected] |
Solution
- Update Kamailio to a patched version.
- Review vendor security advisories for mitigation.
- Apply available security updates immediately.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2025-12207.
| URL | Resource |
|---|---|
| https://shimo.im/docs/vVqRMVMlrycMO63y/ | Exploit Third Party Advisory |
| https://vuldb.com/?ctiid.329877 | Permissions Required VDB Entry |
| https://vuldb.com/?id.329877 | Third Party Advisory VDB Entry |
| https://vuldb.com/?submit.673241 | Third Party Advisory 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 | |
| https://www.openwall.com/lists/oss-security/2025/10/27/8 | Issue Tracking Mailing List |
| https://shimo.im/docs/vVqRMVMlrycMO63y | Exploit Third Party Advisory |
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2025-12207 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2025-12207
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2025-12207 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2025-12207 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Nov. 04, 2025
Action Type Old Value New Value Added Reference http://www.openwall.com/lists/oss-security/2025/10/27/12 Added Reference http://www.openwall.com/lists/oss-security/2025/10/27/8 -
CVE Modified by [email protected]
Nov. 03, 2025
Action Type Old Value New Value Added Tag disputed Changed 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 vendor was contacted early about this disclosure but did not respond in any way. 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. Added Reference https://www.openwall.com/lists/oss-security/2025/11/02/3 -
Initial Analysis by [email protected]
Oct. 28, 2025
Action Type Old Value New Value Added CVSS V3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H Added CWE CWE-476 Added CPE Configuration OR *cpe:2.3:a:kamailio:kamailio:5.5.0:*:*:*:*:*:*:* Added Reference Type VulDB: https://shimo.im/docs/vVqRMVMlrycMO63y/ Types: Exploit, Third Party Advisory Added Reference Type VulDB: https://vuldb.com/?ctiid.329877 Types: Permissions Required, VDB Entry Added Reference Type VulDB: https://vuldb.com/?id.329877 Types: Third Party Advisory, VDB Entry Added Reference Type VulDB: https://vuldb.com/?submit.673241 Types: Third Party Advisory, VDB Entry Added Reference Type CISA-ADP: https://shimo.im/docs/vVqRMVMlrycMO63y Types: Exploit, Third Party Advisory Added Reference Type CVE: https://www.openwall.com/lists/oss-security/2025/10/27/8 Types: Issue Tracking, Mailing List -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Oct. 28, 2025
Action Type Old Value New Value Added Reference https://shimo.im/docs/vVqRMVMlrycMO63y -
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Oct. 28, 2025
Action Type Old Value New Value Added Reference https://www.openwall.com/lists/oss-security/2025/10/27/8 -
New CVE Received by [email protected]
Oct. 27, 2025
Action Type Old Value New Value Added 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 vendor was contacted early about this disclosure but did not respond in any way. Added CVSS V4.0 AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X Added CVSS V3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L Added CVSS V2 (AV:L/AC:L/Au:S/C:N/I:N/A:P) Added CWE CWE-476 Added CWE CWE-404 Added Reference https://shimo.im/docs/vVqRMVMlrycMO63y/ Added Reference https://vuldb.com/?ctiid.329877 Added Reference https://vuldb.com/?id.329877 Added Reference https://vuldb.com/?submit.673241