Bug 2528787 (CVE-2026-57163) - CVE-2026-57163 pjsip: stack overflow parsing a TLS peer certificate's SubjectAltName in GnuTLS backend
Summary: CVE-2026-57163 pjsip: stack overflow parsing a TLS peer certificate's Subject...
Keywords:
Status: NEW
Alias: CVE-2026-57163
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
urgent
urgent
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2531090 2531091 2531092 2531093
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-09-04 17:33 UTC by OSIDB Bzimport
Modified: 2026-09-09 17:40 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-09-04 17:33:40 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.