Vulnerability · Published Oct 27, 2025 · Assigned by VulDB

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

Medium 5.3

In plain English

A medium-severity use-after-free in Kamailio. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 14% of all known vulnerabilities).

Severity (CVSS 3.1)5.3Medium
Exploit odds (30 days)0.2%top 86.4% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

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

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12kamailiono fix listedDEBIAN-CVE-2025-12205
Debian:13kamailiono fix listedDEBIAN-CVE-2025-12205
Debian:14kamailiono fix listedDEBIAN-CVE-2025-12205
Ubuntu:22.04:LTSkamailiono fix listedUBUNTU-CVE-2025-12205
Ubuntu:24.04:LTSkamailiono fix listedUBUNTU-CVE-2025-12205
Ubuntu:25.10kamailiono fix listedUBUNTU-CVE-2025-12205
Ubuntu:26.04:LTSkamailiono fix listedUBUNTU-CVE-2025-12205
Ubuntu:26.10kamailiono fix listedUBUNTU-CVE-2025-12205

Affected products (as reported)

VendorProductVersions
n/a Kamailio 5.5

Weakness: CWE-416, CWE-119 · Vector: 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

References