Skip to main content

Pjsip EUVDEUVD-2026-13519

| CVE-2026-32945 CRITICAL
Heap-based Buffer Overflow (CWE-122)
2026-03-20 security-advisories@github.com
9.8
CVSS 3.1 · GitHub Advisory
View

Attack ChainAIDerived

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

  1. Access
    Send crafted DNS response
  2. Exploit
    Trigger heap buffer overflow in name length handler
  3. Impact
    Execute arbitrary code with application privileges

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2021 - Vulnerable and Outdated Components
ASVS 5.0
V15 - Secure Coding and Architecture Heap buffer bounds checking
MITRE ATT&CK

1 technique across 1 tactic: Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

PJSIP versions 2.16 and below with built-in DNS resolver enabled via pjsua_config.nameserver or UaConfig.nameserver configuration. Remote unauthenticated attacker sends crafted DNS response. Exploitation does not occur if using OS resolver (getaddrinfo) or external resolver via pjsip_resolver_set_ext_resolver().

Impact

The CVSS 4.0 score of 8.4 indicates high severity, with a network attack vector (AV:N) but high attack complexity (AC:H), requiring no privileges (PR:N) or user interaction (UI:N). The impact profile shows high confidentiality (VC:H) and availability (VA:H) impact with low integrity impact (VI:L), and no subsequent system impacts. The high attack complexity suggests exploitation requires specific conditions such as man-in-the-middle positioning to intercept and modify DNS traffic, or control over DNS infrastructure serving the target. No EPSS score, KEV listing, or proof-of-concept availability is mentioned in the intelligence, suggesting this is not yet actively exploited in the wild. However, the network-based attack vector combined with no authentication requirements means this could be exploited at scale if weaponized. The primary risk is to VoIP and telephony infrastructure using PJSIP with custom nameserver configurations, where DNS traffic may traverse untrusted networks. Organizations using OS resolvers or external resolver implementations are not affected, significantly reducing the actual attack surface compared to the theoretical maximum.

Exploit ScenarioDerived

An attacker positioned to intercept or manipulate DNS traffic (through network man-in-the-middle, compromised DNS server, or DNS cache poisoning) crafts malicious DNS responses with specially crafted name length fields that trigger the heap buffer overflow in PJSIP's DNS parser. When a vulnerable VoIP application using PJSIP's built-in resolver queries DNS, the malicious response triggers the overflow, potentially allowing the attacker to cause denial of service through application crashes or potentially achieve remote code execution, though the high attack complexity suggests exploitation is non-trivial. The network-based attack vector means any vulnerable PJSIP-based service performing DNS queries over untrusted networks is at risk.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
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 – Mar 20, 2026

Heap overflow in PJSIP 2.16 and earlier DNS parser allows unauthenticated remote attackers to achieve code execution with no user interaction required. The vulnerability affects only applications explicitly configured with a built-in nameserver; users relying on OS resolvers or external resolver implementations are unaffected. No patch is currently available, but mitigation is possible by disabling DNS resolution or switching to an external resolver.

Earlier versions of this analysis (1)
v1 Mar 20, 2026 - 08:37 CVSS 9.8

A heap-based buffer overflow vulnerability exists in PJSIP's DNS parser name length handler that can be exploited remotely. PJSIP versions 2.16 and below are affected when applications use the built-in DNS resolver configured through pjsua_config.nameserver or UaConfig.nameserver. The vulnerability allows remote attackers to potentially achieve high confidentiality impact, low integrity impact, and high availability impact through DNS responses, though exploitation complexity is high and no known active exploitation or proof-of-concept has been reported.

RemediationAI

Upgrade PJSIP (pjproject) to version 2.17 or later, which contains the fix committed at https://github.com/pjsip/pjproject/commit/5311aee398ae9d623829a6bad7b679a193c9e199. For environments where immediate patching is not feasible, implement one of two workarounds: disable DNS resolution in PJSIP configuration by setting nameserver_count to zero (forcing reliance on OS resolver), or configure an external resolver implementation using pjsip_resolver_set_ext_resolver() function. Review your PJSIP deployment to confirm whether custom nameservers are configured, as systems using default OS resolver settings (getaddrinfo) are not affected and do not require remediation. Consult the GitHub security advisory at https://github.com/pjsip/pjproject/security/advisories/GHSA-jr2p-p2w4-rr9q for complete vendor recommendations.

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 is a widely-used free and open-source multimedia communication library written in C, commonly integrated into VoIP applications, SIP clients, and telephony systems. The vulnerability, classified as CWE-122 (Heap-based Buffer Overflow), occurs in the DNS parser component specifically when handling name length validation during DNS response processing. According to EUVD-2026-13519, affected versions include pjproject versions prior to 2.17. The flaw only impacts deployments that utilize PJSIP's internal DNS resolver implementation rather than delegating to the operating system's native resolver (getaddrinfo) or external resolver implementations via pjsip_resolver_set_ext_resolver(). The heap overflow occurs during parsing of DNS records, likely when processing malformed or specially crafted DNS response packets with incorrect length fields.

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

GitHub Advisory PRIMARY 9.8 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Red Hat 8.1 HIGH

Primary rating from GitHub Advisory.

CVSS VectorGitHub Advisory

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

2
Patch released
Mar 31, 2026 - 21:13 nvd
Patch available
CVE Published
Mar 20, 2026 - 04:16 nvd
CRITICAL 9.8

DescriptionGitHub Advisory

PJSIP is a free and open source multimedia communication library written in C. Versions 2.16 and below have a Heap-based Buffer Overflowvulnerability in the DNS parser's name length handler. Thisimpacts applications using PJSIP's built-in DNS resolver, such as those configured with pjsua_config.nameserver or UaConfig.nameserver in PJSUA/PJSUA2. It does not affect users who rely on the OS resolver (e.g., getaddrinfo()) by not configuring a nameserver, or those using an external resolver via pjsip_resolver_set_ext_resolver(). This issue is fixed in version 2.17. For users unable to upgrade, a workaround is to disable DNS resolution in the PJSIP config (by setting nameserver_count to zero) or to use an external resolver implementation instead.

Executive ViewAI

Why It Matters

A high-severity vulnerability in PJSIP's DNS parser affects organizations running versions 2.16 and below, potentially allowing remote attackers to cause service outages or access sensitive data through specially crafted DNS responses. This poses immediate risk to any business relying on PJSIP for VoIP, unified communications, or applications using its DNS resolution capabilities, with no vendor patch currently available.

Business Impact: High
Compensating Controls

Disable the built-in PJSIP DNS resolver and configure applications to use only trusted internal DNS servers; implement network segmentation to block DNS responses from untrusted external sources; deploy DNS query filtering and validation at the network perimeter; monitor DNS traffic for anomalies; consider using system-level DNS resolution instead of PJSIP's built-in resolver where architecturally feasible.

Threat Intelligence Overview

EPSS Score
0.0%
Top 87% exploitable
Data Quality
8 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor 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 CRITICAL
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
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
No
Human Impact
High
Technical Impact
Total

Priority Score

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

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

A heap overflow occurs when a program writes data beyond the bounds of a buffer allocated in the heap memory region.

Related Vulnerabilities in PJSIP Memory Safety Vulnerabilities

View all 2

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

CVE-2022-23608 CRITICAL
9.8 Feb 22

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

Vendor StatusVendor

Debian

pjproject
Release Status Fixed Version Urgency
(unstable) fixed (unfixed) -

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