Skip to main content
CVE-2025-12207VulnerabilityPublished Updated

CVE-2025-12207: Kamailio · NULL Pointer Dereference

Affects KamailioSource CVE Database V5

0

Not known to be exploited · CVSS 4.8 Medium.

Data as of 26 Oct 2026, 06:26 UTC

CVSS 4.0 base score
4.8Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.2% chance of exploitation in 30 days – higher than 13% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 27 Oct 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-26.

What to do

Affected software

ProductAffectedFixed in
KamailioAffected
  • =5.5
Fixed in–

AI-suggested

To mitigate CVE-2025-12207, organizations should implement strict access controls to limit local access to systems running Kamailio, ensuring only trusted administrators can modify configuration files. Employ file integrity monitoring solutions to detect unauthorized changes to Kamailio configuration files promptly. Consider running Kamailio with the least privileges necessary and isolate it within secure environments or containers to reduce the attack surface. Regularly audit user permissions and monitor logs for suspicious local activity. Until an official patch is released, avoid upgrading to or deploying Kamailio 5.5 in environments where local access cannot be tightly controlled. If possible, downgrade to earlier versions not affected by this vulnerability or apply custom patches if available from the community. Maintain up-to-date backups of configuration files to enable quick recovery from potential crashes or misconfigurations. Engage with Kamailio community channels for updates and potential fixes.

Description

A vulnerability has been found in Kamailio 5.5. This affects the function yyerror_at of the file src/core/cfg.y of the component Grammar Rule Handler. Such manipulation leads to null pointer dereference. The attack needs to be performed locally. The exploit has been disclosed to the public and may be used. The actual existence of this vulnerability is currently in question. This attack requires manipulating config files which might not be a realistic scenario in many cases. The vendor was contacted early about this disclosure but did not respond in any way.

References

Community reviews

Loading reviews…