The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
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
    • 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-28799

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

CVE-2026-28799 is a heap use-after-free flaw in Pjsip's event subscription framework triggered during presence unsubscription. This article covers the technical details, affected versions, security impact, and mitigation.

Published: March 13, 2026

CVE-2026-28799 Overview

CVE-2026-28799 is a heap use-after-free vulnerability affecting PJSIP, a free and open source multimedia communication library written in C. The vulnerability exists in PJSIP's event subscription framework (evsub.c) and is triggered during presence unsubscription operations when processing SUBSCRIBE requests with Expires=0. This memory corruption flaw can be exploited remotely over the network without requiring authentication or user interaction.

Critical Impact

Remote attackers can exploit this heap use-after-free vulnerability to cause denial of service conditions in applications using PJSIP for VoIP and multimedia communications. The vulnerability affects the core SIP event subscription handling, making any PJSIP-based application potentially vulnerable.

Affected Products

  • PJSIP versions prior to 2.17
  • Applications and VoIP systems built on PJSIP library
  • SIP-based communication platforms utilizing PJSIP event subscription framework

Discovery Timeline

  • 2026-03-06 - CVE-2026-28799 published to NVD
  • 2026-03-10 - Last updated in NVD database

Technical Details for CVE-2026-28799

Vulnerability Analysis

This use-after-free vulnerability occurs in the event subscription framework of PJSIP, specifically within the evsub.c component. The flaw is triggered when handling presence unsubscription requests—SIP SUBSCRIBE messages that include an Expires=0 header to terminate an existing subscription. During the unsubscription process, memory associated with the subscription state may be freed prematurely while still being referenced by other parts of the code, leading to a classic use-after-free condition.

The vulnerability is classified under CWE-416 (Use After Free), indicating that the program continues to use a pointer after the memory it references has been deallocated. In the context of PJSIP, this occurs during the complex state management required for SIP event subscriptions, where timing issues between subscription termination and ongoing notification handling can lead to accessing freed memory.

Root Cause

The root cause stems from improper memory lifecycle management in the event subscription state machine. When a SUBSCRIBE request with Expires=0 initiates an unsubscription, the subscription object may be deallocated before all pending operations referencing it have completed. The fix introduces a deferred_state_notify flag to properly handle TERMINATED state notifications, ensuring that subscription state is not prematurely freed while notification callbacks may still be executing.

Attack Vector

An attacker can exploit this vulnerability remotely over the network by sending specially crafted SIP SUBSCRIBE messages with Expires=0 to a target PJSIP-based application. The attack requires no prior authentication or special privileges, making it accessible to any network-adjacent or internet-facing attacker. The exploitation can result in denial of service through application crashes caused by accessing freed heap memory.

c
// Security patch introducing deferred state notification handling
// Source: https://github.com/pjsip/pjproject/commit/e06ff6c64741cc1675fd3296615910f532f6b1a1

    pj_timer_entry       *pending_sub_timer; /**< Stop pending sub timer.   */
    pjsip_tx_data        *pending_notify;/**< Pending NOTIFY to be sent.    */
    pj_bool_t             calling_on_rx_refresh;/**< Inside on_rx_refresh()?*/
+   pj_bool_t             deferred_state_notify;/**< Deferred TERMINATED notify */
    pj_grp_lock_t        *grp_lock;     /* Session group lock       */

    void                 *mod_data[PJSIP_MAX_MODULE];   /**< Module data.   */

Source: GitHub Commit Details

Detection Methods for CVE-2026-28799

Indicators of Compromise

  • Unexpected application crashes or segmentation faults in PJSIP-based services following SIP SUBSCRIBE operations
  • Memory corruption errors in logs associated with evsub.c or event subscription handling
  • Abnormal patterns of SUBSCRIBE requests with Expires=0 from suspicious sources
  • Core dumps showing freed memory access in event subscription callback functions

Detection Strategies

  • Monitor SIP traffic for unusual patterns of SUBSCRIBE requests with Expires=0 headers, particularly from untrusted sources
  • Implement memory debugging tools (AddressSanitizer, Valgrind) in development and staging environments to detect use-after-free conditions
  • Deploy network intrusion detection rules to identify potential exploitation attempts targeting SIP event subscription endpoints
  • Enable verbose logging for PJSIP event subscription handling to capture anomalous unsubscription sequences

Monitoring Recommendations

  • Configure application-level monitoring to alert on unexpected service restarts or crashes in VoIP/SIP infrastructure
  • Establish baseline metrics for SUBSCRIBE/NOTIFY transaction patterns and alert on deviations
  • Monitor memory allocation patterns in PJSIP processes for signs of heap corruption

How to Mitigate CVE-2026-28799

Immediate Actions Required

  • Upgrade PJSIP to version 2.17 or later, which contains the security patch for this vulnerability
  • Conduct an inventory of all applications and services utilizing PJSIP to identify affected deployments
  • Implement network segmentation to limit exposure of PJSIP-based services to untrusted networks
  • Review firewall rules to restrict SIP traffic to known, authorized endpoints where possible

Patch Information

The vulnerability has been patched in PJSIP version 2.17. The fix introduces a deferred_state_notify boolean flag in the subscription structure to properly manage the timing of TERMINATED state notifications, preventing premature memory deallocation. Organizations should apply this update immediately to all affected systems. For detailed patch information, refer to the GitHub Security Advisory and the commit details.

Workarounds

  • Implement rate limiting on SUBSCRIBE requests to reduce potential exploitation impact
  • Deploy a SIP-aware firewall or application layer gateway to filter malformed or suspicious SUBSCRIBE messages
  • Consider temporarily disabling presence/subscription functionality if not critical to operations until patching is complete
bash
# Example: Update PJSIP to patched version
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.7

  • EPSS Probability0.06%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/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
  • AvailabilityHigh
  • CWE References
  • CWE-416
  • Vendor Resources
  • GitHub Commit Details

  • GitHub Security Advisory
  • Related CVEs
  • CVE-2026-32942: Pjsip Use-After-Free Vulnerability

  • CVE-2026-34235: PJSIP Buffer Overflow Vulnerability

  • CVE-2026-32945: PJSIP Buffer Overflow Vulnerability

  • CVE-2026-33069: PJSIP Information Disclosure 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