Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessControl or spoof SIP registrar
-
DeliveryClient initiates SIP REGISTER request
-
ExploitReturn crafted 2xx response with excessive Service-Route headers
-
Executionupdate_service_route() writes past fixed-size stack array
-
ImpactStack corruption causes application crash (DoS) or memory corruption
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Stack 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 | Exploitation requires two conditions: (1) the target application must use the PJSUA or PJSUA2 account API, which is the default registration path for pjproject-based applications - applications that implement SIP registration outside this API are not affected; and (2) the attacker must control the SIP registrar that the client registers against, either by operating a malicious registrar, compromising a legitimate one, or performing a man-in-the-middle interception of SIP registration traffic on an unprotected transport (plain UDP or TCP without TLS). Exploitation over TLS/SIPS is limited to a compromised registrar, as MITM spoofing is blocked. No authentication is required from the attacker - the exploit is delivered as a server-to-client registration response. The values overflowing the buffer are internal pointers, not attacker-controlled bytes, which limits but does not eliminate the possibility of memory corruption beyond a crash. |
| Impact | The provided CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:H) scores 8.8, reflecting network-exploitable, unauthenticated triggering with high availability impact and limited integrity effect. This is broadly consistent with the described threat model: a network-accessible SIP registrar - malicious, compromised, or impersonated via MITM on unprotected transport - can trigger the overflow without any client-side privilege or interaction. However, real-world exploitation is constrained in two important ways: (1) the attacker must control or spoof the SIP registrar endpoint the victim is registering against, which is a meaningful positional requirement; (2) the overflow writes internal pointers (not attacker-supplied bytes), substantially limiting the ability to achieve controlled code execution compared to a classic arbitrary-write overflow. The dominant real-world outcome is a crash/restart cycle affecting VoIP infrastructure or user-facing softphones. EPSS data is not provided; no KEV listing exists. The risk profile is a genuine DoS priority for SIP-dependent services using PJSUA, but the RCE scenario requires additional exploitation primitives beyond what the description confirms. |
| Exploit ScenarioDerived | An attacker who controls a rogue SIP registrar - or who is positioned to intercept and forge 2xx registration responses over an unencrypted SIP transport (UDP or plain TCP) - sends a crafted 200 OK REGISTER response containing substantially more Service-Route headers than the fixed-size stack array in update_service_route() can hold. Each excess URI pointer written past the array end corrupts adjacent stack data, triggering a crash in the PJSUA application. The most realistic scenario is a VoIP softphone or PBX (such as an Asterisk-based system using PJSIP) pointing at a compromised provider registrar, causing a persistent registration failure loop or service outage. No public proof-of-concept code has been identified at time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 04, 2026
Stack buffer overflow in PJSIP's PJSUA library allows a malicious or compromised SIP registrar to crash applications - or potentially corrupt memory - by returning an excessive number of Service-Route headers in a 2xx registration response. The vulnerability affects all applications using the PJSUA/PJSUA2 account API (the default registration path) prior to commit acc03b5 in pjproject. The most likely outcome is denial of service via unexpected termination; however, because the overflow writes internal stack pointers rather than attacker-controlled bytes, arbitrary code execution is considered less probable though not excluded. No public exploit code or CISA KEV listing is present at time of analysis.
RemediationAI
Upgrade to a pjproject build that includes commit acc03b57cef7a7d31b8e1f5b9117437d7e87c591 or later; no specific tagged release version has been independently confirmed as the first patched release, so operators should verify the fix is present in the version they build against by checking for the bounds guard in update_service_route() in pjsua_acc.c. Where upgrading is not immediately possible, restrict client SIP registrations to trusted, authenticated registrars enforced via TLS (SIPS) transport to eliminate the MITM spoofed-response vector; this does not protect against a genuinely compromised registrar. Additionally, firewall rules restricting which hosts can respond to REGISTER traffic (e.g., limiting SIP responses to the known registrar IP) reduce the MITM attack surface. Disabling SIP registration entirely for deployments that do not require it also eliminates exposure. The GitHub advisory at https://github.com/pjsip/pjproject/security/advisories/GHSA-xc62-j9h2-mp84 should be monitored for an official tagged release announcement.
Affected VersionsENISA
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
PJSIP (CPE: cpe:2.3:a:pjsip:pjproject:*:*:*:*:*:*:*:*) is a widely used open-source C multimedia/VoIP library implementing SIP, SDP, RTP, and related protocols. The flaw resides in update_service_route() in pjsua-lib/pjsua_acc.c. SIP Service-Route headers returned in a 2xx response to a REGISTER request are intended to establish a routing set for subsequent requests on the account. The function iterates over incoming Service-Route headers and stores their URIs into a fixed-size stack-allocated array. The original code placed the bounds check (uri_cnt != PJ_ARRAY_SIZE(uri)) as the exit condition of a do-while loop, meaning one iteration could execute and write to the array before the count was checked - permitting out-of-bounds writes on the stack when the header count exceeded the array capacity. CWE-121 (Stack-based Buffer Overflow) accurately classifies the root cause. The commit diff confirms the fix repositioned the bounds guard to execute before each write, returning early when the array is full.
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
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N
Network-reachable via registrar response with no auth or interaction; primary impact is crash (A:H), limited integrity from pointer corruption (I:L), no confidentiality exposure.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
DescriptionCVE.org
PJSIP is a free and open source multimedia communication library written in C. Prior to commit acc03b5, a stack buffer overflow exists in PJSUA when processing Service-Route headers in a registration response (update_service_route() in pjsua_acc.c). This affects applications that register using the PJSUA/PJSUA2 account API (the default registration path). The Service-Route URIs from a 2xx response to REGISTER are stored into a fixed-size array without bounding the number of headers; a registrar that returns an excessive number of Service-Route headers can write past the end of the array on the stack. The values written are internal pointers rather than arbitrary data, so the most likely impact is unexpected application termination (denial of service), though memory corruption cannot be excluded. The malicious response may come from a compromised or malicious registrar, or - over unprotected transports - a spoofed response. This issue has been patched via commit acc03b5.
Technical POC Analysis
This is a classic CWE-121 stack-based buffer overflow in PJSUA, the high-level account/registration API of pjproject.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
PJSIP's PJSUA library, widely used in VoIP and SIP telephony systems, is vulnerable to denial-of-service attacks when the organization's SIP registrar is compromised or delivers malicious responses. Affected applications will crash unexpectedly, disrupting internal and external voice communication for end users. No vendor patch is currently available, requiring interim defensive measures and emergency response procedures.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) Restrict network-level access to SIP registrars using firewall rules and internal network segmentation; (2) Monitor SIP registrar configuration, access logs, and authentication for unauthorized changes; (3) Automate or maintain rapid-response procedures to restart affected voice applications; (4) Deploy redundant SIP registrars with automatic failover to minimize outage duration; (5) Enable detailed logging and real-time alerting on application crashes in production voice services.
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 stack-based buffer overflow occurs when a program writes more data to a buffer located on the stack than it was allocated to hold.
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
PJSIP 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
Heap overflow in PJSIP 2.16 and earlier DNS parser allows unauthenticated remote attackers to achieve code execution wit
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.
EUVD-2026-71655
NVD
CVE.org
EPSS
GitHub
VulDB
Exploit-DB