Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSend crafted DNS response
-
ExploitTrigger heap buffer overflow in name length handler
-
ImpactExecute 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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)
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
Affected Packages
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
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Primary rating from GitHub Advisory.
CVSS VectorGitHub Advisory
Lifecycle Timeline
2DescriptionGitHub 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
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.
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
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 2PJSIP is a free and open source multimedia communication library. Rated critical severity (CVSS 9.1), this vulnerability
PJSIP is a free and open source multimedia communication library written in C language implementing standard based proto
An issue was discovered in Teluu pjproject (pjlib and pjlib-util) in PJSIP before 2.7.1. Rated critical severity (CVSS 9
Buffer overflow in PJSIP multimedia library version 2.16 and earlier in PJNATH ICE implementation. Patch available. Affe
PJSIP is a free and open source multimedia communication library written in C with high level API in C, C++, Java, C#, a
PJSIP is a free and open source multimedia communication library written in C language implementing standard based proto
PJSIP is a free and open source multimedia communication library written in C language implementing standard based proto
PJSIP is a free and open source multimedia communication library written in C. Rated critical severity (CVSS 9.8), this
PJSIP is a free and open source multimedia communication library written in C language implementing standard based proto
PJSIP is a free and open source multimedia communication library written in C. Rated critical severity (CVSS 9.8), this
PJSIP is a free and open source multimedia communication library written in C language. Rated critical severity (CVSS 9.
PJSIP is a free and open source multimedia communication library written in C language implementing standard based proto
Same weakness CWE-122 – Heap-based Buffer Overflow
View allSame technique Buffer Overflow
View allVendor StatusVendor
Debian
| Release | Status | Fixed Version | Urgency |
|---|---|---|---|
| (unstable) | fixed | (unfixed) | - |
EUVD-2026-13519
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB