Stack-based buffer overflow in pjsip - CVE-2026-57162
Published: August 3, 2026
Vulnerability details
The vulnerability allows a remote attacker to execute arbitrary code.
The vulnerability exists due to stack-based buffer overflow in sdes_encode_sdp() in transport_srtp_sdes.c when processing a=crypto attributes during SDP offer/answer. A remote attacker can send a specially crafted SIP INVITE with excessive a=crypto attributes to execute arbitrary code.
Only applications with SRTP enabled using SDES keying are vulnerable, and the issue is reachable before application-level authentication during media negotiation.