CVE-2026-40613

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

Published Apr 21, 2026 CVSS 3.1 · 7.5 High EPSS 1.2% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

Coturn’s STUN/TURN attribute parsing performs unsafe pointer casts (CWE‑704), allowing a crafted UDP packet with odd‑aligned attributes to trigger a misaligned memory read on ARM64. The resulting SIGBUS kills the turnserver process, causing a denial of service to all clients. The flaw is exploitable by an unauthenticated remote attacker and requires no authentication or privileged input.

Affected Systems

The vulnerability affects coturn servers running any version prior to 4.10.0 on ARM64 (AArch64) hardware. All coturn installations exposing the default TURN/STUN port are at risk when deployed on this architecture.

Risk and Exploitability

The CVSS score of 7.5 indicates moderate‑to‑severe risk. No exploitation probability score has been published, and the vulnerability is not listed in the CISA KEV catalog, but the very small attack surface and the single‑packet requirement suggest a high likelihood of exploitation in targeted deployments, based on inference from the description. Because the attack originates from a raw UDP packet, it can be carried out remotely without authentication, making quick service disruption possible.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade coturn to version 4.10.0 or newer.
  • If an upgrade is not immediately feasible, restrict inbound STUN/TURN UDP (usually port 3478) to known, trusted hosts via firewall rules.
  • Continuously monitor system logs for SIGBUS events and ensure the server is restarted promptly after any crash.

Generated by OpenCVE AI on April 22, 2026 at 07:15 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Coturn Project
Coturn Project coturn
CPEs cpe:2.3:a:coturn_project:coturn:*:*:*:*:*:*:*:*
Vendors & Products Coturn Project
Coturn Project coturn
Type Values Removed Values Added
First Time appeared Coturn
Coturn coturn
Vendors & Products Coturn
Coturn coturn
Type Values Removed Values Added
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.
Title Coturn: Misaligned Memory Access in coturn STUN Attribute Parser (Remote DoS on ARM64)
Weaknesses CWE-704
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Weaknesses
  • CWE-704

    Incorrect Type Conversion or Cast

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Apr 21, 2026, 8:36 PM
Reserved
Apr 14, 2026, 2:07 PM
Status
Analyzed
Published
Apr 21, 2026, 7:16 PM
Modified
Nov 11, 2026, 11:10 PM