Buffer overflow in Kamailio
CVE-2025-12204
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.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.3 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L.
EPSS exploit prediction
EPSS 0.003, 22.6th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Kamailio — versions 5.5.0
- Kamailio — versions 5.5
Weakness classification (CWE)
References
- VDB-329874 | Kamailio Configuration File rvalue.c rve_destroy heap-based overflow (technical-description, Third Party Advisory, VDB Entry, vdb-entry)
- VDB-329874 | CTI Indicators (IOB, IOC, IOA) (signature, Permissions Required, permissions-required, VDB Entry)
- Submit #673224 | Kamailio Project Kamailio SIP Server 5.5 Heap-based Buffer Overflow (Third Party Advisory, VDB Entry, third-party-advisory)
- shimo.im/docs/loqeMWMyZGtpEYqn/ (Exploit, Third Party Advisory, exploit)
- www.openwall.com/lists/oss-security/2025/11/02/3 (related)
- www.openwall.com/lists/oss-security/2025/10/27/12
- www.openwall.com/lists/oss-security/2025/10/28/1
- www.openwall.com/lists/oss-security/2025/10/27/8 (Issue Tracking, Mailing List)