Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSend crafted SIP INVITE to SRTP-enabled endpoint
-
DeliverySDP parser accepts excess a=crypto attributes
-
Exploitsdes_encode_sdp() iterates without bounds check
-
ExecutionWrite past end of stack tags[] array
-
PersistOverwrite stack frame / return address
-
ImpactCrash application or redirect control flow
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 | SRTP must be enabled in the pjproject application specifically using SDES keying (use_srtp set to PJ_MEDIA_SRTP_OPTIONAL or PJ_MEDIA_SRTP_MANDATORY); applications using DTLS-SRTP keying or no SRTP at all are not affected by this vulnerability. The attack is triggered during SDP offer/answer processing on an incoming SIP INVITE, before any application-level authentication, so no credentials or prior session establishment are needed. The attacker must be able to deliver a SIP INVITE to the target endpoint, typically over UDP or TCP port 5060 or TLS port 5061. Effectiveness against memory-hardened builds (stack canaries, ASLR, shadow stack enforcement) is reduced and may limit the attack to a reliable denial-of-service rather than arbitrary code execution. |
| Impact | The CVSS 4.0 score of 8.8 (AV:N/AC:L/AT:N/PR:N/UI:N) accurately represents the attack surface: the flaw is network-reachable with no authentication and no required user interaction, meaning even a mid-sized municipal IT team in bytom running PJSIP-based SIP infrastructure should treat this as an urgent patching priority. The primary risk limiter is the requirement for SRTP with SDES keying to be enabled - this narrows the affected population but does not make the flaw obscure, since SRTP is a common and recommended configuration for privacy-sensitive deployments. Platform mitigations (stack canaries, ASLR, shadow stack) reduce the probability of reliable code execution and may degrade the attack to a reliable DoS, but termination of a SIP application is itself a serious availability impact. No EPSS data was provided, and no public exploit or CISA KEV listing has been identified, so immediate widespread exploitation is not confirmed; however, the straightforward nature of the overflow (excessive array entries in a known protocol message) lowers the bar for independent rediscovery. |
| Exploit ScenarioDerived | An attacker sends a crafted SIP INVITE to a pjproject-based VoIP endpoint with SRTP/SDES enabled, embedding an SDP body with dozens of |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 04, 2026
Stack-based buffer overflow in PJSIP's SRTP/SDES media transport allows a remote unauthenticated attacker to crash or potentially hijack control flow in any pjproject-based application with SRTP/SDES keying enabled. The flaw in sdes_encode_sdp() (transport_srtp_sdes.c) collects a=crypto attributes from a remote SDP offer into a fixed-size stack array without bounding the count, so a malicious SIP peer can overflow that array by including more attributes than it can hold. The vulnerability is reachable from an incoming SIP INVITE before application-level authentication, and a fix is available as upstream commit a1b707c; no public exploit or CISA KEV listing has been identified at time of analysis.
RemediationAI
Apply the upstream fix from commit a1b707c (https://github.com/pjsip/pjproject/commit/a1b707c0c9b0506faf2a8a438b60f11ffd6a6fd9), which inserts a bounds check in sdes_encode_sdp() that returns PJMEDIA_SRTP_ESDPINCRYPTO when cr_attr_count reaches or exceeds PJ_ARRAY_SIZE(tags). Because no tagged release version that incorporates this commit has been independently confirmed, operators should verify that their packaged or vendored pjproject includes this commit and monitor the upstream repository for a versioned release. As a compensating control, disabling SRTP/SDES keying entirely eliminates the vulnerable code path at the cost of removing media encryption - only appropriate where confidentiality is not required. Session Border Controllers or SIP proxies that enforce per-media-description attribute-count limits can filter malformed SDP offers upstream of the pjproject application, reducing exposure without requiring an application rebuild.
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 (pjproject) is a C-language multimedia communication library implementing SIP, SDP, RTP/SRTP, and related protocols, widely embedded in open-source and commercial VoIP applications. The vulnerable code path lives in pjmedia/src/pjmedia/transport_srtp_sdes.c, function sdes_encode_sdp(), which performs SDP offer/answer processing for SDES-keyed SRTP (RFC 4568). During negotiation, a=crypto attributes from the remote SDP are iterated and written into a fixed-size stack array named tags[] whose capacity is PJ_ARRAY_SIZE(tags). The SDP parser itself caps the total attribute count at PJMEDIA_MAX_SDP_ATTR, a value that can exceed PJ_ARRAY_SIZE(tags). Because no bounds check existed before commit a1b707c, a crafted SDP with more a=crypto lines than the array capacity causes writes past the end of the stack buffer - a classic CWE-121 (Stack-Based Buffer Overflow). The CPE cpe:2.3:a:pjsip:pjproject:*:*:*:*:*:*:*:* covers all released versions.
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:H/VA:H/SC:N/SI:N/SA:N
Network-reachable pre-auth via SIP INVITE with no user interaction; SRTP config requirement does not raise AC since attackers can identify SRTP endpoints; no confidentiality impact from the overflow itself.
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 a1b707c, a stack buffer overflow exists in the SRTP/SDES media transport when processing a=crypto attributes during SDP offer/answer (sdes_encode_sdp() in transport_srtp_sdes.c). This affects applications with SRTP enabled (use_srtp optional or mandatory, using SDES keying). During media negotiation, the crypto attributes from the remote SDP are collected into a fixed-size array without bounding their number; a remote peer that includes an excessive number of a=crypto attributes in a single media description can write past the end of that array on the stack. This is reachable from an incoming SIP INVITE during offer/answer, before application-level authentication. Impact may range from unexpected application termination to control flow hijack/memory corruption. Applications that do not enable SRTP are not affected. This issue has been patched via commit a1b707c.
Technical POC Analysis
CWE-121: stack-based buffer overflow.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
PJSIP, a foundational SIP stack library used in VoIP, conferencing, and WebRTC applications, contains a remotely-exploitable stack overflow in SRTP/SDES media handling that affects unauthenticated attackers before authentication checks are performed. Organizations running communications systems based on pjproject face potential service disruption or system compromise from an unauthenticated network-based attack; the high CVSS score (8.8) and pre-authentication nature elevate this beyond typical vulnerabilities despite the lack of current public exploits.
No vendor-released patch identified at time of analysis. Interim mitigations include: disabling SRTP/SDES keying where operationally feasible; network segmentation and firewall controls restricting SIP endpoint access; SIP-aware IPS/WAF rules detecting abnormal crypto attribute counts in SDP; rate-limiting on SIP INVITE messages; and continuous monitoring of upstream pjproject releases for patched versions.
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.
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-71656
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB