cve.bz

CVE-2026-40613 coturn project coturn: Incorrect Type Conversion or Cast

7.5 highExploit referenceEPSS 1.2%

High (7.5) in coturn project coturn. EPSS 1.2% estimated probability of exploitation activity in the next 30 days.

On this page
Coturn is a free open source implementation of TURN and STUN Server. Prior to 4.10.0, the STUN/TURN attribute parsing functions in coturn perform unsafe pointer casts from uint8_t * to uint16_t * without alignment checks. When processing a crafted STUN message with odd-aligned attribute boundaries, this results in misaligned memory reads at ns_turn_msg.c. On ARM64 architectures (AArch64) with strict alignment enforcement, this causes a SIGBUS signal that immediately kills the turnserver process. An unauthenticated remote attacker can crash any ARM64 coturn deployment by sending a single crafted UDP packet. This vulnerability is fixed in 4.10.0.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
1.2% (unchanged from 1.1% a week ago; 1.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 68th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: yes · Technical impact: partial, assessed 2026-04-21. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-704 Incorrect Type Conversion or Cast
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-40613 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-40613?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-40613?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-40613 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
coturn_project:coturnbefore 4.10.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13coturnno fix listedDEBIAN-CVE-2026-40613
Debian14coturn4.12.0-1DEBIAN-CVE-2026-40613
Ubuntu16.04:LTS, 18.04:LTS, 20.04:LTS and 5 morecoturnno fix listedUBUNTU-CVE-2026-40613
openSUSETumbleweedcoturn4.17.2-1.1openSUSE-SU-2026:11617-1
Alpinev3.23, v3.24coturn4.10.0-r0ALPINE-CVE-2026-40613

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · openSUSE · Alpine.

References

Check your stackJSON