Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSend SIP INVITE with crafted SDP
-
DeliveryTrigger integer overflow in ptime calculation
-
ExploitAllocate undersized media buffer
-
ExecutionProcess RTP stream
-
PersistCorrupt heap memory
-
ImpactExecute arbitrary code or crash service
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Integer overflow checks
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 | Vulnerability triggers when PJSIP processes SDP with asymmetric ptime attributes during SIP session establishment. No special conditions required - remote unauthenticated exploitation against default configurations of PJSIP-based services accepting SIP calls from untrusted networks. Attack succeeds against any PJSIP deployment listening on network interfaces reachable by attacker (internet-facing SIP servers, peer-to-peer VoIP applications, or internal networks if attacker has network access). Exploitation NOT LIMITED by: user interaction (automated SDP parsing), authentication (occurs pre-authentication in SIP INVITE processing), or non-default features (core SDP handling always active). Limiting factors include: SIP proxies or session border controllers performing strict SDP validation may reject malformed ptime values before reaching vulnerable backend; deployments accepting calls only from authenticated/registered endpoints reduce attack surface to compromised accounts; containerized or sandboxed VoIP applications limit post-exploitation impact through privilege separation. |
| Impact | Real-world risk is HIGH for internet-facing PJSIP deployments despite absence of confirmed exploitation. CVSS 4.0 score of 8.1 with vector AV:N/AC:L/PR:N/UI:N indicates trivial remote exploitation requiring no user interaction or authentication - attackers need only send crafted SDP in SIP INVITE messages. The E:U (Exploit Maturity Unproven) component suggests no public exploit at analysis time, reducing immediate risk. However, PJSIP's ubiquitous deployment in VoIP phones, PBX systems (FreePBX/Asterisk with PJSIP channel driver), WebRTC gateways, and IoT devices creates massive attack surface. Integer overflow vulnerabilities in C memory allocation are well-understood primitives with established exploitation techniques. The straightforward trigger (malformed SDP) and network reachability make this highly automatable once weaponized. EPSS data not provided but would likely score moderate-to-high given attack vector characteristics. Critical distinguishing factor: vendor patch available (version 2.17) means this transitions from vulnerability management to patch deployment urgency. Organizations using PJSIP in internet-facing roles (SIP trunking, WebRTC services) should prioritize upgrade; those with perimeter SIP proxies performing SDP validation have reduced exposure but not elimination of risk. |
| Exploit ScenarioDerived | Attacker sends SIP INVITE message to vulnerable PJSIP-based VoIP server containing crafted SDP offer with asymmetric ptime configuration designed to trigger integer overflow (e.g., ptime:20 in one direction, ptime:4294967280 in reverse, causing wraparound in multiplication). PJSIP parses SDP, calculates media buffer size using overflowed arithmetic, allocates undersized heap buffer. When call proceeds to media phase and RTP packets arrive, buffer overflow corrupts adjacent heap metadata or function pointers, enabling remote code execution as the VoIP service user or crashing the application for denial of service. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 24, 2026
Integer overflow in PJSIP 2.16 and earlier enables remote unauthenticated attackers to trigger memory corruption or application crashes via malicious SDP packets with asymmetric ptime values. The vulnerability causes undersized buffer allocation during media stream processing, creating conditions for memory corruption with potential code execution or denial of service. Fixed in version 2.17 with no public exploit identified at time of analysis, though CVSS 8.1 and network attack vector indicate significant risk for internet-facing VoIP/multimedia applications.
RemediationAI
Upgrade PJSIP library to version 2.17 or later, which contains the fix committed in https://github.com/pjsip/pjproject/commit/66fe416c96e957417621b7be16e9e587d159f9bb. For embedded applications, rebuild with patched library and redeploy firmware. Organizations unable to immediately upgrade should implement SDP normalization at SIP proxy/SBC layer: reject or rewrite SDP offers containing asymmetric ptime attributes (different sendonly/recvonly ptime values) or ptime values exceeding reasonable bounds (>200ms). This workaround degrades call compatibility with non-standard endpoints but blocks the overflow trigger. Additional compensating control: restrict SIP access to authenticated peers via firewall rules (block UDP/TCP 5060-5061 from internet, allow only known trunking partners), reducing attack surface from internet-wide to trusted networks. Note this mitigation breaks open SIP services and peer-to-peer calling scenarios. Network-based IDS/IPS can detect anomalous ptime values in SDP, but evasion via encoding variations limits effectiveness. For Asterisk deployments, verify chan_pjsip module version and follow Asterisk security advisories for bundled PJSIP updates.
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 (PJPROJECT) is a widely-deployed open-source multimedia communication library written in C, providing SIP protocol stack, media transport (RTP/RTCP), and codec framework for VoIP applications. The vulnerability (CWE-190: Integer Overflow) occurs during SDP (Session Description Protocol) parsing when calculating media stream buffer sizes. SDP's ptime attribute specifies packet duration in milliseconds, and asymmetric configurations (different ptime values for send/receive) trigger an integer overflow in the buffer size arithmetic. This overflow wraps to a small positive value, causing malloc/buffer allocation with insufficient space. Subsequent media stream operations write beyond allocated boundaries, creating classic heap corruption conditions. The affected component handles network-received SDP during session negotiation, making it reachable from remote callers without authentication in typical SIP/VoIP deployments.
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:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U
Primary rating from Vendor (GitHub_M) · only source for this CVE.
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
4DescriptionCVE.org
PJSIP is a free and open source multimedia communication library written in C. In 2.16 and earlier, there is an integer overflow in media stream buffer size calculation when processing SDP with asymmetric ptime configuration. The overflow may result in an undersized buffer allocation, which can lead to unexpected application termination or memory corruption This vulnerability is fixed in 2.17.
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.
Integer overflow occurs when an arithmetic operation produces a result that exceeds the maximum value a given integer type can store.
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-25598
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB