What’s Vulnerable › Vulnerabilities
CVE-2026-40613: Coturn: Misaligned Memory Access in coturn STUN Attribute Parser (Remote DoS on ARM64)
- Severity: high (CVSS 7.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.1% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2026-04-21 · updated 2026-06-17
- Weakness: CWE-704
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 products
- coturn: before 4.10.0 — fixed in 4.10.0
How to fix
Upgrade to a fixed version: coturn 4.10.0. Check the vendor advisory for mitigations.
References
- https://github.com/coturn/coturn/security/advisories/GHSA-j662-9wcj-mf36
- https://github.com/coturn/coturn/security/advisories/GHSA-j662-9wcj-mf36
Get alerted when CVE-2026-40613 or the next vulnerability affects your stack