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

Published Oct 27, 2025
·
Updated

A vulnerability was detected in Kamailio 5.5. The affected element is the function srpushyystate 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 Software

2 affected components
kamailio Kamailio
kamailio Kamailio=5.5.0

Event History

Oct 27, 2025
CVE Published
via MITRE·02:32 AM
Data Sourced
via MITRE·02:32 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·03:15 AM
DescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-12205?

CVE-2025-12205 is classified as a high severity vulnerability due to the potential for local exploitation through use after free conditions.

2

How do I fix CVE-2025-12205?

To fix CVE-2025-12205, you should update Kamailio to the latest version where the vulnerability has been patched.

3

What component is affected by CVE-2025-12205?

CVE-2025-12205 affects the Configuration File Handler component in Kamailio's source code.

4

Can CVE-2025-12205 be exploited remotely?

No, CVE-2025-12205 requires local access to exploit the vulnerability.

5

What is the nature of the vulnerability in CVE-2025-12205?

CVE-2025-12205 involves a use after free vulnerability that can lead to arbitrary code execution.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203