Stack-based buffer overflow in pjsip - CVE-2026-57163
Published: August 3, 2026
Vulnerability details
The vulnerability allows a remote attacker to execute arbitrary code or cause a denial of service.
The vulnerability exists due to stack-based buffer overflow in tls_cert_get_info() in ssl_sock_gtls.c when parsing the Subject Alternative Name extension of a peer certificate during the TLS handshake. A remote attacker can present a crafted certificate to execute arbitrary code or cause a denial of service.
Only builds using the GnuTLS backend are vulnerable, and the issue can be triggered before any SIP-level authentication.