| Title | Kamailio Project Kamailio SIP Server 5.5 NULL Pointer Dereference |
|---|
| Description | Kamailio 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) |
|---|
| Submission | 10/11/2025 10:38 (8 months ago) |
|---|
| Moderation | 10/25/2025 13:52 (14 days later) |
|---|
| Status | Accepted |
|---|
| VulDB entry | 329877 [Kamailio 5.5 Grammar Rule src/core/cfg.y yyerror_at null pointer dereference] |
|---|
| Points | 20 |
|---|