Back

MEDIUM

Coturn: uint16_t truncation overflow in STUN message length causes TCP stream framing bypass

Published Aug 19, 2026

Description

Coturn is a free open source implementation of TURN and STUN Server. Prior to 4.15.0, an unauthenticated remote client can send a STUN message over TCP or TLS with a body-length field from 65520 through 65532, causing the uint16_t len variable in stun_get_message_len_str() in src/client/ns_turn_msg.c to wrap when STUN_HEADER_LENGTH is added. The framing layer then consumes only 4 through 16 bytes, treats the remaining bytes as another message, desynchronizes the stream parser, and drops the attacking client's connection. Other clients and the server process are not affected. This issue is fixed in version 4.15.0.

Affected products

Remediation

No remediation recorded yet.

References (5)

Change history (0)

No recorded changes yet.

Sources
CVE.org / MITRE
Status PUBLISHED
Assigner GitHub_M
Published Aug 19, 2026
Updated Aug 21, 2026
Reserved Jul 30, 2026
CISA Vulnrichment
Updated Aug 21, 2026
NVD
Status Deferred
Modified Sep 9, 2026
Red Hat
Severity n/a
Public date n/a
ENISA EUVD
Assigner GitHub_M
Published Aug 19, 2026
Updated Aug 21, 2026
Exploited since n/a
EUVD-2026-63079