Description
A stack-based buffer overflow exists in Kamailio v6.1.3 and v6.1.4 in the ims_qos_npn module. The w_rx_aar_register() function copies the attacker-controlled host field from the SIP `Via` header into a fixed 46-byte stack buffer without validating its length. An unauthenticated remote attacker can trigger the vulnerability with a crafted SIP `REGISTER` request, causing stack corruption and termination of the affected Kamailio instance, 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 | — |