{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-12205 exists.","fix":"No fix has been published for CVE-2025-12205 yet. Limit exposure of the affected software until one is available.","what":"CVE-2025-12205 is a medium-severity use after free vulnerability in Kamailio, published on 27 Oct 2025. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-12205 and fix it if it is affected.\n\nWhat it is: CVE-2025-12205 is a medium-severity use after free vulnerability in Kamailio, published on 27 Oct 2025. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-12205 exists.\n\nAffected product: Kamailio. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2025-12205/ (Markdown: https://insights.sbomify.com/CVE-2025-12205/index.md)","id":"CVE-2025-12205","markdown":"https://insights.sbomify.com/CVE-2025-12205/index.md","name":"CVE-2025-12205","record":{"aliases":["DEBIAN-CVE-2025-12205","GHSA-j768-6r6g-m9h3","UBUNTU-CVE-2025-12205"],"analysis":{"component_type":"server_software","fix_type":"no_fix_stated","impacts":["code_execution","denial_of_service"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"SIP server software","requires_auth":"low_privilege","summary":"A local attacker with config file access can trigger a use-after-free in Kamailio, potentially causing crashes or code execution.","user_interaction":"not_required","vuln_class":"use_after_free"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"VulDB","cpe":[{"product":"kamailio","vendor":"kamailio"}],"cvss":{"score":4.8,"severity":"medium","source":"cna","vector":"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","version":"4.0"},"cwes":[{"id":"CWE-416","name":"Use After Free"},{"id":"CWE-119","name":"Improper Restriction of Operations within the Bounds of a Memory Buffer"}],"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.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":false,"headline":"Kamailio Configuration File cfg.lex sr_push_yy_state use after free","id":"CVE-2025-12205","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"use_after_free","year":"2025"},"n_packages":0,"n_references":5,"next":{"headline":"Kamailio rvalue.c rve_is_constant null pointer dereference","id":"CVE-2025-12206"},"packages":[],"prev":{"headline":"Kamailio Configuration File rvalue.c rve_destroy heap-based overflow","id":"CVE-2025-12204"},"products":["Kamailio"],"published":"2025-10-27","related":[{"cvss_score":9.8,"headline":"Memory corruption in n/a","id":"CVE-2020-27507","kev_date_added":null,"published":"2023-03-15"},{"cvss_score":9.8,"headline":"File upload in n/a","id":"CVE-2013-7426","kev_date_added":null,"published":"2017-08-29"},{"cvss_score":7.8,"headline":"Path traversal in n/a","id":"CVE-2015-1590","kev_date_added":null,"published":"2017-09-07"},{"cvss_score":7.8,"headline":"Privilege escalation in n/a","id":"CVE-2015-1591","kev_date_added":null,"published":"2017-06-27"},{"cvss_score":7.5,"headline":"Denial of service in n/a","id":"CVE-2026-52022","kev_date_added":null,"published":"2026-09-01"},{"cvss_score":7.5,"headline":"Denial of service in n/a","id":"CVE-2026-52023","kev_date_added":null,"published":"2026-09-01"},{"cvss_score":7.5,"headline":"Kamailio Core: TCP Data Processing Vulnerability","id":"CVE-2026-39863","kev_date_added":null,"published":"2026-04-08"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-02-24","vendors":["n/a"]},"summary":"A local attacker with config file access can trigger a use-after-free in Kamailio, potentially causing crashes or code execution.","url":"https://insights.sbomify.com/CVE-2025-12205/"}