Use-after-free in Asterisk Open Source and Certified Asterisk - CVE-2026-57187

 

Use-after-free in Asterisk Open Source and Certified Asterisk - CVE-2026-57187

Published: June 26, 2026


Vulnerability identifier: #VU135555
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2026-57187
CWE-ID: CWE-416
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Digium (Linux Support Services)
Affected software:
Asterisk Open Source
Certified Asterisk

Detailed vulnerability description

The vulnerability allows a remote user to cause a denial of service.

The vulnerability exists due to use-after-free in PJSIP TCP/SDP handling when processing a SIP INVITE over a connection-oriented transport and the TCP connection closes during SDP processing. A remote user can send a specially crafted SIP INVITE and disconnect before Asterisk responds with the 200 OK to cause a denial of service.

The issue has only been reproduced when Address Sanitizer is enabled.


How to mitigate CVE-2026-57187

Install security update from vendor's website.

Sources