Skip to content
OpenAdvisories
Medium · 5.3 CVE-2025-12205 EUVD-2025-36071GHSA-j768-6r6g-m9h3

Kamailio Configuration File cfg.lex sr_push_yy_state use after free

Published Oct 27, 2025 · Updated Feb 24, 2026 · 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 products

VendorProductAffectedFixed
— Kamailio 5.5 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 kamailio No fix yet —
Debian 13 kamailio No fix yet —
Debian 12 kamailio No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 kamailio No fix yet —
Ubuntu 26.04 LTS kamailio No fix yet —
Ubuntu 25.10 kamailio No fix yet —
Ubuntu 24.04 LTS kamailio No fix yet —
Ubuntu 22.04 LTS kamailio No fix yet —
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 20.04 LTS kamailio No fix yet —
Ubuntu Pro 18.04 LTS kamailio No fix yet —
Ubuntu Pro 16.04 LTS kamailio No fix yet —

References