Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-32942

CVE-2026-32942: Pjsip Use-After-Free Vulnerability

CVE-2026-32942 is a heap use-after-free flaw in Pjsip that occurs due to race conditions in ICE session callbacks. This article covers the technical details, affected versions, security impact, and mitigation steps.

Published: March 27, 2026

CVE-2026-32942 Overview

CVE-2026-32942 is a heap use-after-free vulnerability affecting PJSIP, a free and open source multimedia communication library written in C. The vulnerability exists in versions 2.16 and below and occurs within the ICE (Interactive Connectivity Establishment) session handling component. Race conditions between session destruction and callback execution can lead to memory corruption, potentially enabling attackers to compromise systems utilizing PJSIP for VoIP and multimedia communications.

Critical Impact

Attackers exploiting this use-after-free vulnerability via network access could achieve high confidentiality and integrity impact on affected systems running vulnerable PJSIP versions.

Affected Products

  • PJSIP versions 2.16 and below
  • Applications and VoIP systems built using vulnerable PJSIP library versions
  • SIP softphones and communication platforms incorporating PJSIP

Discovery Timeline

  • 2026-03-20 - CVE-2026-32942 published to NVD
  • 2026-03-23 - Last updated in NVD database

Technical Details for CVE-2026-32942

Vulnerability Analysis

This use-after-free vulnerability (CWE-416) is rooted in improper memory handling within PJSIP's ICE session implementation. The ICE protocol is used for NAT traversal in peer-to-peer multimedia communications, making it a critical component for VoIP and WebRTC applications.

The vulnerability arises from race conditions that occur when an ICE session is being destroyed while callbacks associated with that session are still pending or executing. When these race conditions are triggered, the code may attempt to access memory that has already been freed, leading to undefined behavior.

Use-after-free vulnerabilities are particularly dangerous in network-facing components because they can potentially be exploited remotely to achieve code execution or cause denial of service. The network-accessible nature of this vulnerability means that attackers could potentially trigger the race condition by crafting specific sequences of ICE-related network traffic.

Root Cause

The root cause of CVE-2026-32942 is inadequate synchronization between the session destruction logic and callback handlers in the ICE session implementation. When a session is destroyed, the associated memory structures are freed, but callbacks that were scheduled or in-flight may still hold references to this memory. Without proper locking mechanisms or reference counting, these callbacks may dereference pointers to already-freed memory, resulting in heap corruption.

Attack Vector

The attack vector for this vulnerability is network-based, requiring no privileges or user interaction. An attacker could potentially exploit this vulnerability by:

  1. Establishing an ICE session with a vulnerable PJSIP endpoint
  2. Timing network traffic to trigger session destruction while callbacks are pending
  3. Leveraging the resulting memory corruption to influence program execution

The vulnerability can be triggered through carefully timed ICE signaling messages that induce the race condition between session teardown and callback execution. Further technical details can be found in the GitHub Security Advisory and the related GitHub Issue Discussion.

Detection Methods for CVE-2026-32942

Indicators of Compromise

  • Unexpected crashes or segmentation faults in applications using PJSIP for ICE/STUN/TURN functionality
  • Memory corruption errors in system logs related to PJSIP processes
  • Abnormal ICE session termination patterns in VoIP traffic logs
  • Core dumps indicating heap corruption in ICE-related code paths

Detection Strategies

  • Monitor application logs for PJSIP-related crashes, particularly those occurring during session teardown
  • Implement runtime memory sanitizers (AddressSanitizer, Valgrind) in development and testing environments to detect use-after-free conditions
  • Deploy intrusion detection rules to identify unusual ICE traffic patterns that may indicate exploitation attempts
  • Perform software composition analysis to identify applications using vulnerable PJSIP versions

Monitoring Recommendations

  • Enable verbose logging for ICE session lifecycle events in PJSIP-based applications
  • Configure crash reporting mechanisms to capture and analyze PJSIP-related crashes
  • Monitor network traffic for anomalous ICE connectivity check patterns or rapid session creation/destruction sequences
  • Implement SentinelOne Singularity Platform for real-time behavioral analysis of processes using PJSIP libraries

How to Mitigate CVE-2026-32942

Immediate Actions Required

  • Upgrade PJSIP to version 2.17 or later, which contains the fix for this vulnerability
  • Audit all applications and systems to identify those using vulnerable PJSIP versions
  • Prioritize patching for internet-facing VoIP and communication services
  • Review network segmentation to limit exposure of PJSIP-based services to untrusted networks

Patch Information

The PJSIP maintainers have addressed this vulnerability in version 2.17. The fix implements proper synchronization to prevent race conditions between session destruction and callback execution. The specific commit addressing this issue is available at:

  • GitHub Commit c9caceddabda7f18337b2a82d25d65f6224b450a

Organizations should update their PJSIP installations and rebuild any applications that statically link against the library.

Workarounds

  • If immediate patching is not possible, consider placing PJSIP-based services behind network firewalls with strict access controls
  • Limit ICE functionality to trusted network segments where feasible
  • Implement process isolation and sandboxing for applications using vulnerable PJSIP versions
  • Monitor for abnormal process behavior and implement automatic restart mechanisms to maintain service availability
bash
# Verify PJSIP version and update
# Check current PJSIP version in your application
pkg-config --modversion libpjproject

# Update PJSIP to patched version 2.17+
git clone https://github.com/pjsip/pjproject.git
cd pjproject
git checkout 2.17
./configure && make dep && make
sudo make install

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeUse After Free

  • Vendor/TechPjsip

  • SeverityHIGH

  • CVSS Score8.0

  • EPSS Probability0.05%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:U/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-416
  • Technical References
  • GitHub Issue Discussion
  • Vendor Resources
  • GitHub Commit Thank You

  • GitHub Security Advisory GHSA-g88q-c2hm-q7p7
  • Related CVEs
  • CVE-2026-28799: Pjsip Use-After-Free Vulnerability

  • CVE-2026-40614: PJSIP Opus Buffer Overflow Vulnerability

  • CVE-2026-40892: PJSIP Buffer Overflow Vulnerability

  • CVE-2026-34235: PJSIP Buffer Overflow Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English