Security Advisory

CVE-2026-84975: PJSIP TLS Hostname Verification Bypass via Embedded NUL (pending)

Last updated:
  • CVE-2026-84975

CVE-2026-84975 is a TLS server-identity verification bypass in PJSIP's OpenSSL and GnuTLS backends: a certificate whose SubjectAltName embeds a NUL byte followed by attacker-controlled bytes after the real hostname is wrongly accepted for that hostname, letting a man-in-the-middle with such a certificate impersonate a SIP/VoIP server and steal REGISTER credentials; NVD has not, as of 2026-11-07, published its own CVSS score.

Vulnerability summary

CVSS base score

N/A

No NVD score published as of

EPSS score (FIRST)

0.2%

Probability of exploitation in the wild in the next 30 days

CISA KEV catalog

No

Not listed

Published

Vulnerability ID: CVE-2026-84975 · Source: NVD

Affected components

ComponentCPEVersion range
PJSIP (pjproject)cpe:2.3:a:teluu:pjsip:*:*:*:*:*:*:*:*<=2.17 (OpenSSL and GnuTLS TLS backends only; the mbedTLS backend is not affected). No fixed release version is published as of this review — only a patch commit.

What does this mean for affected devices?

CVE-2026-84975 (CWE-295 improper certificate validation, CWE-297 improper validation of certificate with host mismatch) affects PJSIP (pjproject), the open-source multimedia/SIP communication library written in C that is embedded directly into VoIP desk phones, SIP-based IP PBX appliances, analog telephone adapters, and embedded softphone firmware across the industry. The GitHub Security Advisory states: "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" (pjsip/pjproject GitHub Security Advisory GHSA-382p-87mh-r3q8).

The practical device/firmware impact: any product that embeds pjproject's TLS/SIPS transport with server verification enabled and built against the OpenSSL or GnuTLS backend — a common configuration in commercial SIP desk phones, PBX appliances, and session border controllers that build on pjproject rather than writing their own SIP stack — can be made to trust a forged server certificate. An attacker who obtains such a certificate from a trusted issuer (exploiting the NUL-truncation quirk) and who can intercept the TLS connection can impersonate the real SIP registrar or proxy, complete a SIP session with the device, and capture the device's REGISTER credentials. NVD notes the mbedTLS backend is not affected because it preserves the explicit string length rather than relying on NUL-terminated string functions (NVD).

NVD tracks the CVE with status "Analyzed" as of 2026-10-20, but the only CVSS metric on record is a Secondary CVSS v3.1 score of 7.4 (high), vector CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N, submitted by the GitHub Security Advisories CNA ([email protected]) — not an NVD-published Primary score — so this page does not show a headline severity figure rather than presenting the GitHub-submitted score as NVD-confirmed (NVD).

The maintainers' patch commit removes the vulnerable length-recalculation pattern in both the OpenSSL and GnuTLS backends; no numbered pjproject release incorporating the fix is listed in the advisory as of this review (pjsip/pjproject commit 43d3bd7).

This CVE is not listed in the CISA Known Exploited Vulnerabilities catalog as of catalog version 2026.11.06 (released 2026-11-06), and FIRST scores the probability of exploitation at 0.00232 (14.120th percentile) as of 2026-11-06 (CISA KEV, FIRST EPSS).

NVD has not finished its own severity analysis. In the meantime, device makers and operators running PJSIP-based SIP/VoIP hardware with TLS server verification against the OpenSSL or GnuTLS backend should apply the maintainers' patch, or switch to the unaffected mbedTLS backend where feasible, and treat any SIP registration over TLS as potentially interceptable until patched.

How to fix this class of issueThis advisory's weakness class is Authentication bypass. Our practical guide covers how to detect, fix, verify and disclose it: How to fix authentication bypass in embedded firmware.

Evidence

  • PJSIP's OpenSSL and GnuTLS backends (pjlib/src/pj/ssl_sock_ossl.c, ssl_sock_gtls.c) truncate an embedded NUL byte when copying a certificate's DNS SubjectAltName, letting a crafted certificate be accepted for the hostname prefix before the NUL; the mbedTLS backend is unaffected. — pjsip/pjproject GitHub Security Advisory GHSA-382p-87mh-r3q8
  • Affects pjproject (PJSIP) <=2.17; CWE-295 and CWE-297 per the GitHub CNA's weakness classification. — NVD
  • NVD status is "Analyzed" with only a GitHub-CNA-submitted Secondary CVSS v3.1 7.4 (high) on record as of 2026-10-20; no NVD-published Primary score. — NVD
  • Not present in the CISA KEV catalog as of catalog version 2026.11.06 (released 2026-11-06). — CISA KEV
  • EPSS score is 0.00232 (14.120th percentile) as of 2026-11-06. — FIRST EPSS

Related advisories

Sources

  1. NVD
  2. pjsip/pjproject GitHub Security Advisory GHSA-382p-87mh-r3q8
  3. pjsip/pjproject patch commit
  4. CISA KEV
  5. FIRST EPSS

Frequently asked questions

What is CVE-2026-84975?

CVE-2026-84975 is a TLS server-identity verification bypass in PJSIP's OpenSSL and GnuTLS backends: a certificate whose SubjectAltName embeds a NUL byte followed by attacker-controlled bytes after the real hostname is wrongly accepted for that hostname, letting a man-in-the-middle with such a certificate impersonate a SIP/VoIP server and steal REGISTER credentials; NVD has not, as of 2026-11-07, published its own CVSS score.

How severe is CVE-2026-84975?

CVE-2026-84975 has no NVD CVSS score published as of 2026-11-10, so this page gives it no severity rating rather than assuming low or high risk.

Is CVE-2026-84975 being actively exploited?

CVE-2026-84975 is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. FIRST's EPSS model puts its probability of exploitation at 0.23%.

What is affected by CVE-2026-84975?

CVE-2026-84975 affects PJSIP (pjproject).

Where does this CVE-2026-84975 information come from?

This advisory is based on NVD, pjsip/pjproject GitHub Security Advisory GHSA-382p-87mh-r3q8, pjsip/pjproject patch commit, CISA KEV, and FIRST EPSS, cited in full in the Sources section above.