Skip to main content

Coturn CVE-2026-68553

| EUVDEUVD-2026-63077 HIGH
Use of Externally-Controlled Format String (CWE-134)
2026-08-19 GitHub_M
7.1
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain valid TURN credentials
  2. Delivery
    Craft USERNAME/REALM with printf specifiers
  3. Exploit
    Send TURN Allocate to coturn
  4. Execution
    Attacker key embedded in Redis command format string
  5. Persist
    redisvFormatCommand reads past va_list
  6. Impact
    Process crash drops all sessions or leaks stack memory to Redis

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Format string safety
Exploitation Conditions

The attacker must hold valid TURN long-term credentials (username and password) for the targeted Coturn instance, corresponding to PR:L in the CVSS vector; unauthenticated exploitation is not possible. Coturn must have Redis integration enabled via configuration options such as --redis-userdb or --redis-statsdb - deployments backed by file-based, SQLite, PostgreSQL, or MySQL user databases do not reach the vulnerable send_message_to_redis() code path. The TURN/STUN service port (typically UDP/TCP 3478 or TLS 5349) must be network-reachable by the attacker. There is no requirement for elevated TURN privileges beyond standard user-level credentials, and no special client software is needed beyond a TURN-compliant client capable of crafting USERNAME or REALM attribute values containing percent signs. Exploitation is constrained by the need for valid credentials and the Redis dependency; environments that issue TURN credentials to untrusted or anonymous users (common in WebRTC signaling services) face materially higher risk.

Impact

The NVD CVSS 7.1 (High) vector AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:H is well-calibrated for this vulnerability: the attack is network-accessible and requires no special complexity beyond holding valid TURN credentials, the availability impact is High because a single crafted request can crash the coturn process and terminate all active TURN sessions, and confidentiality is Low due to stack memory potentially surfacing in Redis. No EPSS score was provided in the available intelligence, and no CISA KEV listing exists, so real-world exploitation frequency is unconfirmed. The practical risk is bounded by the PR:L requirement - attackers need valid TURN credentials - and by the further constraint that Redis integration must be enabled; deployments using file-based or SQL-backed user databases are not exposed by this code path. Despite the lack of a known public exploit, the vulnerability is straightforward to trigger with a minimal crafted TURN Allocate request once credentials are available, making it a meaningful availability risk for any public-facing WebRTC infrastructure that uses Redis-backed Coturn.

Exploit ScenarioDerived

An attacker with valid TURN credentials - obtained legitimately, stolen, or through credential stuffing - sends a TURN Allocate request whose USERNAME attribute contains a printf format string such as user%s%x%n%s. Coturn embeds this value into a Redis key and passes the concatenated command-plus-key as the format argument to redisAsyncCommand() with only one variadic argument; redisvFormatCommand() reads past the va_list, either crashing the coturn process and dropping all concurrent WebRTC sessions or reading stack memory that may contain sensitive data into Redis. No public proof-of-concept code has been identified, but the exploit technique maps directly to the described code path and requires only a standard TURN client.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 19, 2026

Format string injection in Coturn prior to 4.13.0 lets an authenticated TURN user crash the relay server or leak stack memory into Redis by embedding printf-style specifiers in STUN USERNAME or REALM attributes. At nine call sites in ns_ioalib_engine_impl.c, attacker-controlled values pass is_secure_string() validation and are embedded into Redis keys; send_message_to_redis() then passes the composite key as the format argument to redisAsyncCommand(), causing redisvFormatCommand() to read past the va_list. No public exploit identified at time of analysis and no CISA KEV listing; however, the attack surface is reachable by any valid TURN credential holder, including guest or externally-provisioned users in many WebRTC deployments.

RemediationAI

Upgrade to Coturn 4.13.0 or later, available at https://github.com/coturn/coturn/releases/tag/4.13.0; this is the vendor-released patch confirmed by commit 8fa38032bb4751e11e072d65a8eca3c06c950979 and security advisory GHSA-4g7c-p5wg-j4hp. If immediate upgrade is not feasible, disabling Redis integration (removing --redis-userdb, --redis-statsdb, and related Redis configuration directives) eliminates the vulnerable send_message_to_redis() code path entirely, at the cost of losing Redis-backed session persistence, quota enforcement, and distributed credential lookups. A narrower compensating control is to restrict TURN credential issuance to fully trusted internal users, reducing the probability that an attacker holds valid credentials; however, this does not eliminate the vulnerability and is not a substitute for patching. No vendor-documented workaround preserves full functionality without the patch.

Affected VersionsENISA

coTURN < 4.13.0

Affected Packages

euvd coturn fix: 4.13.0

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 an open-source TURN and STUN server (CPE: cpe:2.3:a:coturn:coturn:*:*:*:*:*:*:*:*) widely deployed as a WebRTC media relay. The vulnerability is CWE-134 (Use of Externally-Controlled Format String). In src/apps/relay/ns_ioalib_engine_impl.c, STUN USERNAME and REALM attribute values are incorporated verbatim into Redis key strings after passing is_secure_string() - a check that does not strip printf conversion specifiers. The function send_message_to_redis() in src/apps/relay/hiredis_libevent2.c historically constructed a format string by snprintf-concatenating the Redis command with the attacker-controlled key, then supplied that composite string as the format argument to hiredis redisAsyncCommand() with only a single variadic value (the Redis value field). Because redisvFormatCommand() walks the format string consuming va_list entries per specifier, any additional %s/%x/%n tokens in the key cause it to read past the end of the va_list - producing a crash or exposing stack memory. The fix, confirmed in commit 8fa38032, replaces the dynamic format construction with a constant "%s %s %s" literal and passes command, key, and value strictly as data arguments.

