CVE-2025-12204 Details
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.
A heap-based buffer overflow vulnerability has been identified in Kamailio SIP Server version 5.5. The issue arises in the Configuration File Handler, specifically within the 'rve_destroy' function of 'src/core/rvalue.c'. This vulnerability is triggered during the parsing and cleanup of module function parameters, where malformed or specially crafted configuration can lead to inconsistent 'rval_expr' structures. The 'rve_destroy' function then reads past the allocated memory, causing a heap-buffer-overflow. This vulnerability requires local access to exploit and has been publicly disclosed, with an available exploit.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Oct 27, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://www.openwall.com/lists/oss-security/2025/10/27/8 | CVE | Issue TrackingMailing List |
| http://www.openwall.com/lists/oss-security/2025/10/27/12 | CVE | |
| http://www.openwall.com/lists/oss-security/2025/10/28/1 | CVE | |
| https://shimo.im/docs/loqeMWMyZGtpEYqn/ | [email protected] | ExploitThird Party Advisory |
| https://vuldb.com/?ctiid.329874 | [email protected] | Permissions RequiredVDB Entry |
| https://vuldb.com/?id.329874 | [email protected] | Third Party AdvisoryVDB Entry |
| https://vuldb.com/?submit.673224 | [email protected] | Third Party AdvisoryVDB Entry |
| https://www.openwall.com/lists/oss-security/2025/11/02/3 | [email protected] |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-787 | Out-of-bounds Write | [email protected] |
| CWE-119 | Improper Restriction of Operations within the Bounds of a Memory Buffer | [email protected] |
| CWE-122 | Heap-based Buffer Overflow | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| kamailio kamailio | 5.5.0 |
CPE
Remediation
| |
Change History
9 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 19, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Apr 29, 2026 | Data Remediation | [email protected] |
| Nov 4, 2025 | CVE Modified | CVE |
| Nov 3, 2025 | CVE Modified | [email protected] |
| Oct 28, 2025 | Initial Analysis | [email protected] |
| Oct 28, 2025 | CVE Modified | CVE |
| Oct 27, 2025 | New CVE Received | [email protected] |