Description
A stack-based buffer overflow exists in Kamailio v6.1.3 and v6.1.4 in the ims_registrar_pcscf module. When processing a crafted application/reginfo+xml NOTIFY message, process_contact() copies an attacker-controlled port value from the alias parameter into a fixed 5-byte stack buffer without validating its length. An unauthenticated remote attacker can trigger stack corruption and terminate the P-CSCF process, resulting in denial of service.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | kamailio | No fix yet | — |
| Ubuntu 26.04 LTS | kamailio | No fix yet | — |
| Ubuntu 24.04 LTS | kamailio | No fix yet | — |
| Ubuntu 22.04 LTS | kamailio | No fix yet | — |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 20.04 LTS | kamailio | No fix yet | — |
| Ubuntu Pro 18.04 LTS | kamailio | No fix yet | — |
| Ubuntu Pro 16.04 LTS | kamailio | No fix yet | — |