Description
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.
Published: 2026-08-19
Score: 7.1 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability is a format string injection that occurs when an authenticated TURN user sends printf‑style specifiers in the STUN USERNAME or REALM attributes. These values are validated as secure strings but are later injected directly into redis keys used by hiredis. The format string is passed to redisAsyncCommand() with only one argument, causing hiredis’ redisvFormatCommand() to read past the va_list. This can crash the coturn process, terminate active TURN sessions, or leak stack memory into Redis if the attacker can observe the key contents.

Affected Systems

Affected products include all versions of the coturn TURN/STUN server released before 4.13.0. The vulnerability applies to the coturn product as distributed by the coturn vendor. Clients connecting to a coturn instance with authenticated TURN credentials and supplying malicious USERNAME or REALM fields are able to trigger the flaw.

Risk and Exploitability

The CVSS score of 7.1 indicates a high severity. No EPSS score is available, so the exploitation probability cannot be quantified, and the vulnerability is not listed in CISA KEV. The flaw is exploitable from any authenticated client that can send a TURN binding request, so the attack vector is within the protected network. A successful exploit can cause a denial of service or potentially disclose sensitive stack data to an attacker who can read the rogue redis key.

Generated by OpenCVE AI on August 20, 2026 at 08:04 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply coturn version 4.13.0 or later to remove the vulnerable code path.
  • If an upgrade cannot be performed immediately, restrict TURN client access to trusted networks or disable TURN functionality until the patch is applied.
  • Monitor cotturn logs and Redis for abnormal crash events or unexpected key creation that could indicate exploitation attempts.

Generated by OpenCVE AI on August 20, 2026 at 08:04 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sat, 22 Aug 2026 00:15:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

threat_severity

Important


Thu, 20 Aug 2026 01:15:00 +0000

Type Values Removed Values Added
First Time appeared Coturn
Coturn coturn
Vendors & Products Coturn
Coturn coturn

Wed, 19 Aug 2026 21:00:00 +0000

Type Values Removed Values Added
Description 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.
Title Coturn: Format String Injection via TURN USERNAME/REALM into hiredis Redis Command
Weaknesses CWE-134
References
Metrics cvssV3_1

{'score': 7.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:H'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-08-20T19:48:45.809Z

Reserved: 2026-07-30T19:56:44.102Z

Link: CVE-2026-68553

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-19T21:17:28.163

Modified: 2026-08-20T20:17:45.927

Link: CVE-2026-68553

cve-icon Redhat

Severity : Important

Publid Date: 2026-08-19T20:37:42Z

Links: CVE-2026-68553 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-20T08:15:17Z

Weaknesses
  • CWE-134

    Use of Externally-Controlled Format String