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

- Severity: High 8.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.45%, higher than 40% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-06-18T19:44:46.575Z
- Modified: 2026-06-26T02:30:37.633Z
- Weaknesses: CWE-120
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- coturn coturn: < 4.10.0
- coturn_project coturn: before 4.10.0

## Every score

- GitHub_M: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/coturn/coturn/security/advisories/GHSA-74pg-rfh2-5qw5> (exploit, mitigation, vendor-advisory)
- <https://github.com/coturn/coturn/releases/tag/4.10.0> (release-notes)

## Sources

- CVE List: [CVE-2026-43994](https://www.cve.org/CVERecord?id=CVE-2026-43994), CVE Terms of Use, modified 2026-06-22
- NVD: [CVE-2026-43994](https://nvd.nist.gov/vuln/detail/CVE-2026-43994), Public domain, modified 2026-06-26

---

Page: https://cve.day/CVE-2026-43994 · Whole record: https://cve.day/CVE-2026-43994.json · Rebuilt by cve.day 2026-11-25T22:59:25.173Z
