Skip to content
Heist/ feed
Back to feed
Medium

coturn — security advisory

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

Coturn 4.10.0 contains an uninitialized memory disclosure vulnerability that allows remote unauthenticated attackers to leak stack memory contents by sending a TURN Allocate request without credentials. Attackers can exploit the stun_init_error_response_common_str() function in src/client/ns_turn_msg.c, which fails to zero-initialize the avalue buffer before computing its length with strlen() and copying leaked stack bytes into the ERROR-CODE reason phrase, exposing pointer fragments that weaken ASLR and enable precise version fingerprinting.

Products
coturn
Affected 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, 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-104074
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 00:01 UTC · Revision 1

Source evidence

UBUNTU-CVE-2026-104074

core-osv · Original source

Published 7 Oct 2026, 15:17 UTC

Coturn 4.10.0 contains an uninitialized memory disclosure vulnerability that allows remote unauthenticated attackers to leak stack memory contents by sending a TURN Allocate request without credentials. Attackers can exploit the stun_init_error_response_common_str() function in src/client/ns_turn_msg.c, which fails to zero-initialize the avalue buffer before computing its length with strlen() and copying leaked stack bytes into the ERROR-CODE reason phrase, exposing pointer fragments that weaken ASLR and enable precise version fingerprinting.

osv:UBUNTU-CVE-2026-104074

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": "c7e30668971dbb4e6ec7cedaf1dd61a671f824bf7e2165d83cc37358977b463e",
  "url": "https://osv.dev/vulnerability/UBUNTU-CVE-2026-104074",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "UBUNTU-CVE-2026-104074",
    "summary": "Coturn 4.10.0 contains an uninitialized memory disclosure vulnerability that allows remote unauthenticated attackers to leak stack memory contents by sending a TURN Allocate request without credentials. Attackers can exploit the stun_init_error_response_common_str() function in src/client/ns_turn_msg.c, which fails to zero-initialize the avalue buffer before computing its length with strlen() and copying leaked stack bytes into the ERROR-CODE reason phrase, exposing pointer fragments that weaken ASLR and enable precise version fingerprinting.",
    "evidence": "osv:UBUNTU-CVE-2026-104074",
    "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"
          },
          {
            "value": "4.6.1-2build2",
            "evidence": "/affected/5/versions"
          }
        ]
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "UBUNTU-CVE-2026-104074",
      "aliases": [
        "UBUNTU-CVE-2026-104074"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"
        },
        {
          "type": "CVSS_V4",
          "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N"
        },
        {
          "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-104074.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-104074.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-104074.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-104074.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-104074.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=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-104074.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "coturn",
                "binary_version": "4.6.1-2build2"
              }
            ]
          }
        }
      ],
      "modified": "2026-10-17T10:01:19Z",
      "provider": "osv",
      "upstream": [
        "CVE-2026-104074"
      ],
      "references": [
        "https://ubuntu.com/security/CVE-2026-104074",
        "https://www.cve.org/CVERecord?id=CVE-2026-104074",
        "https://github.com/coturn/coturn/pull/1878",
        "https://github.com/coturn/coturn/commit/741b2983cc52f967dd08c438fd72a5f08f13ca27",
        "https://github.com/coturn/coturn/releases/tag/4.11.0"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2026-104074",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/1/score"
  },
  "source_id": "core-osv",
  "document_id": 352299,
  "published_at": "2026-10-07T15:17:00+00:00"
}