CVE-2025-12205
CVE-2025-12205 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-416.
Key facts
- Severity: Medium (CVSS 3.x base score 5.3)
- CVSS v2: 4.3
- CVSS v4: 1.9
- EPSS exploit prediction: 0% (11th percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2025-36071
- Weakness: CWE-416
- Affected product: Kamailio
- Published:
- Last modified:
Description
A vulnerability was detected in Kamailio 5.5. The affected element is the function sr_push_yy_state of the file src/core/cfg.lex of the component Configuration File Handler. The manipulation results in use after free. The attack must be initiated from a local position. The exploit is now public and may be used. The real existence of this vulnerability is still doubted at the moment. 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-12205?
- A vulnerability was detected in Kamailio 5.5. The affected element is the function sr_push_yy_state of the file src/core/cfg.lex of the component Configuration File Handler. The manipulation results in use after free. The attack must be initiated from a local position. The exploit is now public and may be used. The real existence of this vulnerability is still doubted at the moment. 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-12205?
- CVE-2025-12205 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-12205 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (11th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2025-12205?
- CVE-2025-12205 affects Kamailio. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2025-12205?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- Does CVE-2025-12205 have an EU (EUVD) identifier?
- Yes. CVE-2025-12205 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2025-36071.
- When was CVE-2025-12205 published?
- CVE-2025-12205 was published on 2025-10-27 and last updated on 2026-06-17.
References
- https://shimo.im/docs/ZzkLMVMLOzIRlpAQ/
- https://vuldb.com/?ctiid.329875
- https://vuldb.com/?id.329875
- https://vuldb.com/?submit.673225
- 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/27/8
- 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-416 (Use After Free) vulnerabilities
- CVE-2026-13782 — Critical (CVSS 10.0): Use after free in Browser in Google Chrome prior to 150.0.7871.47 allowed a remote attacker who had compromised the…
- CVE-2026-4725 — Critical (CVSS 10.0): Sandbox escape due to use-after-free in the Graphics: Canvas2D component. This vulnerability was fixed in Firefox 149…
- CVE-2026-4688 — Critical (CVSS 10.0): Sandbox escape due to use-after-free in the Disability Access APIs component. This vulnerability was fixed in Firefox…
- CVE-2025-24085 — Critical (CVSS 10.0): A use after free issue was addressed with improved memory management. This issue is fixed in iOS 18.3 and iPadOS 18.3,…
- CVE-2024-43102 — Critical (CVSS 10.0): Concurrent removals of certain anonymous shared memory mappings by using the UMTX_SHM_DESTROY sub-request of…
- CVE-2021-32495 — Critical (CVSS 10.0): Radare2 has a use-after-free vulnerability in pyc parser's get_none_object function. Attacker can read freed memory…