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

Published Jun 18, 2026
·
Updated

Coturn is a free open source implementation of TURN and STUN Server. Versions prior to 4.10.0 contain a stack buffer overflow in decodeoauthtokengcm(). A uint16t noncelen 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 (oauthencryptedblock.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.

Affected Software

2 affected components
Coturn coturn<4.10.0
Coturn Project Coturn<4.10.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade coturn to a version that resolves this vulnerability.

    Fixed in 4.10.0
  2. Configuration

    If not required, run coturn without the --oauth mode to avoid the vulnerable code path (decode_oauth_token_gcm()).

    coturn --oauth mode = disable
  3. Compensating control

    If --oauth must be used, restrict access to coturn’s authentication/oauth processing endpoints so only trusted clients/networks can submit OAuth access tokens.

Event History

Jun 18, 2026
CVE Published
via MITRE·07:44 PM
Data Sourced
via MITRE·07:44 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·09:16 PM
DescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-43994?

The severity of CVE-2026-43994 is rated as high with a score of 8.1.

2

What is affected by CVE-2026-43994?

CVE-2026-43994 affects Coturn versions prior to 4.10.0.

3

How do I fix CVE-2026-43994?

To fix CVE-2026-43994, upgrade to Coturn version 4.10.0 or later.

4

What kind of vulnerability is CVE-2026-43994?

CVE-2026-43994 is a stack buffer overflow vulnerability in the decode_oauth_token_gcm() function.

5

How can CVE-2026-43994 be exploited?

CVE-2026-43994 can be exploited by supplying an attacker-controlled OAuth access token that leads to a buffer overflow.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203