# CVE-2025-12205: Kamailio Configuration File cfg.lex sr_push_yy_state use after free

- Severity: Medium 4.8 (CVSS:4.0, scored by VulDB) `CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.23%, higher than 15% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-10-27T02:32:07.777Z
- Modified: 2026-10-19T13:10:00.110Z
- Weaknesses: CWE-119, CWE-416
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulDB

## 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.

(As written by CVE List.)

## Affected

- Kamailio: 5.5
- kamailio kamailio: 5.5.0

## Every score

- VulDB: CVSS:4.0 4.8 Medium `CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P`
- VulDB: CVSS:3.1 5.3 Medium `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`
- VulDB: CVSS:3.0 5.3 Medium `CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R`
- VulDB: CVSS:2.0 4.3 Medium `AV:L/AC:L/Au:S/C:P/I:P/A:P/E:POC/RL:ND/RC:UR`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://shimo.im/docs/ZzkLMVMLOzIRlpAQ/> (exploit, third-party-advisory)
- <https://vuldb.com/?id.329875> (technical-description, third-party-advisory, vdb-entry)
- <https://vuldb.com/?ctiid.329875> (permissions-required, signature, vdb-entry)
- <https://vuldb.com/?submit.673225> (third-party-advisory, vdb-entry)
- <https://www.openwall.com/lists/oss-security/2025/11/02/3> (related)
- <https://www.openwall.com/lists/oss-security/2025/10/27/8> (issue-tracking, mailing-list)
- <http://www.openwall.com/lists/oss-security/2025/10/27/12>
- <http://www.openwall.com/lists/oss-security/2025/10/27/8>

## Sources

- CVE List: [CVE-2025-12205](https://www.cve.org/CVERecord?id=CVE-2025-12205), CVE Terms of Use, modified 2026-02-24
- NVD: [CVE-2025-12205](https://nvd.nist.gov/vuln/detail/CVE-2025-12205), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2025-12205 · Whole record: https://cve.day/CVE-2025-12205.json · Rebuilt by cve.day 2026-11-25T22:59:06.839Z
