CVE-2026-57163
published high CVSS 4.0 · 8.8PJSIP: Stack overflow parsing a TLS peer certificate's SubjectAltName in GnuTLS backend
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| pjsip | — | pjproject< c4a151af86fadd16d9480b2603eeb2abf4fb4f78 | Affected | Not stated | GitHub_M |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.8 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- 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
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| pjsip | pjproject | < c4a151af86fadd16d9480b2603eeb2abf4fb4f78 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-121 CWE-121: Stack-based Buffer Overflow
References
2Provider assertions
2GitHub_M · cna
PJSIP: Stack overflow parsing a TLS peer certificate's SubjectAltName in GnuTLS backend
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 9a30056f20073ed15c3e7c8c22abe78eddf0d8d76c868b68d47beee3a062ef8d
- Ingested
- 23 Sep 2026, 09:21:43 UTC
- Source record
- Official CVE record