Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2025-69217

HIGH 7.7EPSS 51%

Coturn has unsafe nonce and relay port randomization due to weak random number generation.

Mitigation

  • No fix listed yet: follow the vendor advisory.

Who should check

  • Anyone running coturn >= 4.6.2r5, <= 4.7.0-r4

Vulnerability facts

Affected
coturn >= 4.6.2r5, <= 4.7.0-r4
Fixed in
No fix listed yet
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Remote, login needed
CVSS
7.7 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Network
  • Attack complexity: Low
  • Privileges required: Low
  • User interaction: None
  • Scope: Changed (impact reaches other components)
  • Confidentiality impact: None
  • Integrity impact: None
  • Availability impact: High
EPSS
0.75% chance of exploitation in 30 days (percentile 51, 2026-11-26)
CWE
CWE-338
Published
Modified

Description

coturn is a free open source implementation of TURN and STUN Server. Versions 4.6.2r5 through 4.7.0-r4 have a bad random number generator for nonces and port randomization after refactoring. Additionally, random numbers aren't generated with openssl's RAND_bytes but libc's random() (if it's not running on Windows). When fetching about 50 sequential nonces (i.e., through sending 50 unauthenticated allocations requests) it is possible to completely reconstruct the current state of the random number generator, thereby predicting the next nonce. This allows authentication while spoofing IPs. An attacker can send authenticated messages without ever receiving the responses, including the nonce (requires knowledge of the credentials, which is e.g., often the case in IoT settings). Since the port randomization is deterministic given the pseudorandom seed, an attacker can exactly reconstruct the ports and, hence predict the randomization of the ports. If an attacker allocates a relay port, they know the current port, and they are able to predict the next relay port (at least if it is not used before). Commit 11fc465f4bba70bb0ad8aae17d6c4a63a29917d9 contains a fix.

Affected and fixed versions

Package / productAffectedFixedSource
coturn>= 4.6.2r5, <= 4.7.0-r4—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2025-69217. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-69217.md
Affected: coturn >= 4.6.2r5, <= 4.7.0-r4
Fixed in: no fixed version listed yet

Steps:
1. Search this machine and project for coturn: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2025-69217 being exploited?

There is no confirmed exploitation: CVE-2025-69217 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.75% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2025-69217?

High: CVSS 7.7 (v3.1, scored by CNA). Remote, login needed.

Which versions are affected by CVE-2025-69217?

coturn >= 4.6.2r5, <= 4.7.0-r4.

Is there a fix for CVE-2025-69217?

No fixed version is listed in the sources yet. No fix listed yet: follow the vendor advisory.

How do I check if I'm affected by CVE-2025-69217?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors