High severity · published Sep 18, 2026
CVE-2026-84975
PJSIP: TLS server identity (hostname) verification bypass via embedded NUL in certificate SubjectAltName (OpenSSL and GnuTLS backends)
7.4
CVSS
0.2%
EPSS
No
On KEV
Description
PJSIP is a free and open source multimedia communication library written in C. In 2.17 and earlier, the OpenSSL and GnuTLS backends in pjlib/src/pj/ssl_sock_ossl.c and pjlib/src/pj/ssl_sock_gtls.c copy DNS SubjectAltName values with string functions that recalculate their length and truncate an embedded NUL byte. With server verification enabled through --tls-verify-server for the PJSIP TLS/SIPS transport, a certificate containing a DNS SubjectAltName formed from the target hostname prefix followed by an embedded NUL and an attacker-controlled suffix can therefore be accepted for the prefix hostname. An attacker who possesses such a certificate from a trusted issuer and can intercept the connection can impersonate the target server, complete the SIP session, and receive REGISTER credentials. The mbedTLS backend is not affected because it preserves the explicit string length. No fixed version is available as of this review.
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
Attack vector
Network
Complexity
High
Privileges
None
User interaction
None
Confidentiality
High
Integrity
High
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.2% · higher than 14% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
PJ
pjproject · pjsip
<= 2.17 · source: vendor
PJ
Pjsip · Teluu
through 2.17 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-84975
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-84975
Patch
https://github.com/pjsip/pjproject/commit/43d3bd77bb6833eab4c493503b8d564a754ddfdd
Vendor Advisory
https://github.com/pjsip/pjproject/security/advisories/GHSA-382p-87mh-r3q8
More from pjproject
9.8
CVE-2026-40892
PJSIP: Stack buffer overflow in pjsip_auth_create_digest2()
9.8
CVE-2026-32945
PJSIP is vulnerable to Heap-based Buffer Overflow through DNS parser
9.8
CVE-2026-25994
PJSIP has a heap buffer overflow in ICE with long username
9.8
CVE-2022-39244
Buffer overflow in pjlib scanner and pjmedia
9.1
CVE-2026-57163
PJSIP: Stack overflow parsing a TLS peer certificate's SubjectAltName in GnuTLS backend
