Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify Coturn plaintext TCP ACME listener
-
DeliverySend single HTTP GET / request unauthenticated
-
ExploitTrigger signed→unsigned size_t wrap in try_acme_redirect()
-
ExecutionBypass NUL-termination and bounds guard
-
PersistReceive 301 Location header containing up to 870 bytes of adjacent heap
-
ImpactParse 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
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
Non-default --acme-redirect operator configuration required maps to AC:H; no integrity or availability impact applies.
Primary rating from Vendor (github).
CVSS VectorVendor: github
Lifecycle Timeline
2DescriptionCVE.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
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.
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
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.
EUVD-2026-51627
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB