CVE-2025-12205
JSON

4.8medium

Kamailio Configuration File cfg.lex sr_push_yy_state use after free

Severity
4.8medium CVSS:4.0 by VulDB
Exploit likelihood
0.23% (higher than 15% of CVEs; EPSS, by FIRST)
Published
Last changed
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.

Affected

Product or packageVersionsReported by
Kamailio5.5CVE List
kamailio kamailio5.5.0NVD

All scores

VulDB4.8medium CVSS:4.0CVSS: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
VulDB5.3medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R
VulDB5.3medium CVSS:3.0CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R
VulDB4.3medium CVSS:2.0AV:L/AC:L/Au:S/C:P/I:P/A:P/E:POC/RL:ND/RC:UR
NVD7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-119CWE-416

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

Una vulnerabilidad fue detectada en Kamailio 5.5. El elemento afectado es la función sr_push_yy_state del archivo src/core/cfg.lex del componente Gestor de Archivos de Configuración. La manipulación resulta en uso después de liberar. El ataque debe ser iniciado desde una posición local. El exploit es ahora público y puede ser usado. La existencia real de esta vulnerabilidad todavía se duda en este momento. Este ataque requiere manipular archivos de configuración, lo cual podría no ser un escenario realista en muchos casos. El proveedor fue contactado tempranamente sobre esta divulgación pero no respondió de ninguna manera.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-12205 changed 2026-02-24CVE Terms of Use
NVDCVE-2025-12205 changed 2026-10-19Public domain