CVE-2026-68553 PUBLISHED

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

Assigner: GitHub_M
Reserved: 30.07.2026 Published: 19.08.2026 Updated: 19.08.2026

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.

Metrics

CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:H
CVSS Score: 7.1

Product Status

Vendor coturn
Product coturn
Versions
  • Version < 4.13.0 is affected

References

Problem Types

  • CWE-134: Use of Externally-Controlled Format String CWE