Use-after-free in pjsip - #VU155836
Published: October 15, 2026
Vulnerability details
The vulnerability allows a remote attacker to disclose application memory or cause a denial of service.
The vulnerability exists due to use-after-free in the PJSUA2 callbacks in endpoint.cpp when returning application-supplied values to PJSUA-LIB. A remote attacker can send an INVITE with a Replaces header, a REFER, or a SUBSCRIBE to disclose application memory or cause a denial of service.
Exploitation requires an application that customizes the affected callback values, such as response reasons, response headers and bodies, or SRTP crypto keys, or sets a custom Call-ID in a call setting. Applications using the PJSUA-LIB C API directly are not affected.