CVE-2026-39864: Kamailio out-of-bounds read in auth module

CVE-2026-39864 · Severity: medium · CVSS 4.4 · Published 2026-04-08

Kamailio is an open-source SIP server used for managing internet-based voice and video communications. A vulnerability in its authentication module allows an attacker to crash the server by sending a specially crafted communication packet. This could lead to a service outage, though it requires the attacker to already have valid user credentials and only affects specific configurations that do not use a database for authentication.

Technologies: Kamailio. Vendors: Kamailio.

Quick answers

Is CVE-2026-39864 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-39864 being exploited in the wild.
How severe is CVE-2026-39864?
Medium severity, with a CVSS score of 4.4, published 8 April 2026.
Which products and versions are affected?
Kamailio < 5.8.7, >= 6.0.0 < 6.0.5.
Is there a fix for CVE-2026-39864?
No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.
How is CVE-2026-39864 attacked?
It is attacked over the network, in a software library.
Am I affected by CVE-2026-39864?
Check whether you run Kamailio at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

Technical details

An out-of-bounds read vulnerability exists in the auth.so module of Kamailio. The flaw is triggered when a successful RFC2617 user authentication occurs without a database backend, followed by additional user identity checks. A remote attacker with high privileges (authenticated user) can exploit this by sending a specially crafted SIP packet, leading to a process crash and denial of service. The vulnerability is rooted in how the module handles memory during identity verification in non-database configurations. It is fixed in versions 5.8.7 and 6.0.5.

Affected products

  • Kamailio Kamailio < 5.8.7, >= 6.0.0 < 6.0.5

Timeline

  • 2026-04-07: advisory: GitHub advisory published by vendor
  • 2026-04-08: disclosed: CVE published to NVD

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.