Read the docs
TI-2025-42671 Aliases CVE-2025-69217

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

Priority LOW 34CWE-338Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
None
Attack complexity
Low
Impact type
—
Confidentiality · integrity · availability
None · None · High
Fix status
No fix listed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA.

Summary

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00412 35th percentileScored 2026-11-07
Fix No fix listed No fixed version in the sources yet

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
coturncoturn4.6.2r5 – 4.7.0-r4—No fix listedCNA
  • coturn Vendorcoturn Affected 4.6.2r5 – 4.7.0-r4 Fixed in — No fix listed CNA

CPE names Threatist (inferred) · 1

Inferred from how NVD named this product before; not given by a source.

CPEVersionsRoleVendor
cpe:2.3:a:coturn_project:coturn:*:*:*:*:*:*:*:*——coturn
  • cpe:2.3:a:coturn_project:coturn:*:*:*:*:*:*:*:* Versions — — ·coturn

Remediation

No fixed version listed by the sources yet.

Vendor assessments

Red Hat

Red Hat's page for this CVE →

Not affected: 1 product
  • Red Hat

Timeline

  1. 2026-10-02 Threatist record created from CVE-2025-69217

References

  • TI-2026-32037 Coturn: Stack buffer overflow in decode_oauth_token_gcm() CVSS 3.1CRITICAL 9.8
  • TI-2026-44985 Coturn: Pre-authentication heap memory disclosure in ACME redirect (`try_acme_redirect`) CVSS 4.0HIGH 8.2
  • TI-2026-29348 Coturn: Misaligned Memory Access in coturn STUN Attribute Parser (Remote DoS on ARM64) CVSS 3.1HIGH 7.5
  • TI-2026-22006 Coturn: IPv4-mapped IPv6 (::ffff:0:0/96) bypasses denied-peer-ip ACL CVSS 3.1HIGH 7.2
  • TI-2026-38529 Coturn: SQL Injection in HTTPS Admin Panel Delete Operations CVSS 3.1HIGH 7.2
  • TI-2026-46994 Coturn: MOBILITY-TICKET session-resume authorization bypass allows cross-user TURN allocation takeover CVSS 3.1HIGH 7.1
See all 26 →

Sources