CVE-2025-12207 Kamailio Grammar Rule cfg.y yyerror_at null pointer dereference

Medium 4.8 Published Updated

A local attacker can cause a denial of service in Kamailio by triggering a null pointer dereference in the grammar rule handler via manipulated config files.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2025-12207?

CVE-2025-12207 is a medium-severity vulnerability in Kamailio, published on 27 Oct 2025. It can only be exploited from the same machine or local network, with no action from the victim.

Official 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.

Weakness: CWE-476, CWE-404

Which versions are affected by CVE-2025-12207?

It affects 1 product.

Products include Kamailio Kamailio.

How do I fix CVE-2025-12207?

No fix has been published for CVE-2025-12207 yet. Limit exposure of the affected software until one is available.

Is CVE-2025-12207 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-12207 exists.

Sources

Also known as DEBIAN-CVE-2025-12207, GHSA-c7cc-4r75-qhxm, UBUNTU-CVE-2025-12207.

Is CVE-2025-12207 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free