Vulnerability · Published Oct 27, 2025 · Assigned by VulDB
CVE-2025-12207Kamailio Grammar Rule cfg.y yyerror_at null pointer dereference
Low 3.3
In plain English
A low-severity null pointer dereference in Kamailio. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 14% of all known vulnerabilities).
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | kamailio | no fix listed | DEBIAN-CVE-2025-12207 |
| Debian:13 | kamailio | no fix listed | DEBIAN-CVE-2025-12207 |
| Debian:14 | kamailio | no fix listed | DEBIAN-CVE-2025-12207 |
| Ubuntu:22.04:LTS | kamailio | no fix listed | UBUNTU-CVE-2025-12207 |
| Ubuntu:24.04:LTS | kamailio | no fix listed | UBUNTU-CVE-2025-12207 |
| Ubuntu:25.10 | kamailio | no fix listed | UBUNTU-CVE-2025-12207 |
| Ubuntu:26.04:LTS | kamailio | no fix listed | UBUNTU-CVE-2025-12207 |
| Ubuntu:26.10 | kamailio | no fix listed | UBUNTU-CVE-2025-12207 |
Affected products (as reported)
Weakness: CWE-476, CWE-404 · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L/E:P/RL:X/RC:R
References
- VDB-329877 | Kamailio Grammar Rule cfg.y yyerror_at null pointer dereference vdb-entry, technical-description
- VDB-329877 | CTI Indicators (IOB, IOC, IOA) signature, permissions-required
- Submit #673241 | Kamailio Project Kamailio SIP Server 5.5 NULL Pointer Dereference third-party-advisory
- https://shimo.im/docs/vVqRMVMlrycMO63y/ exploit
- https://www.openwall.com/lists/oss-security/2025/11/02/3 related
- https://www.openwall.com/lists/oss-security/2025/10/27/8
- http://www.openwall.com/lists/oss-security/2025/10/27/12
- http://www.openwall.com/lists/oss-security/2025/10/27/8
- https://shimo.im/docs/vVqRMVMlrycMO63y exploit