{"id":"CVE-2026-57163","aliases":["CVE-2026-57163"],"related":[],"kind":"vulnerability","state":"published","title":"PJSIP: Stack overflow parsing a TLS peer certificate's SubjectAltName in GnuTLS backend","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"}],"published":"2026-09-04T17:11:40.013Z","modified":"2026-09-11T15:51:33.793Z","severity":{"scorer":"GitHub_M","scheme":"CVSS: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","score":8.8,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS: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","score":8.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","score":9.1,"rating":"CRITICAL"}],"cwes":["CWE-121"],"affected":[{"ranges":[{"version":"< c4a151af86fadd16d9480b2603eeb2abf4fb4f78","status":"affected"}],"vendor":"pjsip","product":"pjproject","source":"cvelist"},{"ranges":[{"status":"affected","lastAffected":"2.17"}],"vendor":"teluu","product":"pjsip","cpe":"cpe:2.3:a:teluu:pjsip:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/pjsip/pjproject/security/advisories/GHSA-jm2j-6rg6-qvwx","tags":["patch","vendor-advisory","x-refsource-confirm"],"sources":["cvelist","nvd"]},{"url":"https://github.com/pjsip/pjproject/commit/c4a151af86fadd16d9480b2603eeb2abf4fb4f78","tags":["patch","x-refsource-misc"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-09-04T17:25:40.460Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-57163","url":"https://www.cve.org/CVERecord?id=CVE-2026-57163","licence":"CVE Terms of Use","modified":"2026-09-04T17:25:49.678Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-57163","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-57163","licence":"Public domain","modified":"2026-09-11T15:51:33.793Z"}],"updatedAt":"2026-11-25T22:59:36.381Z","epss":{"score":0.00234,"percentile":0.15382,"date":"2026-12-01T12:00:22.000Z"}}