CVE-2026-68553

Coturn: Format String Injection via TURN USERNAME/REALM into hiredis Redis Command

Published Aug 19, 2026 CVSS 3.1 · 7.1 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

Remediation

No solution or workaround provided in the CVE record.

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 available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Coturn
Coturn coturn
Vendors & Products Coturn
Coturn coturn
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'}

Weaknesses
  • CWE-134

    Use of Externally-Controlled Format String

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Aug 20, 2026, 7:48 PM
Reserved
Jul 30, 2026, 7:56 PM
Status
Deferred
Published
Aug 19, 2026, 9:17 PM
Modified
Oct 26, 2026, 10:10 AM
Severity
Important
Public date
Aug 19, 2026, 8:37 PM