Skip to main content

PJSIP EUVDEUVD-2026-28428

| CVE-2026-42225 HIGH
Improper Certificate Validation (CWE-295)
2026-05-07 GitHub_M
8.2
CVSS 4.0 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Position on network path
  2. Delivery
    Intercept SIP TLS handshake
  3. Exploit
    Present invalid certificate
  4. Install
    Bypass GnuTLS verification
  5. C2
    Establish MitM session
  6. Execute
    Intercept SIP credentials
  7. Impact
    Redirect 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

pjproject < 2.17

Affected Packages

euvd pjproject fix: 2.17

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

Vendor (GitHub_M) PRIMARY 8.2 HIGH
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

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
High
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

4
Patch available
May 07, 2026 - 21:02 EUVD
CVSS changed
May 07, 2026 - 20:22 NVD
8.2 (HIGH)
CVE Published
May 07, 2026 - 18:47 nvd
UNKNOWN (no severity yet)
CVE Published
May 07, 2026 - 18:47 nvd
HIGH 8.2

DescriptionCVE.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

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.0%
Top 94% exploitable
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

41
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +41
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

More in Pjsip

View all
CVE-2021-43845 CRITICAL POC
9.1 Dec 27

PJSIP is a free and open source multimedia communication library. Rated critical severity (CVSS 9.1), this vulnerability

CVE-2021-21375 MEDIUM POC
6.5 Mar 10

PJSIP is a free and open source multimedia communication library written in C language implementing standard based proto

CVE-2017-16872 CRITICAL
9.8 Nov 17

An issue was discovered in Teluu pjproject (pjlib and pjlib-util) in PJSIP before 2.7.1. Rated critical severity (CVSS 9

CVE-2026-25994 CRITICAL POC
9.8 Feb 11

Buffer overflow in PJSIP multimedia library version 2.16 and earlier in PJNATH ICE implementation. Patch available. Affe

CVE-2026-32945 CRITICAL
9.8 Mar 20

Heap overflow in PJSIP 2.16 and earlier DNS parser allows unauthenticated remote attackers to achieve code execution wit

CVE-2023-38703 CRITICAL
9.8 Oct 06

PJSIP is a free and open source multimedia communication library written in C with high level API in C, C++, Java, C#, a

CVE-2022-23547 CRITICAL
9.8 Dec 23

PJSIP is a free and open source multimedia communication library written in C language implementing standard based proto

CVE-2022-23537 CRITICAL
9.8 Dec 20

PJSIP is a free and open source multimedia communication library written in C language implementing standard based proto

CVE-2022-39244 CRITICAL
9.8 Oct 06

PJSIP is a free and open source multimedia communication library written in C. Rated critical severity (CVSS 9.8), this

CVE-2022-31031 CRITICAL
9.8 Jun 09

PJSIP is a free and open source multimedia communication library written in C language implementing standard based proto

CVE-2022-24786 CRITICAL
9.8 Apr 06

PJSIP is a free and open source multimedia communication library written in C. Rated critical severity (CVSS 9.8), this

CVE-2022-24754 CRITICAL
9.8 Mar 11

PJSIP is a free and open source multimedia communication library written in C language. Rated critical severity (CVSS 9.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy