CVE-2025-12204
CVE-2025-12204 is a medium-severity vulnerability in Kamailio with a CVSS 3.x base score of 5.3. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-787.
Key facts
- Severity: Medium (CVSS 3.x base score 5.3)
- CVSS v2: 4.3
- CVSS v4: 1.9
- EPSS exploit prediction: 0% (20th percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2025-36064
- Weakness: CWE-787
- Affected product: Kamailio
- Published:
- Last modified:
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.
Frequently asked questions
- What is 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.
- How severe is CVE-2025-12204?
- CVE-2025-12204 has a CVSS 3.x base score of 5.3, rated medium severity. It is exploitable over local access with low attack complexity, requires low privileges and no user interaction. Impact on confidentiality is low, integrity low, and availability low.
- Is CVE-2025-12204 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (20th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2025-12204?
- CVE-2025-12204 affects Kamailio. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2025-12204?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- Does CVE-2025-12204 have an EU (EUVD) identifier?
- Yes. CVE-2025-12204 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2025-36064.
- When was CVE-2025-12204 published?
- CVE-2025-12204 was published on 2025-10-27 and last updated on 2026-06-17.
References
- https://shimo.im/docs/loqeMWMyZGtpEYqn/
- https://vuldb.com/?ctiid.329874
- https://vuldb.com/?id.329874
- https://vuldb.com/?submit.673224
- https://www.openwall.com/lists/oss-security/2025/11/02/3
- http://www.openwall.com/lists/oss-security/2025/10/27/12
- http://www.openwall.com/lists/oss-security/2025/10/28/1
- https://www.openwall.com/lists/oss-security/2025/10/27/8
Affected products (1)
- cpe:2.3:a:kamailio:kamailio:5.5.0:*:*:*:*:*:*:*
More vulnerabilities in Kamailio
- CVE-2020-27507 — Critical (CVSS 9.8): The Kamailio SIP before 5.5.0 server mishandles INVITE requests with duplicated fields and overlength tag, leading to a…
- CVE-2018-16657 — Critical (CVSS 9.8): In Kamailio before 5.0.7 and 5.1.x before 5.1.4, a crafted SIP message with an invalid Via header causes a segmentation…
- CVE-2018-14767 — Critical (CVSS 9.8): In Kamailio before 5.0.7 and 5.1.x before 5.1.4, a crafted SIP message with a double "To" header and an empty "To" tag…
- CVE-2018-8828 — Critical (CVSS 9.8): A Buffer Overflow issue was discovered in Kamailio before 4.4.7, 5.0.x before 5.0.6, and 5.1.x before 5.1.2. A…
- CVE-2013-7426 — Critical (CVSS 9.8): Insecure Temporary file vulnerability in /tmp/kamailio_fifo in kamailio 4.0.1.
- CVE-2016-2385 — Critical (CVSS 9.8): Heap-based buffer overflow in the encode_msg function in encode_msg.c in the SEAS module in Kamailio (formerly OpenSER…
Other CWE-787 (Out-of-bounds Write) vulnerabilities
- CVE-2026-42369 — Critical (CVSS 10.0): GV-VMS V20 is a Video Monitoring Software used to gather the feeds of many surveillance cameras and manage other…
- CVE-2026-4746 — Critical (CVSS 10.0): Out-of-bounds Write vulnerability in timeplus-io proton (base/poco/Foundation/src modules). This vulnerability is…
- CVE-2025-43300 — Critical (CVSS 10.0): An out-of-bounds write issue was addressed with improved bounds checking. This issue is fixed in iOS 15.8.5 and iPadOS…
- CVE-2025-24201 — Critical (CVSS 10.0): An out-of-bounds write issue was addressed with improved checks to prevent unauthorized actions. This issue is fixed in…
- CVE-2024-42479 — Critical (CVSS 10.0): llama.cpp provides LLM inference in C/C++. The unsafe `data` pointer member in the `rpc_tensor` structure can cause…
- CVE-2024-39791 — Critical (CVSS 10.0): Stack-based buffer overflow vulnerabilities affecting Vonets industrial wifi bridge relays and wifi bridge…