Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconPosition on network path
-
DeliveryIntercept SIP TLS handshake
-
ExploitPresent invalid certificate
-
InstallBypass GnuTLS verification
-
C2Establish MitM session
-
ExecuteIntercept SIP credentials
-
ImpactRedirect or manipulate calls
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V12 - Secure Communication Certificate validation
|
| Exploitation Conditions | Exploitation requires the target PJSIP deployment to be compiled with GnuTLS TLS backend rather than OpenSSL - this is a specific build-time configuration that is not universally default across platforms (many distributions and integrations default to OpenSSL). The attacker must be positioned on the network path between client and server to intercept TLS handshakes (CVSS AT:P - attacker position prerequisite), requiring either proximity to victim networks, compromise of intermediate routing infrastructure, or DNS/BGP manipulation capabilities. The vulnerability is exploitable against default configurations of GnuTLS-enabled PJSIP 2.x versions prior to 2.17 without requiring authentication, user interaction, or non-standard features to be enabled. Limiting factors that reduce real-world exploitability: many production deployments use OpenSSL builds; network position requirement prevents pure remote exploitation; organizations with certificate pinning or out-of-band certificate verification at application layer have defense-in-depth protection; PJSIP instances behind TLS-terminating load balancers or SBCs may inherit proper certificate validation from the proxy layer. |
| Impact | Real-world risk is HIGH for production SIP/VoIP deployments using PJSIP with GnuTLS builds. The CVSS 4.0 score of 8.2 reflects severe integrity impact (VI:H) with network attack vector, low complexity, and no privileges required, making this exploitable by any network-positioned attacker. However, several factors modulate practical risk: (1) Exploitation requires the specific GnuTLS backend - OpenSSL builds are unaffected, limiting exposure to environments that explicitly chose or defaulted to GnuTLS. (2) The attack requires network position to intercept TLS handshakes (AT:P - attacker position prerequisite), not just remote access, so internet-facing services behind proper network segmentation have reduced exposure. (3) No CISA KEV listing and low public attention suggest this is not yet widely exploited, likely because attackers targeting VoIP infrastructure may prefer RCE vulnerabilities over MitM opportunities. (4) The patch is straightforward and available with clear commit history, enabling rapid remediation. Priority should be CRITICAL for internet-facing SIP trunking servers, PBX systems, and softphone applications built with GnuTLS-enabled PJSIP, particularly in financial services, healthcare, and government sectors where SIP traffic carries sensitive communications. Lower priority for internal-only deployments with strong network segmentation, though upgrade is still recommended given the ease of remediation. |
| Exploit ScenarioDerived | An attacker positioned on the network path between a PJSIP client and server (e.g., on a compromised ISP router, public Wi-Fi, or through BGP hijacking) intercepts the initial TLS handshake for a SIP connection. The attacker presents a self-signed or expired certificate instead of the legitimate server's certificate. Despite the PJSIP application having explicitly set verify_server=PJ_TRUE expecting certificate validation, the GnuTLS backend accepts the invalid certificate and completes the handshake. The attacker now has a man-in-the-middle position on the SIP signaling channel, allowing them to intercept SIP REGISTER credentials, redirect calls to attacker-controlled media servers, modify SDP session descriptions to downgrade encryption, or inject fraudulent INVITE messages to initiate unauthorized calls. Publicly available exploit code exists demonstrating the certificate bypass logic, though weaponized tooling targeting production SIP infrastructure has not been observed. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – May 07, 2026
Certificate validation bypass in PJSIP versions before 2.17 allows remote attackers to perform man-in-the-middle attacks against TLS connections when built with GnuTLS. Despite applications explicitly enabling certificate verification through verify_server or verify_client flags, the SIP TLS transport accepts connections with invalid or untrusted certificates, exposing SIP signaling to interception and manipulation. Vendor-released patch available in version 2.17 with GitHub commit ef684252. No public exploit identified at time of analysis, though the vulnerability is straightforward to exploit given the network attack vector and low complexity (CVSS:4.0 AV:N/AC:L/PR:N).
RemediationAI
Upgrade PJSIP pjproject to version 2.17 or later, available at https://github.com/pjsip/pjproject/releases/tag/2.17, which includes commit ef684252bb62b0716675b6e99ad7fe4c90e28920 that restructures the GnuTLS certificate verification callback to correctly enforce verify_peer flags. For applications unable to upgrade immediately, switch to OpenSSL TLS backend by recompiling PJSIP with OpenSSL instead of GnuTLS (configure with --disable-libgnutls --enable-libssl), though this requires build environment changes and testing for compatibility. As a temporary workaround, implement application-layer certificate pinning or manual certificate validation by inspecting the peer certificate chain after connection establishment, though this adds complexity and may not prevent all attack scenarios since the TLS handshake still completes with invalid certificates. Network-level compensating controls include restricting SIP TLS endpoints to known trusted IP ranges via firewall rules and deploying TLS-terminating reverse proxies with proper certificate validation in front of vulnerable PJSIP services, though this introduces additional infrastructure and may break direct peer-to-peer SIP features. No workaround fully mitigates risk - upgrade to 2.17 is the recommended remediation path.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
PJSIP (pjproject) is a widely-used open-source SIP/VoIP stack written in C, commonly integrated into telephony applications, VoIP servers, and unified communications platforms. The vulnerability exists in the GnuTLS-specific TLS implementation (pjlib/src/pj/ssl_sock_gtls.c) where the tls_cert_verify_cb callback function fails to enforce certificate verification policy correctly. The root cause (CWE-295: Improper Certificate Validation) stems from conditional logic that allows TLS handshakes to complete successfully even when certificate chain-trust validation fails and the application has set verify_peer flags. The GnuTLS backend incorrectly returns success from the verification callback rather than GNUTLS_E_CERTIFICATE_ERROR when invalid certificates are presented. This affects the sip_transport_tls component which relies on the lower SSL socket layer to enforce certificate policies. The patch restructures the callback to always populate the verification status and only abort handshakes when verify_peer is set at the SSL-socket level, allowing upper-layer SIP transport code to inspect and enforce its own certificate policies correctly.
Know when Pjsip gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
Primary rating from Vendor (GitHub_M) · only source for this CVE.
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
4DescriptionCVE.org
PJSIP is a free and open source multimedia communication library written in C. Prior to version 2.17, on GnuTLS builds, the SIP TLS transport (sip_transport_tls) can accept connections with invalid or untrusted certificates even when the application explicitly enables certificate verification via verify_server = PJ_TRUE or verify_client = PJ_TRUE. This issue has been patched in version 2.17.
Executive ViewAI
PJSIP versions before 2.17 contain a certificate validation bypass in TLS connections when using GnuTLS, allowing remote attackers to intercept and manipulate SIP signaling through man-in-the-middle attacks regardless of application-level certificate verification settings. Organizations deploying PJSIP for VoIP, unified communications, or real-time communications are at immediate risk of call interception and session hijacking. This vulnerability bypasses intended security controls and exposes sensitive voice and messaging traffic.
Pending patch deployment, implement network-level controls: enforce mutual TLS authentication at perimeter firewalls, restrict SIP TLS connections to known internal or partner IP ranges, deploy inline TLS inspection to validate certificates, and disable GnuTLS in favor of OpenSSL where PJSIP build options permit. These controls reduce but do not eliminate risk. Vendor-released patch: version 2.17 is the definitive remediation.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
PJSIP is a free and open source multimedia communication library. Rated critical severity (CVSS 9.1), this vulnerability
PJSIP is a free and open source multimedia communication library written in C language implementing standard based proto
An issue was discovered in Teluu pjproject (pjlib and pjlib-util) in PJSIP before 2.7.1. Rated critical severity (CVSS 9
Buffer overflow in PJSIP multimedia library version 2.16 and earlier in PJNATH ICE implementation. Patch available. Affe
Heap overflow in PJSIP 2.16 and earlier DNS parser allows unauthenticated remote attackers to achieve code execution wit
PJSIP is a free and open source multimedia communication library written in C with high level API in C, C++, Java, C#, a
PJSIP is a free and open source multimedia communication library written in C language implementing standard based proto
PJSIP is a free and open source multimedia communication library written in C language implementing standard based proto
PJSIP is a free and open source multimedia communication library written in C. Rated critical severity (CVSS 9.8), this
PJSIP is a free and open source multimedia communication library written in C language implementing standard based proto
PJSIP is a free and open source multimedia communication library written in C. Rated critical severity (CVSS 9.8), this
PJSIP is a free and open source multimedia communication library written in C language. Rated critical severity (CVSS 9.
EUVD-2026-28428
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB