Use-after-free in pjsip - #VU155806
Published: October 15, 2026
Vulnerability details
The vulnerability allows a remote attacker to cause a denial of service.
The vulnerability exists due to use-after-free in dataconn_on_data_read() in pjnath/src/pjnath/turn_sock.c when processing received data on a TURN TCP data connection. A remote attacker can trigger a ConnectionBind error response through a controlled TURN server or an on-path position on the data connection to cause a denial of service.
Only applications using TURN TCP allocations with TCP peer connections under RFC 6062, with peer_conn_type set to PJ_TURN_TP_TCP, are affected. PJSUA/PJSUA2 do not enable this functionality, and allocations with UDP peer connections are not affected.