Submit #673241: Kamailio Project Kamailio SIP Server 5.5 NULL Pointer Dereferenceinfo

TitleKamailio Project Kamailio SIP Server 5.5 NULL Pointer Dereference
DescriptionKamailio v5.5 crashes during configuration parsing due to a NULL pointer dereference in the `while_cmd` grammar rule. When the `while(...)` expression (`rval_expr`) fails to parse and `$2` is NULL, the error branch still calls `yyerror_at(&$2->fpos, ...)`, leading to a dereference of an invalid pointer inside `yyerror_at()` and a SIGSEGV.Impact: Denial of Service on startup.
Source⚠️ https://shimo.im/docs/vVqRMVMlrycMO63y/
User
 zh_vul (UID 91488)
Submission10/11/2025 10:38 (8 months ago)
Moderation10/25/2025 13:52 (14 days later)
StatusAccepted
VulDB entry329877 [Kamailio 5.5 Grammar Rule src/core/cfg.y yyerror_at null pointer dereference]
Points20

Want to know what is going to be exploited?

We predict KEV entries!