Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-40613

CVE-2026-40613: Coturn STUN/TURN Server DoS Vulnerability

CVE-2026-40613 is a denial of service flaw in Coturn STUN/TURN Server caused by unsafe pointer casts that trigger crashes on ARM64 systems. This article covers the technical details, affected versions, and mitigation.

Published: April 23, 2026

CVE-2026-40613 Overview

CVE-2026-40613 is a denial of service vulnerability in Coturn, a free open source implementation of TURN and STUN Server. The vulnerability exists in STUN/TURN attribute parsing functions that 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 terminates the turnserver process.

Critical Impact

An unauthenticated remote attacker can crash any ARM64 coturn deployment by sending a single crafted UDP packet, causing complete service disruption.

Affected Products

  • Coturn TURN/STUN Server versions prior to 4.10.0
  • ARM64 (AArch64) deployments with strict alignment enforcement
  • Any deployment processing untrusted STUN/TURN traffic

Discovery Timeline

  • 2026-04-21 - CVE CVE-2026-40613 published to NVD
  • 2026-04-22 - Last updated in NVD database

Technical Details for CVE-2026-40613

Vulnerability Analysis

This vulnerability stems from improper type casting (CWE-704) in the STUN/TURN message parsing routines. The affected code performs direct pointer casts from byte arrays (uint8_t *) to 16-bit integer pointers (uint16_t *) when parsing STUN attributes. This cast assumes proper memory alignment, which is not guaranteed for STUN message attributes that can appear at arbitrary byte offsets.

On x86 architectures, misaligned memory access typically results in a performance penalty but the operation completes successfully. However, ARM64 processors with strict alignment enforcement treat misaligned memory access as a fatal error, generating a SIGBUS signal that terminates the process immediately. This architectural difference makes ARM64 coturn deployments particularly vulnerable to this attack.

The fix in version 4.10.0 addresses this by implementing proper alignment checks or using byte-by-byte memory access patterns that are architecture-safe.

Root Cause

The root cause is an unsafe pointer cast in ns_turn_msg.c where the STUN attribute parsing logic casts byte pointers directly to 16-bit integer pointers without verifying memory alignment. STUN message attributes can be positioned at any byte offset within the message payload, leading to odd-aligned memory boundaries that violate the alignment requirements for multi-byte data types on ARM64 processors.

Attack Vector

The attack vector is network-based and requires no authentication. An attacker can craft a malicious STUN message with attributes positioned at odd byte boundaries. When this packet is sent via UDP to a vulnerable coturn server running on ARM64 hardware, the misaligned memory access triggers a SIGBUS signal, causing an immediate process crash. The attack requires only a single crafted UDP packet and no prior authentication or interaction with the server.

The vulnerability is particularly severe because STUN/TURN servers are typically internet-facing to facilitate WebRTC and VoIP communications. The misaligned attribute parsing occurs before any authentication checks, allowing completely unauthenticated remote attackers to exploit this flaw.

Detection Methods for CVE-2026-40613

Indicators of Compromise

  • Unexpected turnserver process terminations with SIGBUS exit signals
  • Core dumps from the coturn process indicating misaligned memory access
  • System logs showing abnormal STUN message processing failures
  • Sudden service unavailability without resource exhaustion indicators

Detection Strategies

  • Monitor for SIGBUS signals in process supervision systems (systemd, supervisord)
  • Implement process monitoring to detect rapid coturn restarts
  • Analyze network traffic for malformed STUN messages with unusual attribute alignments
  • Deploy intrusion detection signatures for STUN packets with odd-aligned attribute boundaries

Monitoring Recommendations

  • Configure alerting for coturn process crashes on ARM64 deployments
  • Enable core dump collection to capture crash evidence for forensic analysis
  • Monitor UDP traffic patterns for potential exploit attempts
  • Track coturn service availability metrics to detect exploitation attempts

How to Mitigate CVE-2026-40613

Immediate Actions Required

  • Upgrade to coturn version 4.10.0 or later immediately
  • Prioritize patching ARM64 deployments as they are most vulnerable
  • Implement network-level filtering to restrict STUN/TURN access to trusted networks where possible
  • Enable process supervision to automatically restart crashed turnserver instances as a temporary measure

Patch Information

The vulnerability is fixed in coturn version 4.10.0. Users should upgrade to this version or later as soon as possible. The security advisory and patch details are available in the GitHub Security Advisory.

Workarounds

  • Deploy coturn on x86/x86_64 architecture where misaligned access does not cause crashes (temporary workaround only)
  • Implement network-level access controls to limit exposure to trusted clients
  • Use a reverse proxy or firewall to filter potentially malicious STUN packets
  • Enable automatic process restart via systemd or similar to minimize downtime from crashes
bash
# Enable automatic restart in systemd for temporary resilience
sudo systemctl edit coturn.service
# Add under [Service] section:
# Restart=always
# RestartSec=5

# Verify coturn version after upgrade
turnserver --version
# Should show 4.10.0 or later

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechCoturn

  • SeverityHIGH

  • CVSS Score7.5

  • EPSS Probability0.08%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-704
  • Technical References
  • GitHub Security Advisory
  • Related CVEs
  • CVE-2026-27624: Coturn Auth Bypass Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English