{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-40613 exists.","fix":"Upgrade to a fixed version.","what":"CVE-2026-40613 is a high-severity denial of service vulnerability in coturn, published on 21 Apr 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-40613 and fix it if it is affected.\n\nWhat it is: CVE-2026-40613 is a high-severity denial of service vulnerability in coturn, published on 21 Apr 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-40613 exists.\n\nAffected product: coturn. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-40613/ (Markdown: https://insights.sbomify.com/CVE-2026-40613/index.md)","id":"CVE-2026-40613","markdown":"https://insights.sbomify.com/CVE-2026-40613/index.md","name":"CVE-2026-40613","record":{"aliases":["DEBIAN-CVE-2026-40613","GHSA-j662-9wcj-mf36","MGASA-2026-0217","UBUNTU-CVE-2026-40613"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"TURN/STUN server","requires_auth":"none","summary":"Remote unauthenticated attackers can crash ARM64 coturn servers via crafted UDP packets due to misaligned memory access in STUN parsing.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"coturn","vendor":"coturn_project"}],"cvss":{"score":7.5,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-704","name":"Incorrect Type Conversion or Cast"}],"description":"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.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Coturn: Misaligned Memory Access in coturn STUN Attribute Parser (Remote DoS on ARM64)","id":"CVE-2026-40613","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"denial_of_service","year":"2026"},"n_packages":0,"n_references":1,"next":{"headline":"PJSIP: Heap buffer overflow in Opus codec decoding","id":"CVE-2026-40614"},"packages":[],"prev":{"headline":"jq: Stack overflow via unbounded recursion in jv_contains","id":"CVE-2026-40612"},"products":["coturn"],"published":"2026-04-21","related":[{"cvss_score":9.1,"headline":"SQL injection in coTURN","id":"CVE-2018-4056","kev_date_added":null,"published":"2019-02-05"},{"cvss_score":8.1,"headline":"Coturn: Stack buffer overflow in decode_oauth_token_gcm()","id":"CVE-2026-43994","kev_date_added":null,"published":"2026-06-18"},{"cvss_score":7.7,"headline":"Server-side request forgery in coTURN","id":"CVE-2018-4058","kev_date_added":null,"published":"2019-03-21"},{"cvss_score":7.4,"headline":"Coturn: IPv4-mapped 127.0.0.1 bypasses default loopback peer protection","id":"CVE-2026-53450","kev_date_added":null,"published":"2026-07-10"},{"cvss_score":7.2,"headline":"Coturn: SQL Injection in HTTPS Admin Panel Delete Operations","id":"CVE-2026-53448","kev_date_added":null,"published":"2026-07-10"},{"cvss_score":7.2,"headline":"Coturn: IPv4-mapped IPv6 (::ffff:0:0/96) bypasses denied-peer-ip ACL","id":"CVE-2026-27624","kev_date_added":null,"published":"2026-02-25"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-04-21","vendors":["coturn"]},"summary":"Remote unauthenticated attackers can crash ARM64 coturn servers via crafted UDP packets due to misaligned memory access in STUN parsing.","url":"https://insights.sbomify.com/CVE-2026-40613/"}