Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain valid TURN credentials
-
DeliveryEstablish authenticated TURN session
-
ExploitSend repeated EVEN-PORT Allocate requests with R=0
-
ExecutionTrigger odd-port leak per allocation in turnports_allocate_even()
-
PersistExhaust relay port pool cumulatively
-
ImpactAll TURN clients receive STUN error 508
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V2 - Validation and Business Logic Resource consumption limits
MITRE ATT&CK
1 technique across 1 tactic: Impact The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires a valid TURN session with at least low-privileged credentials (PR:L per the CVSS 4.0 vector) - unauthenticated attackers cannot reach the vulnerable code path. The attack specifically targets the EVEN-PORT Allocate request path (RFC 8656 Section 14.6) with the reservation bit R=0; the R=1 code path reserves the sibling intentionally and is not affected. Port exhaustion is cumulative: the attacker must send enough R=0 EVEN-PORT requests to drain the entire configured relay port range (set by min-port and max-port in turnserver.conf, typically a range of a few thousand ports). Coturn must be running a version prior to 4.17.0. No non-default feature toggle, specific network position, or special platform is required beyond possessing a valid TURN credential on a vulnerable server. |
| Impact | The CVSS 4.0 base score of 7.1 (AV:N/AC:L/AT:N/PR:L/UI:N, VA:H) accurately captures the threat model: a low-privileged network attacker can cause high availability impact with low complexity and no user interaction. The PR:L metric is the primary limiting factor - exploitation requires a valid TURN credential, meaning the attacker must already be an authorized or compromised relay client. The impact is purely a denial-of-service against the relay port pool (VC:N/VI:N/VA:H, SC:N/SI:N/SA:N): there is no confidentiality or integrity risk, and the vulnerability does not provide remote code execution or privilege escalation primitives. No EPSS score was provided and this CVE is absent from the CISA KEV catalog, indicating no confirmed active exploitation at time of analysis. In practice, deployments where TURN access is granted to a broad or untrusted user base (e.g., public WebRTC services) carry higher realistic risk because any authenticated user can trigger the exhaustion. Deployments that restrict TURN access to trusted application servers face substantially lower risk. The cumulative nature of the attack - each R=0 EVEN-PORT allocation leaks exactly one port - means small relay port ranges are exhausted faster, while large ranges may require more requests but remain exploitable within a single authenticated session. |
| Exploit ScenarioDerived | An authenticated TURN client establishes a session using valid credentials obtained through normal registration or credential theft, then sends a stream of EVEN-PORT Allocate requests each with R=0. Each request causes the server to silently leak one odd-numbered relay port from the pool. Once the configured relay port range is exhausted - which for default or small port ranges could be achieved in seconds - every subsequent relay allocation attempt from any client on the server returns STUN error 508 (Insufficient Capacity), taking the TURN service offline for all users. No public exploit code has been identified, but the attack requires only standards-compliant TURN messages and is trivially implementable by anyone with RFC 8656 knowledge and a valid TURN credential. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 11, 2026
Relay port pool exhaustion in Coturn prior to 4.17.0 permits authenticated TURN clients to permanently consume relay ports by issuing EVEN-PORT Allocate requests with the R (reservation) bit cleared to zero. The turnports_allocate_even() function in src/apps/relay/turn_ports.c unconditionally marked the odd sibling port as TPS_TAKEN_ODD regardless of R bit value; with R=0 no RTCP socket is ever bound to that port, so no release code path is ever triggered - each such allocation permanently removes one port from the relay pool until the pool is drained and subsequent allocations fail with STUN error 508. No active exploitation has been confirmed; a vendor-released patch is available in version 4.17.0.
RemediationAI
Upgrade Coturn to version 4.17.0 or later, which is the vendor-released patch confirmed by GitHub release tag https://github.com/coturn/coturn/releases/tag/4.17.0 and commit 4adbd82e78456e13109bf44deed4ec3aceb0bab2. Full advisory details are at https://github.com/coturn/coturn/security/advisories/GHSA-847g-qmc6-6m4r. If immediate upgrade is not feasible, restrict which principals can obtain TURN credentials - for example, by issuing short-lived, single-use TURN credentials via a time-limited token mechanism (RFC 8489 long-term credential with short TTL), which limits the number of R=0 EVEN-PORT allocations a single credential can make before expiry. Additionally, reducing the relay port range (min-port / max-port in turnserver.conf) to the minimum operationally required shrinks the attack surface by making exhaustion more visible faster, though it does not prevent it. Neither workaround eliminates the vulnerability; they only raise the effort threshold for a successful exhaustion attack.
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
Coturn is the dominant open-source implementation of the TURN (RFC 8656) and STUN (RFC 5389) relay protocols, widely deployed as a WebRTC media relay and NAT traversal component. The EVEN-PORT TURN extension allows clients to request an even-numbered relay port; when the R bit is 1 the server is also expected to reserve the contiguous odd sibling for RTCP use, releasing it later via a reservation token. When R=0 the client requests only the even port and the odd sibling must remain in the pool. The vulnerable code in turnports_allocate_even() (src/apps/relay/turn_ports.c) ignored the allocate_rtcp parameter and set the sibling's state to TPS_TAKEN_ODD unconditionally - creating a port leak per RFC 8656 Section 14.6 violation. Because no RTCP socket is created for R=0 allocations, turnports_release() is never called on the odd port. The root cause class is CWE-400 (Uncontrolled Resource Consumption): bounded relay port inventory is steadily consumed by an authenticated party without any mechanism for recovery. The fix (commit 4adbd82) adds an early-return path when allocate_rtcp==0, leaving the sibling port in the pool.
Know when the next one hits your stack
- 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:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
PR:L because exploitation requires a valid TURN credential; A:H because the relay port pool can be fully exhausted causing complete service denial; no confidentiality or integrity impact and scope is unchanged.
Primary rating from Vendor (github).
CVSS VectorVendor: github
Lifecycle Timeline
2DescriptionCVE.org
Coturn is a free open source implementation of TURN and STUN Server. Prior to 4.17.0, turnports_allocate_even() in src/apps/relay/turn_ports.c marks the unused odd sibling port as TPS_TAKEN_ODD for an EVEN-PORT Allocate request with reservation bit R=0 even though no RTCP socket will release it, allowing an authenticated client to permanently exhaust the relay port pool and cause subsequent allocations to fail with STUN error 508. This issue is fixed in version 4.17.0.
Executive ViewAI
Coturn relay servers before version 4.17.0 are vulnerable to authenticated denial-of-service attacks that permanently exhaust relay port resources, disrupting video conferencing, VoIP, and real-time communication services. Organizations operating Coturn infrastructure must upgrade to restore service availability and prevent disruption of business-critical communications.
Apply vendor patch: Coturn 4.17.0. If immediate patching is infeasible, restrict TURN client credentials to authorized services only and implement per-user rate limiting on ALLOCATE requests.
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
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
EUVD-2026-56823
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB