Kamailio 5.5 Configuration File src/core/cfg.lex sr_push_yy_state use after free ⚔ [Disputed]

Summaryinfo

A vulnerability was found in Kamailio 5.5. It has been rated as problematic. The impacted element is the function sr_push_yy_state of the file src/core/cfg.lex of the component Configuration File Handler. This manipulation causes use after free. This vulnerability is registered as CVE-2025-12205. The attack needs to be launched locally. Furthermore, an exploit is available. It is still unclear if this vulnerability genuinely exists. 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.

Detailsinfo

A vulnerability was found in Kamailio 5.5. It has been declared as problematic. Affected by this vulnerability is the function sr_push_yy_state of the file src/core/cfg.lex of the component Configuration File Handler. The manipulation with an unknown input leads to a use after free vulnerability. The CWE definition for the vulnerability is CWE-416. Referencing memory after it has been freed can cause a program to crash, use unexpected values, or execute code. As an impact it is known to affect confidentiality, integrity, and availability.

It is possible to read the advisory at shimo.im. This vulnerability is known as CVE-2025-12205. The exploitation appears to be easy. Attacking locally is a requirement. Technical details and also a public exploit are known.

It is possible to download the exploit at shimo.im. It is declared as proof-of-concept. The real existence of this vulnerability is still doubted at the moment. The vendor was contacted early about this disclosure but did not respond in any way. This attack requires manipulating config files which might not be a realistic scenario in many cases. The vulnerability scanner Nessus provides a plugin with the ID 271819 (Linux Distros Unpatched Vulnerability : CVE-2025-12205), which helps to determine the existence of the flaw in a target environment.

There is no information about possible countermeasures known. It may be suggested to replace the affected object with an alternative product.

The vulnerability is also documented in the databases at Tenable (271819) and EUVD (EUVD-2025-36071). Additional details are provided at openwall.com. Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.

Productinfo

Name

Version

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔒
VulDB Reliability: 🔍

CNA CVSS-B Score: 🔒
CNA CVSS-BT Score: 🔒
CNA Vector: 🔒

CVSSv3info

VulDB Meta Base Score: 6.1
VulDB Meta Temp Score: 6.0

VulDB Base Score: 5.3
VulDB Temp Score: 4.8
VulDB Vector: 🔒
VulDB Reliability: 🔍

NVD Base Score: 7.8
NVD Vector: 🔒

CNA Base Score: 5.3
CNA Vector: 🔒

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍

Exploitinginfo

Class: Use after free
CWE: CWE-416 / CWE-119
CAPEC: 🔒
ATT&CK: 🔒

Physical: Partially
Local: Yes
Remote: No

Availability: 🔒
Access: Public
Status: Proof-of-Concept
Download: 🔒

EPSS Score: 🔒
EPSS Percentile: 🔒

Price Prediction: 🔍
Current Price Estimation: 🔒

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 271819
Nessus Name: Linux Distros Unpatched Vulnerability : CVE-2025-12205

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: no mitigation known
Status: 🔍

0-Day Time: 🔒

Timelineinfo

10/25/2025 Advisory disclosed
10/25/2025 +0 days VulDB entry created
11/04/2025 +9 days VulDB entry last update

Sourcesinfo

Advisory: shimo.im
Status: Not defined
Disputed: 🔍

CVE: CVE-2025-12205 (🔒)
GCVE (CVE): GCVE-0-2025-12205
GCVE (VulDB): GCVE-100-329875
EUVD: 🔒
scip Labs: https://www.scip.ch/en/?labs.20161013
Misc.: 🔒

Entryinfo

Created: 10/25/2025 01:57 PM
Updated: 11/04/2025 12:05 AM
Changes: 10/25/2025 01:57 PM (56), 10/27/2025 04:57 AM (30), 10/27/2025 05:50 AM (1), 10/29/2025 04:00 AM (11), 11/01/2025 07:41 PM (2), 11/04/2025 12:05 AM (4)
Complete: 🔍
Submitter: zh_vul
Cache ID: 244::40

Submitinfo

Accepted

  • Submit #673225: Kamailio Project Kamailio SIP Server 5.5 Use After Free (by zh_vul)

Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Want to stay up to date on a daily basis?

Enable the mail alert feature now!