Know when Coturn 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

Vendor (GitHub_M) PRIMARY 7.1 HIGH
AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:H
vuln.today AI 7.1 HIGH

Requires valid TURN credentials (PR:L); Redis integration is common enough that AC:L holds; stack leak is Low confidentiality; process crash is High availability with no scope change.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:H
4.0 AV:N/AC:L/AT:P/PR:L/UI:N/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N
SUSE HIGH
Red Hat 7.1 HIGH

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
None
Availability
High

Lifecycle Timeline

2
Patch available
Aug 19, 2026 - 22:04 EUVD
CVE Published
Aug 19, 2026 - 20:37 cve.org
HIGH 7.1

DescriptionCVE.org

Coturn is a free open source implementation of TURN and STUN Server. Prior to 4.13.0, an authenticated TURN user can place printf-style format specifiers in the STUN USERNAME or REALM attribute, which passes is_secure_string() validation and is embedded into Redis keys at nine call sites in src/apps/relay/ns_ioalib_engine_impl.c. send_message_to_redis() in src/apps/relay/hiredis_libevent2.c then passes the attacker-controlled key as the format argument to redisAsyncCommand() while supplying only one variadic value, causing hiredis redisvFormatCommand() to read past the va_list. Exploitation can crash the coturn process and terminate active TURN sessions or disclose stack memory into Redis. This issue is fixed in version 4.13.0.

Executive ViewAI

Why It Matters

Coturn TURN relay servers prior to version 4.13.0 are vulnerable to format string injection via crafted STUN authentication attributes, allowing authenticated users to crash the relay service or exfiltrate sensitive stack memory. This directly impacts organizations operating WebRTC platforms (video conferencing, peer-to-peer communication) where TURN servers are essential infrastructure; widespread guest or federated user bases amplifies the attack surface.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: restrict TURN access to trusted, authenticated users only; implement input validation or filtering to block printf-style format specifiers (%, $) in STUN USERNAME and REALM attributes; enable Redis access controls and monitoring for anomalous key patterns; configure rate limiting on TURN authentication attempts; establish monitoring alerts for unexpected server crashes or memory-related Redis errors; evaluate network segmentation to isolate TURN infrastructure from sensitive systems.

Threat Intelligence Overview

EPSS Score
0.3%
Top 80% exploitable
Prevalence
Medium
widely used open-source TURN server for WebRTC deployments
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor GitHub

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Partial

Priority Score

36
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +36
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

More in Coturn

View all
CVE-2020-6061 CRITICAL POC
9.8 Feb 19

An exploitable heap out-of-bounds read vulnerability exists in the way CoTURN 4.5.1.1 web server parses POST requests. R

CVE-2020-6062 HIGH POC
7.5 Feb 19

An exploitable denial-of-service vulnerability exists in the way CoTURN 4.5.1.1 web server parses POST requests. Rated h

CVE-2026-27624 HIGH POC
7.2 Feb 25

Coturn TURN/STUN server contains an access control bypass that allows remote attackers to reach blocked internal address

CVE-2026-43994 CRITICAL
9.8 Jun 18

Stack buffer overflow in Coturn's OAuth token decoder (decode_oauth_token_gcm()) lets remote unauthenticated attackers c

CVE-2026-40613 HIGH
7.5 Apr 21

Remote denial of service in Coturn TURN/STUN server allows unauthenticated attackers to crash ARM64 deployments with a s

CVE-2020-4067 HIGH
7.5 Jun 29

In coturn before version 4.5.1.3, there is an issue whereby STUN/TURN response buffer is not initialized properly. Rated

CVE-2026-53450 HIGH
7.4 Jul 10

Server-side request forgery in coturn TURN/STUN server before 4.13.0 lets an authenticated TURN client bypass the defaul

CVE-2026-53448 HIGH
7.2 Jul 10

SQL injection in the Coturn TURN/STUN server's HTTPS admin panel (versions prior to 4.12.0) allows an authenticated admi

CVE-2026-104074 MEDIUM
6.9 Oct 07

Unauthenticated remote attackers can leak residual stack memory from Coturn 4.10.0 by sending a TURN Allocate request wi

CVE-2026-68555 MEDIUM
6.5 Aug 19

Memory exhaustion in Coturn 4.15.0 allows an authenticated TURN user to crash or degrade server availability by abusing

CVE-2026-53449 MEDIUM
6.0 Jul 10

Arbitrary file overwrite in Coturn prior to 4.13.0 is possible through the CLI management interface's `psd` (print sessi

CVE-2026-43915 MEDIUM
5.4 Jun 18

Stored XSS in Coturn's web-admin HTTPS interface (all versions prior to 4.11.0) allows a TURN-level attacker to inject p

Vendor StatusVendor

SUSE

Severity: Important

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy