Vulnerability 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 Score
HIGH
Related Weaknesses (CWE)
References
- https://github.com/pjsip/pjproject/commit/43d3bd77bb6833eab4c493503b8d564a754ddf
- https://github.com/pjsip/pjproject/security/advisories/GHSA-382p-87mh-r3q8
FAQ
What is CVE-2026-84975?
CVE-2026-84975 is a vulnerability with a CVSS score of 7.4 (HIGH). 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 cop...
How severe is CVE-2026-84975?
CVE-2026-84975 has been rated HIGH with a CVSS base score of 7.4/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-84975?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.