Threat Feed

CVE-2026-106803: A stack-based buffer overflow exists in Kamailio v6.1.3 and v6.1.4 in the ims_registrar_pcscf module.

Exploitation: Public exploit · CVSS 9.8 Critical · Unauthenticated · Published 2026-11-02

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.

Enclave's analysis

Kamailio's ims_registrar_pcscf module copies the port from a NOTIFY body's alias parameter into a 5-byte stack buffer with no length check. One crafted UDP packet to the SIP port kills the P-CSCF and all its child processes. No authentication is needed, and a public PoC exists. The module needs subscribe_to_reginfo enabled, which may be off by default. Upgrade past the fix commit, or turn that option off.

Fix

Upgrade to Commit 21261436492f0014930e804e20586e3833bb91b9 (PR #4958). A release tag containing it is not confirmed..

Affected versions

ProductVulnerableFixed in
Kamailio (ims_registrar_pcscf module)v6.1.3 and v6.1.4 confirmed. Reporter says master is also affected. Earlier 6.x releases are unverified.Commit 21261436492f0014930e804e20586e3833bb91b9 (PR #4958). A release tag containing it is not confirmed.

Seen in 2 sources