CVE-2026-40613
JSON

7.5high

Coturn: Misaligned Memory Access in coturn STUN Attribute Parser (Remote DoS on ARM64)

Severity
7.5high CVSS:3.1 by GitHub_M
Exploit likelihood
1.17% (higher than 68% 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.10.0, the STUN/TURN attribute parsing functions in coturn perform unsafe pointer casts from uint8_t * to uint16_t * without alignment checks. When processing a crafted STUN message with odd-aligned attribute boundaries, this results in misaligned memory reads at ns_turn_msg.c. On ARM64 architectures (AArch64) with strict alignment enforcement, this causes a SIGBUS signal that immediately kills the turnserver process. An unauthenticated remote attacker can crash any ARM64 coturn deployment by sending a single crafted UDP packet. This vulnerability is fixed in 4.10.0.

Affected

Product or packageVersionsReported by
coturn coturn< 4.10.0CVE List
coturn_project coturnbefore 4.10.0NVD

Classification

CWE-704

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

What each source says

CVE List

Coturn is a free open source implementation of TURN and STUN Server. Prior to 4.10.0, the STUN/TURN attribute parsing functions in coturn perform unsafe pointer casts from uint8_t * to uint16_t * without alignment checks. When processing a crafted STUN message with odd-aligned attribute boundaries, this results in misaligned memory reads at ns_turn_msg.c. On ARM64 architectures (AArch64) with strict alignment enforcement, this causes a SIGBUS signal that immediately kills the turnserver process. An unauthenticated remote attacker can crash any ARM64 coturn deployment by sending a single crafted UDP packet. This vulnerability is fixed in 4.10.0.

NVD (es)

Coturn es una implementación gratuita de código abierto de servidor TURN y STUN. Antes de la versión 4.10.0, las funciones de análisis de atributos STUN/TURN en coturn realizan conversiones de puntero inseguras de uint8_t * a uint16_t * sin comprobaciones de alineación. Al procesar un mensaje STUN manipulado con límites de atributos alineados de forma impar, esto resulta en lecturas de memoria desalineadas en ns_turn_msg.c. En arquitecturas ARM64 (AArch64) con aplicación estricta de alineación, esto provoca una señal SIGBUS que termina inmediatamente el proceso turnserver. Un atacante remoto no autenticado puede bloquear cualquier despliegue de coturn en ARM64 enviando un único paquete UDP manipulado. Esta vulnerabilidad se corrige en la versión 4.10.0.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-40613 changed 2026-04-21CVE Terms of Use
NVDCVE-2026-40613 changed 2026-11-11Public domain