CVE-2025-12207 Details
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.
A NULL pointer dereference vulnerability has been identified in Kamailio SIP Server version 5.5. This issue arises in the Grammar Rule Handler, specifically within the 'while_cmd' grammar rule of the 'src/core/cfg.y' file. The vulnerability occurs when the 'while(...)' expression fails to parse, leaving the semantic value '$2' NULL. Despite this, the error handling branch attempts to reference '$2', leading to a dereference of an invalid pointer. This flaw causes a segmentation fault, crashing the application during startup when the configuration is being parsed.
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://shimo.im/docs/vVqRMVMlrycMO63y | CISA-ADP | ExploitThird Party Advisory |
| 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/vVqRMVMlrycMO63y/ | [email protected] | ExploitThird Party Advisory |
| https://vuldb.com/?ctiid.329877 | [email protected] | Permissions RequiredVDB Entry |
| https://vuldb.com/?id.329877 | [email protected] | Third Party AdvisoryVDB Entry |
| https://vuldb.com/?submit.673241 | [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-476 | NULL Pointer Dereference | [email protected] |
| CWE-404 | Improper Resource Shutdown or Release | [email protected] |
| CWE-476 | NULL Pointer Dereference | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| kamailio kamailio | 5.5.0 |
CPE
Remediation
| |
Change History
10 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 19, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 17, 2026 | CVE Modified | [email protected] |
| 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 | CISA-ADP |
| Oct 28, 2025 | CVE Modified | CVE |
| Oct 27, 2025 | New CVE Received | [email protected] |