Skip to content
Heist/ feed
Back to feed
High

coturn — security advisory

Type: advisorySources: OSVAdvisory ID: UBUNTU-CVE-2026-40613

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.

Products
coturn
Affected versions
4.12.0-1, 4.14.0-1, 4.15.0-1, 4.18.0-1, 4.4.5.4-2, 4.5.0.2-3, 4.5.0.3-1, 4.5.0.3-1build1, 4.5.0.3-1ubuntu0.2, 4.5.0.3-1ubuntu0.3, 4.5.0.3-1ubuntu0.4, 4.5.0.6-1ubuntu2, 4.5.0.7-1ubuntu1, 4.5.0.7-1ubuntu2, 4.5.0.7-1ubuntu2.18.04.1, 4.5.0.7-1ubuntu2.18.04.2, 4.5.0.7-1ubuntu2.18.04.3, 4.5.1.1-1.1build1, 4.5.1.1-1.1build2, 4.5.1.1-1.1ubuntu0.20.04.1, 4.5.1.1-1.1ubuntu0.20.04.2, 4.5.2-3, 4.5.2-3.1~ubuntu22.04.1, 4.6.1-1build1, 4.6.1-1build2, 4.6.1-1build3, 4.6.1-1build4, 4.6.1-2build1, 4.6.1-2build2
Fixed versions
Not specified
CVEs
CVE-2026-40613
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 02:10 UTC · Revision 1

Source evidence

UBUNTU-CVE-2026-40613

core-osv · Original source

Published 21 Apr 2026, 19:16 UTC

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.

osv:UBUNTU-CVE-2026-40613

coturn

Fixed versions: Not specified

coturn

Fixed versions: Not specified

coturn

Fixed versions: Not specified

coturn

Fixed versions: Not specified

coturn

Fixed versions: Not specified

coturn

Fixed versions: Not specified

coturn

Fixed versions: Not specified

coturn

Fixed versions: Not specified

