CVE-2025-12204: Kamailio · Heap-based Buffer Overflow
Affects KamailioSource CVE Database V5
Not known to be exploited · CVSS 4.8 Medium.
Data as of 26 Oct 2026, 07:57 UTC
- EPSS
- 0.2% chance of exploitation in 30 days – higher than 22% 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:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:PExploitation evidence
Disclosed: evidence found.
CVE published 27 Oct 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by 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
| Product | Affected | Fixed in |
|---|---|---|
| Kamailio | Affected
| Fixed in– |
AI-suggested
To mitigate this vulnerability, organizations should enforce strict local access controls and limit permissions on Kamailio configuration files to trusted administrators only. Employing file integrity monitoring can detect unauthorized changes to configuration files. Segregate Kamailio servers from untrusted users and networks to reduce the likelihood of local exploitation. Regularly audit user accounts and privileges to prevent unauthorized local access. Implement runtime protections such as heap memory protection mechanisms (e.g., ASLR, DEP) to reduce exploitation success. Monitor system logs for unusual crashes or behavior indicative of exploitation attempts. Engage with the Kamailio community or security researchers for updates or unofficial patches. Finally, prepare incident response plans specific to telephony infrastructure compromise scenarios.
Description
A security vulnerability has been detected in Kamailio 5.5. Impacted is the function rve_destroy of the file src/core/rvalue.c of the component Configuration File Handler. The manipulation leads to heap-based buffer overflow. The attack must be carried out locally. The exploit has been disclosed publicly and may be used. There is ongoing doubt regarding the real existence of this vulnerability. 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
- vuldb.com (opens in a new tab)
- vuldb.com (opens in a new tab)
- vuldb.com (opens in a new tab)
- shimo.im/docs/loqeMWMyZGtpEYqn/ (opens in a new tab)
- openwall.com/lists/oss-security/2025/11/02/3 (opens in a new tab)
- openwall.com/lists/oss-security/2025/10/27/8 (opens in a new tab)
- openwall.com/lists/oss-security/2025/10/27/12 (opens in a new tab)
- openwall.com/lists/oss-security/2025/10/28/1 (opens in a new tab)