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-32945

CVE-2026-32945: PJSIP Buffer Overflow Vulnerability

CVE-2026-32945 is a heap-based buffer overflow in PJSIP's DNS parser affecting versions 2.16 and below. This flaw impacts applications using PJSIP's built-in DNS resolver. Learn about technical details, impact, and mitigation.

Published: March 27, 2026

CVE-2026-32945 Overview

CVE-2026-32945 is a high-severity heap-based buffer overflow vulnerability discovered in PJSIP, a free and open source multimedia communication library written in C. The vulnerability exists in the DNS parser's name length handler, which can be exploited by attackers to cause memory corruption when processing malicious DNS responses.

This vulnerability specifically impacts applications that use PJSIP's built-in DNS resolver, such as those configured with pjsua_config.nameserver or UaConfig.nameserver in PJSUA/PJSUA2. Organizations using PJSIP for VoIP, video conferencing, and other real-time communication applications should prioritize remediation.

Critical Impact

Network-based attackers can exploit the heap-based buffer overflow in the DNS parser to potentially achieve remote code execution or cause denial of service on systems using PJSIP's built-in DNS resolver.

Affected Products

  • PJSIP versions 2.16 and below
  • Applications using PJSUA/PJSUA2 with configured nameserver settings
  • Systems using pjsua_config.nameserver or UaConfig.nameserver

Discovery Timeline

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

Technical Details for CVE-2026-32945

Vulnerability Analysis

The vulnerability is classified as CWE-122 (Heap-based Buffer Overflow), which occurs when a program writes data beyond the boundaries of heap-allocated memory. In this case, the flaw resides in the DNS parser component of PJSIP, specifically in the handling of DNS name lengths.

When processing DNS responses, the parser fails to properly validate the length of DNS names before copying data to heap-allocated buffers. This improper bounds checking allows an attacker to craft malicious DNS responses that trigger memory corruption when parsed by the vulnerable application.

The vulnerability is exploitable over the network without requiring authentication or user interaction, though exploitation complexity is considered high due to the need for attackers to intercept or manipulate DNS traffic.

Root Cause

The root cause of CVE-2026-32945 is improper input validation in the DNS name length handler. The parser does not adequately verify that the declared length of DNS names in incoming responses matches the actual buffer size allocated for storage. This mismatch allows for heap memory corruption when oversized or malformed DNS name data is processed.

Applications that do not configure a nameserver (relying on OS-level resolution via getaddrinfo()) or those using an external resolver through pjsip_resolver_set_ext_resolver() are not affected by this vulnerability.

Attack Vector

The attack vector is network-based, requiring the attacker to be in a position to deliver malicious DNS responses to the target application. This could be achieved through:

  • DNS spoofing or cache poisoning attacks
  • Man-in-the-middle positioning on the network path
  • Compromised DNS infrastructure

The vulnerability manifests in the DNS name parsing routine when handling responses. An attacker can craft a malicious DNS response with oversized name length fields that, when processed by the vulnerable parser, cause heap buffer overflow. This can lead to memory corruption, potential arbitrary code execution, or application crashes resulting in denial of service.

For detailed technical information about the exploitation mechanics, see the GitHub Security Advisory.

Detection Methods for CVE-2026-32945

Indicators of Compromise

  • Unusual DNS query/response patterns involving VoIP or SIP-related services
  • Application crashes or segmentation faults in PJSIP-based applications
  • Unexpected heap memory corruption errors in process logs
  • Anomalous DNS traffic targeting systems running PJSIP with built-in resolver

Detection Strategies

  • Monitor for abnormal DNS response sizes, particularly those with oversized name fields
  • Deploy intrusion detection rules to identify malformed DNS packets targeting PJSIP applications
  • Implement memory corruption detection tools (such as AddressSanitizer) in development and testing environments
  • Review application logs for PJSIP DNS resolver errors or unexpected terminations

Monitoring Recommendations

  • Enable verbose logging for PJSIP DNS resolution activities
  • Monitor network traffic for DNS responses with anomalous name length values
  • Implement network-level monitoring for DNS traffic to/from SIP/VoIP infrastructure
  • Track process stability metrics for applications using PJSIP libraries

How to Mitigate CVE-2026-32945

Immediate Actions Required

  • Upgrade PJSIP to version 2.17 or later, which contains the security fix
  • Audit all applications and systems using PJSIP to identify those with built-in DNS resolver configurations
  • Disable the built-in DNS resolver by setting nameserver_count to zero as an interim measure
  • Consider implementing an external resolver via pjsip_resolver_set_ext_resolver() as an alternative

Patch Information

The vulnerability has been fixed in PJSIP version 2.17. The security patch is available through the GitHub commit 5311aee398ae9d623829a6bad7b679a193c9e199. Organizations should update their PJSIP installations to the patched version as soon as possible.

Additional details and the official security advisory can be found at the GitHub Security Advisory GHSA-jr2p-p2w4-rr9q.

Workarounds

  • Disable DNS resolution in PJSIP configuration by setting nameserver_count to zero
  • Configure applications to use OS-level DNS resolution via getaddrinfo() instead of the built-in resolver
  • Implement an external resolver using pjsip_resolver_set_ext_resolver() to bypass the vulnerable code path
  • Deploy network-level protections such as DNSSEC validation to reduce the risk of malicious DNS responses
bash
# Example PJSIP configuration to disable built-in DNS resolver
# In pjsua_config initialization:
# cfg.nameserver_count = 0;

# Or configure external resolver in application code
# pjsip_resolver_set_ext_resolver(resolver, &ext_resolver);

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

  • Vulnerability Details
  • TypeBuffer Overflow

  • Vendor/TechPjsip

  • SeverityHIGH

  • CVSS Score8.4

  • EPSS Probability0.06%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:L/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
  • ConfidentialityHigh
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-122
  • Vendor Resources
  • GitHub Commit Changes

  • GitHub Security Advisory
  • Related CVEs
  • CVE-2026-40614: PJSIP Opus Buffer Overflow Vulnerability

  • CVE-2026-40892: PJSIP Buffer Overflow Vulnerability

  • CVE-2026-34235: PJSIP Buffer Overflow Vulnerability

  • CVE-2026-29068: 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