Complete source record
{
  "id": "4b12b18d86d335e1ee06d292619d0f7175fb7dabda9453e4312ee183362e9e5f",
  "url": "https://osv.dev/vulnerability/UBUNTU-CVE-2026-40613",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "UBUNTU-CVE-2026-40613",
    "summary": "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.",
    "evidence": "osv:UBUNTU-CVE-2026-40613",
    "products": [
      {
        "name": {
          "value": "coturn",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "4.4.5.4-2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "4.5.0.2-3",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "4.5.0.3-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "4.5.0.3-1build1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "4.5.0.3-1ubuntu0.2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "4.5.0.3-1ubuntu0.3",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "4.5.0.3-1ubuntu0.4",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "coturn",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "4.5.0.6-1ubuntu2",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "4.5.0.7-1ubuntu1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "4.5.0.7-1ubuntu2",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "4.5.0.7-1ubuntu2.18.04.1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "4.5.0.7-1ubuntu2.18.04.2",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "4.5.0.7-1ubuntu2.18.04.3",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "coturn",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "4.5.1.1-1.1build1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "4.5.1.1-1.1build2",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "4.5.1.1-1.1ubuntu0.20.04.1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "4.5.1.1-1.1ubuntu0.20.04.2",
            "evidence": "/affected/2/versions"
          }
        ]
      },
      {
        "name": {
          "value": "coturn",
          "evidence": "/affected/3/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "4.5.2-3",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "4.5.2-3.1~ubuntu22.04.1",
            "evidence": "/affected/3/versions"
          }
        ]
      },
      {
        "name": {
          "value": "coturn",
          "evidence": "/affected/4/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "4.6.1-1build1",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "4.6.1-1build2",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "4.6.1-1build3",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "4.6.1-1build4",
            "evidence": "/affected/4/versions"
          }
        ]
      },
      {
        "name": {
          "value": "coturn",
          "evidence": "/affected/5/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "4.6.1-2build1",
            "evidence": "/affected/5/versions"
          }
        ]
      },
      {
        "name": {
          "value": "coturn",
          "evidence": "/affected/6/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "4.6.1-2build2",
            "evidence": "/affected/6/versions"
          },
          {
            "value": "4.12.0-1",
            "evidence": "/affected/6/versions"
          },
          {
            "value": "4.14.0-1",
            "evidence": "/affected/6/versions"
          },
          {
            "value": "4.15.0-1",
            "evidence": "/affected/6/versions"
          },
          {
            "value": "4.18.0-1",
            "evidence": "/affected/6/versions"
          }
        ]
      },
      {
        "name": {
          "value": "coturn",
          "evidence": "/affected/7/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "4.6.1-2build1",
            "evidence": "/affected/7/versions"
          },
          {
            "value": "4.6.1-2build2",
            "evidence": "/affected/7/versions"
          }
        ]
      }
    ],
    "severity": "high",
    "structured": {
      "id": "UBUNTU-CVE-2026-40613",
      "aliases": [
        "UBUNTU-CVE-2026-40613"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
        },
        {
          "type": "Ubuntu",
          "score": "medium"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "coturn",
            "purl": "pkg:deb/ubuntu/coturn?arch=source&distro=xenial",
            "ecosystem": "Ubuntu:16.04:LTS"
          },
          "versions": [
            "4.4.5.4-2",
            "4.5.0.2-3",
            "4.5.0.3-1",
            "4.5.0.3-1build1",
            "4.5.0.3-1ubuntu0.2",
            "4.5.0.3-1ubuntu0.3",
            "4.5.0.3-1ubuntu0.4"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-40613.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "coturn",
                "binary_version": "4.5.0.3-1ubuntu0.4"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "coturn",
            "purl": "pkg:deb/ubuntu/coturn?arch=source&distro=bionic",
            "ecosystem": "Ubuntu:18.04:LTS"
          },
          "versions": [
            "4.5.0.6-1ubuntu2",
            "4.5.0.7-1ubuntu1",
            "4.5.0.7-1ubuntu2",
            "4.5.0.7-1ubuntu2.18.04.1",
            "4.5.0.7-1ubuntu2.18.04.2",
            "4.5.0.7-1ubuntu2.18.04.3"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-40613.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "coturn",
                "binary_version": "4.5.0.7-1ubuntu2.18.04.3"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "coturn",
            "purl": "pkg:deb/ubuntu/coturn?arch=source&distro=focal",
            "ecosystem": "Ubuntu:20.04:LTS"
          },
          "versions": [
            "4.5.1.1-1.1build1",
            "4.5.1.1-1.1build2",
            "4.5.1.1-1.1ubuntu0.20.04.1",
            "4.5.1.1-1.1ubuntu0.20.04.2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-40613.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "coturn",
                "binary_version": "4.5.1.1-1.1ubuntu0.20.04.2"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "coturn",
            "purl": "pkg:deb/ubuntu/coturn?arch=source&distro=jammy",
            "ecosystem": "Ubuntu:22.04:LTS"
          },
          "versions": [
            "4.5.2-3",
            "4.5.2-3.1~ubuntu22.04.1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-40613.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "coturn",
                "binary_version": "4.5.2-3.1~ubuntu22.04.1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "coturn",
            "purl": "pkg:deb/ubuntu/coturn?arch=source&distro=noble",
            "ecosystem": "Ubuntu:24.04:LTS"
          },
          "versions": [
            "4.6.1-1build1",
            "4.6.1-1build2",
            "4.6.1-1build3",
            "4.6.1-1build4"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-40613.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "coturn",
                "binary_version": "4.6.1-1build4"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "coturn",
            "purl": "pkg:deb/ubuntu/coturn?arch=source&distro=questing",
            "ecosystem": "Ubuntu:25.10"
          },
          "versions": [
            "4.6.1-2build1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-40613.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "coturn",
                "binary_version": "4.6.1-2build1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "coturn",
            "purl": "pkg:deb/ubuntu/coturn?arch=source&distro=stonking",
            "ecosystem": "Ubuntu:26.10"
          },
          "versions": [
            "4.6.1-2build2",
            "4.12.0-1",
            "4.14.0-1",
            "4.15.0-1",
            "4.18.0-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-40613.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "coturn",
                "binary_version": "4.18.0-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "coturn",
            "purl": "pkg:deb/ubuntu/coturn?arch=source&distro=resolute",
            "ecosystem": "Ubuntu:26.04:LTS"
          },
          "versions": [
            "4.6.1-2build1",
            "4.6.1-2build2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-40613.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "coturn",
                "binary_version": "4.6.1-2build2"
              }
            ]
          }
        }
      ],
      "modified": "2026-10-17T12:58:14.148173790Z",
      "provider": "osv",
      "upstream": [
        "CVE-2026-40613"
      ],
      "references": [
        "https://ubuntu.com/security/CVE-2026-40613",
        "https://www.cve.org/CVERecord?id=CVE-2026-40613",
        "https://github.com/coturn/coturn/security/advisories/GHSA-j662-9wcj-mf36"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2026-40613",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 358399,
  "published_at": "2026-04-21T19:16:00+00:00"
}