{"id":"CVE-2026-57163","published":"2026-09-04T17:11:40Z","modified":"2026-09-04T17:25:49Z","title":"PJSIP: Stack overflow parsing a TLS peer certificate's SubjectAltName in GnuTLS backend","vendor":"pjsip","product":"pjproject","tier":"tail","description":{"text":"PJSIP is a free and open source multimedia communication library written in C. Prior to commit c4a151a, a stack buffer overflow exists in the GnuTLS TLS backend when parsing the Subject Alternative Name extension of a peer certificate (tls_cert_get_info() in ssl_sock_gtls.c). Only GnuTLS builds are affected (--with-gnutls); OpenSSL and Apple SecureTransport/Network.framework builds are not affected. While extracting certificate information after a TLS handshake, an incorrect buffer-size value can cause an oversized SubjectAltName entry to be written past the end of a fixed-size stack buffer. A network-positioned attacker presenting a crafted certificate — a malicious server to a connecting client, or a malicious client to a server that requests certificates — can trigger this during the TLS handshake, before any SIP-level authentication. Impact may range from unexpected application termination to control flow hijack/memory corruption. This issue has been patched via commit c4a151a.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.8,"severity":"HIGH","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00402,"percentile":0.25973,"provenance":"source"},"cwes":[{"id":"CWE-121","name":"Stack-based Buffer Overflow"}],"references":[{"url":"https://github.com/pjsip/pjproject/security/advisories/GHSA-jm2j-6rg6-qvwx","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/pjsip/pjproject/commit/c4a151af86fadd16d9480b2603eeb2abf4fb4f78","tags":["x_refsource_MISC"]}],"priority":{"score":11.4,"factors":[{"name":"EPSS percentile","points":5.19},{"name":"CVSS severity","points":6.16}]},"vendorSlug":"pjsip","affectedVersions":[{"vendor":"pjsip","product":"pjproject","versions":["< c4a151af86fadd16d9480b2603eeb2abf4fb4f78"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-09-04T17:25:40.460080Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-71657","exploited":false,"provenance":"source"}}