CVE-2026-68553
JSON

7.1high

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

Severity
7.1high CVSS:3.1 by GitHub_M
Exploit likelihood
0.34% (higher than 30% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M

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.

Affected

Product or packageVersionsReported by
coturn coturn< 4.13.0CVE List

Classification

CWE-134

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

Coturn es una implementación gratuita de código abierto de servidor TURN y STUN. Antes de 4.13.0, un usuario TURN autenticado puede colocar especificadores de formato estilo printf en el atributo STUN USERNAME o REALM, lo que pasa la validación de is_secure_string() y se incrusta en las claves de Redis en nueve sitios de llamada en src/apps/relay/ns_ioalib_engine_impl.c. send_message_to_redis() en src/apps/relay/hiredis_libevent2.c luego pasa la clave controlada por el atacante como argumento de formato a redisAsyncCommand() mientras suministra solo un valor variádico, lo que hace que hiredis redisvFormatCommand() lea más allá de la va_list. La explotación puede bloquear el proceso de coturn y terminar las sesiones TURN activas o divulgar la memoria de la pila en Redis. Este problema se corrige en la versión 4.13.0.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-68553 changed 2026-08-20CVE Terms of Use
NVDCVE-2026-68553 changed 2026-10-26Public domain