Skip to content

CVE-2026-43994 Coturn: Stack buffer overflow in decode_oauth_token_gcm()

CriticalCVSS 9.8 EPSS 0.68%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: total
Technology
UbuntuDebian

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.

Upgrade path

9 packages: 2 fixed, 6 with no fix yet.

PackageAffectedFixed inStatus
debian/coturn(Debian 12) = 4.6.1-1; = 4.6.1-2; = 4.12.0-1; = 4.14.0-1 +3 more No fix listed No fix yet
debian/coturn(Debian 13) = 4.6.1-2; = 4.12.0-1; = 4.14.0-1; = 4.15.0-1 +2 more No fix listed No fix yet
ubuntu/coturn(Ubuntu 22.04) All versions No fix listed No fix yet
ubuntu/coturn(Ubuntu 24.04) All versions No fix listed No fix yet
ubuntu/coturn(Ubuntu 26.04) All versions No fix listed No fix yet
ubuntu/coturn(Ubuntu 26.10) All versions No fix listed No fix yet
coturn project coturn < 4.10.0 4.10.0 Fixed
debian/coturn(Debian 14) < 4.12.0-1; = 4.6.1-2 4.12.0-1 Fixed
coturn/coturn = < 4.10.0 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
coturn/coturn = < 4.10.0 No fix listed
debian/coturn(Debian:12) All versions No fix listed
debian/coturn(Debian:12) = 4.12.0-1 No fix listed
debian/coturn(Debian:12) = 4.14.0-1 No fix listed
debian/coturn(Debian:12) = 4.15.0-1 No fix listed
debian/coturn(Debian:12) = 4.18.0-1 No fix listed
debian/coturn(Debian:12) = 4.6.1-1 No fix listed
debian/coturn(Debian:12) = 4.6.1-2 No fix listed
debian/coturn(Debian:13) All versions No fix listed
debian/coturn(Debian:13) = 4.12.0-1 No fix listed
debian/coturn(Debian:13) = 4.14.0-1 No fix listed
debian/coturn(Debian:13) = 4.15.0-1 No fix listed
debian/coturn(Debian:13) = 4.18.0-1 No fix listed
debian/coturn(Debian:13) = 4.6.1-2 No fix listed
debian/coturn(Debian:14) < 4.12.0-1 4.12.0-1
debian/coturn(Debian:14) = 4.6.1-2 No fix listed
ubuntu/coturn(Ubuntu:22.04) All versions No fix listed
ubuntu/coturn(Ubuntu:24.04) All versions No fix listed
ubuntu/coturn(Ubuntu:26.04) All versions No fix listed
ubuntu/coturn(Ubuntu:26.10) All versions No fix listed
coturn project coturn < 4.10.0 4.10.0

References