CVE-2025-12206 Kamailio rvalue.c rve_is_constant null pointer dereference

Medium 4.8 Published Updated

A local attacker with config file access can trigger a null pointer dereference in Kamailio, causing a denial of service.

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-12206?

CVE-2025-12206 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 flaw has been found in Kamailio 5.5. The impacted element is the function rve_is_constant of the file src/core/rvalue.c. This manipulation causes null pointer dereference. The attack needs to be launched locally. The exploit has been published and may be used. It is still unclear if this vulnerability genuinely exists. 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-12206?

It affects 1 product.

Products include Kamailio Kamailio.

How do I fix CVE-2025-12206?

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

Is CVE-2025-12206 being exploited?

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

Sources

Also known as DEBIAN-CVE-2025-12206, GHSA-rj3x-qp7v-5vp5, UBUNTU-CVE-2025-12206.

Is CVE-2025-12206 in your software?

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

Check your SBOMs for free