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.
Severity (CVSS)
| Base score | 7.1 |
|---|---|
| Severity | High |
| Version | CVSS 3.1 |
| Vector | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:H |
| Provided by | CNA |
Weaknesses
- CWE-134 — CWE-134: Use of Externally-Controlled Format String
Affected products
| Vendor | Product | Versions |
|---|---|---|
| coturn | coturn | < 4.13.0 |
References
- https://github.com/coturn/coturn/security/advisories/GHSA-4g7c-p5wg-j4hp (x_refsource_CONFIRM)
- https://github.com/coturn/coturn/commit/8fa38032bb4751e11e072d65a8eca3c06c950979 (x_refsource_MISC)
- https://github.com/coturn/coturn/releases/tag/4.13.0 (x_refsource_MISC)
Generated from the official CVE List on 20 Aug 2026 07:06 UTC.