Coturn: Stack buffer overflow in decode_oauth_token_gcm()
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA. Impact type from CWE-120 and the CVSS impact.
Summary
Coturn is a free open source implementation of TURN and STUN Server. Versions prior to 4.10.0 contain a stack buffer overflow in decode_oauth_token_gcm(). A uint16_t nonce_len field read from an attacker-supplied OAuth access token (0-65535) is passed directly to memcpy() as the copy length into a 256-byte stack buffer (oauth_encrypted_block.nonce[256]) without bounds checking. The overflow occurs before AES-GCM authentication is verified, the attacker does not need to know the OAuth key or produce a valid AES-GCM token. Up to 735 bytes of attacker-controlled data are written past the buffer, may corrupt adjacent stack data, including control-flow data depending on compiler, ABI, and mitigations. Requires --oauth mode (non-default). This may provide a plausible RCE primitive depending on exploit mitigations; because coturn is widely deployed for WebRTC TURN/STUN and --oauth is commonly recommended, impact can be broad. This issue has been fixed in version 4.10.0.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
- Fix · CNA coturn (coturn) Fixed in 4.10.0
Vendor assessments
Timeline
- 2026-10-02 Threatist record created from CVE-2026-43994
References
More Coturn vulnerabilities
- 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-38531 Coturn: IPv4-mapped 127.0.0.1 bypasses default loopback peer protection CVSS 3.1HIGH 7.4
- TI-2026-38530 Coturn: Arbitrary File Write via CLI psd Command CVSS 3.1MEDIUM 6.0
- TI-2020-04928 Out-of-bounds read in CoTURN CVSS 3.1CRITICAL 9.8
Sources
- CVE-2026-43994 · CVE Program
- CVE-2026-43994 · NVD
- FIRST EPSS
- CVE-2026-43994 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences