Vulnerability · Published Oct 27, 2025 · Assigned by VulDB
CVE-2025-12204Kamailio Configuration File rvalue.c rve_destroy heap-based overflow
Medium 5.3
In plain English
A medium-severity heap buffer overflow in Kamailio. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 22% of all known vulnerabilities).
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | kamailio | no fix listed | DEBIAN-CVE-2025-12204 |
| Debian:13 | kamailio | no fix listed | DEBIAN-CVE-2025-12204 |
| Debian:14 | kamailio | no fix listed | DEBIAN-CVE-2025-12204 |
| Ubuntu:22.04:LTS | kamailio | no fix listed | UBUNTU-CVE-2025-12204 |
| Ubuntu:24.04:LTS | kamailio | no fix listed | UBUNTU-CVE-2025-12204 |
| Ubuntu:25.10 | kamailio | no fix listed | UBUNTU-CVE-2025-12204 |
| Ubuntu:26.04:LTS | kamailio | no fix listed | UBUNTU-CVE-2025-12204 |
| Ubuntu:26.10 | kamailio | no fix listed | UBUNTU-CVE-2025-12204 |
Affected products (as reported)
Weakness: CWE-122, CWE-119 · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R
References
- VDB-329874 | Kamailio Configuration File rvalue.c rve_destroy heap-based overflow vdb-entry, technical-description
- VDB-329874 | CTI Indicators (IOB, IOC, IOA) signature, permissions-required
- Submit #673224 | Kamailio Project Kamailio SIP Server 5.5 Heap-based Buffer Overflow third-party-advisory
- https://shimo.im/docs/loqeMWMyZGtpEYqn/ exploit
- https://www.openwall.com/lists/oss-security/2025/11/02/3 related
- https://www.openwall.com/lists/oss-security/2025/10/27/8
- http://www.openwall.com/lists/oss-security/2025/10/27/12
- http://www.openwall.com/lists/oss-security/2025/10/28/1