CVE-2026-43994Coturn: Stack buffer overflow in decode_oauth_token_gcm()
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
Fixed builds are available from Alpine, Debian: see the table below for the fixed version per release.
Debian, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | coturn | Fix pending | UBUNTU-CVE-2026-43994 | |
| Ubuntu 26.04 | coturn | Under investigation | UBUNTU-CVE-2026-43994 | |
| Ubuntu 25.10 | coturn | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2026-43994 | |
| Ubuntu 24.04 | coturn | Under investigation | UBUNTU-CVE-2026-43994 | |
| Ubuntu 22.04 | coturn | Fix pending | UBUNTU-CVE-2026-43994 | |
| Ubuntu 20.04 | coturn | Fix pending | UBUNTU-CVE-2026-43994 | |
| Ubuntu 18.04 | coturn | Fix pending | UBUNTU-CVE-2026-43994 | |
| Ubuntu 16.04 | coturn | Fix pending | UBUNTU-CVE-2026-43994 | |
| Debian 14 | coturn | Fixed | 4.12.0-1 | DEBIAN-CVE-2026-43994 |
| Debian 13 | coturn | Fix pending | DEBIAN-CVE-2026-43994 | |
| Debian 12 | coturn | Fix pending | DEBIAN-CVE-2026-43994 | |
| Alpine Linux 3.24 | coturn | Fixed | 4.10.0-r0 | ALPINE-CVE-2026-43994 |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- coturn: affected: < 4.10.0
References
- https://github.com/coturn/coturn/security/advisories/GHSA-74pg-rfh2-5qw5
- https://github.com/coturn/coturn/releases/tag/4.10.0
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.