Skip to main content

Coturn CVE-2026-62959

| EUVDEUVD-2026-51627 HIGH
Out-of-bounds Read (CWE-125)
2026-07-31 security-advisories@github.com
8.2
CVSS 4.0 · Vendor: github
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify Coturn plaintext TCP ACME listener
  2. Delivery
    Send single HTTP GET / request unauthenticated
  3. Exploit
    Trigger signed→unsigned size_t wrap in try_acme_redirect()
  4. Execution
    Bypass NUL-termination and bounds guard
  5. Persist
    Receive 301 Location header containing up to 870 bytes of adjacent heap
  6. Impact
    Parse leaked bytes for TURN credentials or OAuth tokens

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, read limits
MITRE ATT&CK

1 technique across 1 tactic: Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Two explicit non-default configuration conditions must both be true: (1) Coturn must be launched with the --acme-redirect <URL> command-line argument, a flag used specifically for ACME/Let's Encrypt HTTP-01 challenge redirect workflows; and (2) a plaintext TCP listener must be exposed (not TLS/DTLS only). When both conditions are met, exploitation requires no authentication (CVSS 4.0 PR:N), no user interaction, and a single standard HTTP GET request - making it fully automatable. What limits exploitation: Coturn instances not using --acme-redirect are completely unaffected regardless of version; TLS-only deployments are not vulnerable via this path. The impact is strictly confidentiality (heap read); no memory write, privilege escalation, or availability impact is possible through this vulnerability.

Impact

The vendor-supplied CVSS 4.0 vector (AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N) scores 8.2, with AT:P encoding the specific attack requirement: the --acme-redirect flag must be configured and a plaintext TCP listener must be exposed. This is a non-default operator configuration, which materially limits the exposed population compared to the raw score suggests. For deployments that do match this configuration - a common pattern in automated Let's Encrypt workflows - exploitation is single-packet, unauthenticated, and fully automatable, making mass scanning feasible. The confidentiality impact is genuinely high: leaked heap may contain TURN authentication material and OAuth tokens from concurrent sessions, representing a credential-harvest risk against affected infrastructure. No CISA KEV listing exists, and no EPSS data was provided in the intelligence set, so exploitation prevalence in the wild cannot be assessed numerically. The GitHub advisory includes a documented proof-of-concept test case (an ordinary GET / HTTP/1.1 request), which substantially lowers the exploitation skill threshold. Integrity and availability are unaffected. The key risk qualifier is configuration dependency: organizations that have never enabled --acme-redirect face zero exposure from this CVE.

Exploit ScenarioDerived

An attacker scans for Coturn servers exposing a plaintext TCP listener and sends a single HTTP GET request - for example, GET / HTTP/1.1\r\nHost: target\r\n\r\n - to port 80 or the configured ACME redirect port. The server's try_acme_redirect() function processes the request, the signed-to-unsigned wrap fires, and the HTTP 301 response Location header returns up to 870 bytes of adjacent heap. On a busy WebRTC relay server handling concurrent sessions, this memory may contain TURN long-term credentials or OAuth bearer tokens extracted from other clients' buffered requests.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 31, 2026

Heap memory disclosure in Coturn 4.5.2-4.14.0 allows an unauthenticated remote attacker to extract up to ~870 bytes of adjacent process heap per request by sending a single HTTP GET to the ACME redirect plaintext TCP listener. The leaked memory originates from recycled, unzeroed network receive buffers and on busy relay servers can contain TURN credentials, OAuth tokens, or relayed session payloads from concurrent clients. Exploitation is trivially automatable against the affected configuration; no public exploit identified at time of analysis beyond the proof-of-concept test case shipped with the advisory.

RemediationAI

Upgrade to Coturn 4.15.0, the vendor-released patched version confirmed at https://github.com/coturn/coturn/releases/tag/4.15.0. The fix is also available as commit 960835886692fa04cf63ddd970c3f330740c87f4 (PR #1965), though the tagged release should be used for production deployments rather than building from a commit directly. If immediate upgrade is not possible, the most effective workaround is removing the --acme-redirect flag from the Coturn startup configuration entirely; this disables the vulnerable code path with no impact on TURN/STUN relay functionality, though automated ACME certificate redirect will be lost and an alternative certificate renewal workflow must be substituted. A secondary compensating control is restricting access to the plaintext TCP listener to trusted networks via firewall rules, reducing attacker reach - but this does not eliminate the vulnerability if trusted-network access is achievable by an adversary. There is no runtime toggle for the ACME redirect feature; a configuration change and service restart are required.

Affected VersionsENISA

coTURN 4.5.2, < 4.15.0

Affected Packages

euvd coturn_4_5_2 fix: 4.15.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Coturn is a widely used open-source C implementation of TURN (RFC 5766) and STUN (RFC 5389), commonly deployed as a WebRTC relay. The vulnerability resides in src/apps/relay/acme.c within try_acme_redirect(), the handler invoked when the --acme-redirect flag is active. CWE-125 (Out-of-bounds Read) applies: the function calls is_acme_req() which returns negative int values (-1, -2, -3) on all rejection paths. Before the fix, this return value was stored directly into a size_t variable (plen). On 64-bit systems, assigning -1 to size_t wraps to 0xFFFFFFFFFFFFFFFF, a value that bypasses the lower-bound length guard. The code then used plen to NUL-terminate req[plen] at an arbitrary heap offset and subsequently passed req + GET_ACME_PREFIX_LEN as a %s argument to snprintf, reading from an un-terminated string through adjacent heap into the 301 Location response header. The leaked region is a recycled network receive buffer that is not zeroed between uses, making its contents attacker-observable. The fix (commit 960835886692fa04cf63ddd970c3f330740c87f4, PR #1965) introduces an intermediate signed int prc, checks for negative values before any unsigned cast, and copies the path to a bounded local stack buffer (path[131+1]) rather than mutating the shared receive buffer.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (github) PRIMARY 8.2 HIGH
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
vuln.today AI 5.9 MEDIUM

Non-default --acme-redirect operator configuration required maps to AC:H; no integrity or availability impact applies.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
4.0 AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
SUSE MEDIUM
Red Hat 7.5 HIGH

Primary rating from Vendor (github).

CVSS VectorVendor: github

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
Jul 31, 2026 - 21:02 EUVD
CVE Published
Jul 31, 2026 - 20:16 cve.org
HIGH 8.2

DescriptionCVE.org

Coturn is a free open source implementation of TURN and STUN Server. From 4.5.2 through 4.14.0, when Coturn is started with --acme-redirect <URL> and exposes a plaintext-TCP listener, an unauthenticated remote client can send a single ordinary HTTP GET request and receive a 301 response whose Location header contains up to ~870 bytes of adjacent process heap memory. The leaked region is a recycled network receive buffer that is reused without being zeroed, so on a busy server it can contain data from other clients' requests (TURN credentials, OAuth tokens, relayed payloads). Root cause is a signed→unsigned conversion. This issue is fixed in version 4.15.0.

Executive ViewAI

Why It Matters

Coturn relay server versions 4.5.2-4.14.0 allow unauthenticated remote attackers to repeatedly extract up to ~870 bytes of sensitive data from server process memory, including TURN credentials and OAuth tokens. Organizations operating affected Coturn versions risk credential compromise and token theft without immediate mitigation measures.

Business Impact: High
Compensating Controls

Network-based access controls restricting ACME redirect plaintext listener to authorized clients; per-client authentication on TURN relay services; connection rate limiting and request throttling; intrusion detection signatures for exploitation attempts; process-level isolation and sandboxing; deployment restricted to internal networks only.

Threat Intelligence Overview

EPSS Score
0.4%
Top 69% exploitable
Prevalence
Medium
widely deployed as WebRTC TURN relay in real-time communications infrastructure
Social Media
2
Sightings
Data Quality
8 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor CIRCL GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Out-of-Cycle
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

41
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +41
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Vendor StatusVendor

SUSE

Severity: Moderate

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy