{"id":"CVE-2026-43994","aliases":["CVE-2026-43994"],"related":[],"kind":"vulnerability","state":"published","title":"Coturn: Stack buffer overflow in decode_oauth_token_gcm()","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-06-18T19:44:46.575Z","modified":"2026-06-26T02:30:37.633Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.1,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.1,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"}],"cwes":["CWE-120"],"affected":[{"ranges":[{"version":"< 4.10.0","status":"affected"}],"vendor":"coturn","product":"coturn","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"4.10.0"}],"vendor":"coturn_project","product":"coturn","cpe":"cpe:2.3:a:coturn_project:coturn:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/coturn/coturn/security/advisories/GHSA-74pg-rfh2-5qw5","tags":["exploit","mitigation","vendor-advisory","x-refsource-confirm"],"sources":["cvelist","nvd"]},{"url":"https://github.com/coturn/coturn/releases/tag/4.10.0","tags":["release-notes","x-refsource-misc"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"total","date":"2026-06-22T18:06:24.207Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-43994","url":"https://www.cve.org/CVERecord?id=CVE-2026-43994","licence":"CVE Terms of Use","modified":"2026-06-22T18:06:27.688Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-43994","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-43994","licence":"Public domain","modified":"2026-06-26T02:30:37.633Z"}],"updatedAt":"2026-11-25T22:59:25.173Z","epss":{"score":0.0045,"percentile":0.40837,"date":"2026-12-01T12:00:22.000Z"}}