Skip to content
Heist/ feed
Back to feed
High

golang-github-theupdateframework-go-tuf — security advisory

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

go-tuf is a Go implementation of The Update Framework (TUF). Starting in version 2.0.0 and prior to version 2.3.1, if the TUF repository (or any of its mirrors) returns invalid TUF metadata JSON (valid JSON but not well formed TUF metadata), the client will panic during parsing, causing a denial of service. The panic happens before any signature is validated. This means that a compromised repository/mirror/cache can DoS clients without having access to any signing key. Version 2.3.1 fixes the issue. No known workarounds are available.

Products
golang-github-theupdateframework-go-tuf
Affected versions
0.5.2-5, 0.6.1-1, 2.0.2+0.7.0-1, 2.3.0+0.7.0-1, 2.4.2+0.7.0-1
Fixed versions
Not specified
CVEs
CVE-2026-23991
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 02:05 UTC · Revision 1

Source evidence

UBUNTU-CVE-2026-23991

core-osv · Original source

Published 22 Jan 2026, 03:15 UTC

go-tuf is a Go implementation of The Update Framework (TUF). Starting in version 2.0.0 and prior to version 2.3.1, if the TUF repository (or any of its mirrors) returns invalid TUF metadata JSON (valid JSON but not well formed TUF metadata), the client will panic during parsing, causing a denial of service. The panic happens before any signature is validated. This means that a compromised repository/mirror/cache can DoS clients without having access to any signing key. Version 2.3.1 fixes the issue. No known workarounds are available.

osv:UBUNTU-CVE-2026-23991

golang-github-theupdateframework-go-tuf

Fixed versions: Not specified

golang-github-theupdateframework-go-tuf

Fixed versions: Not specified

golang-github-theupdateframework-go-tuf

Fixed versions: Not specified

golang-github-theupdateframework-go-tuf

Fixed versions: Not specified

Complete source record
{
  "id": "f2f47865a884f3ad5d69aa839b8d95b489d743d707beb8822e09ec727bfb542c",
  "url": "https://osv.dev/vulnerability/UBUNTU-CVE-2026-23991",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "UBUNTU-CVE-2026-23991",
    "summary": "go-tuf is a Go implementation of The Update Framework (TUF). Starting in version 2.0.0 and prior to version 2.3.1, if the TUF repository (or any of its mirrors) returns invalid TUF metadata JSON (valid JSON but not well formed TUF metadata), the client will panic during parsing, causing a denial of service. The panic happens before any signature is validated. This means that a compromised repository/mirror/cache can DoS clients without having access to any signing key. Version 2.3.1 fixes the issue. No known workarounds are available.",
    "evidence": "osv:UBUNTU-CVE-2026-23991",
    "products": [
      {
        "name": {
          "value": "golang-github-theupdateframework-go-tuf",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.5.2-5",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0.6.1-1",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "golang-github-theupdateframework-go-tuf",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "2.0.2+0.7.0-1",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "golang-github-theupdateframework-go-tuf",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "2.3.0+0.7.0-1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "2.4.2+0.7.0-1",
            "evidence": "/affected/2/versions"
          }
        ]
      },
      {
        "name": {
          "value": "golang-github-theupdateframework-go-tuf",
          "evidence": "/affected/3/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "2.0.2+0.7.0-1",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "2.3.0+0.7.0-1",
            "evidence": "/affected/3/versions"
          }
        ]
      }
    ],
    "severity": "high",
    "structured": {
      "id": "UBUNTU-CVE-2026-23991",
      "aliases": [
        "UBUNTU-CVE-2026-23991"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H"
        },
        {
          "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": "golang-github-theupdateframework-go-tuf",
            "purl": "pkg:deb/ubuntu/golang-github-theupdateframework-go-tuf?arch=source&distro=noble",
            "ecosystem": "Ubuntu:24.04:LTS"
          },
          "versions": [
            "0.5.2-5",
            "0.6.1-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-23991.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "golang-github-theupdateframework-go-tuf-dev",
                "binary_version": "0.6.1-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "golang-github-theupdateframework-go-tuf",
            "purl": "pkg:deb/ubuntu/golang-github-theupdateframework-go-tuf?arch=source&distro=questing",
            "ecosystem": "Ubuntu:25.10"
          },
          "versions": [
            "2.0.2+0.7.0-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-23991.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "golang-github-theupdateframework-go-tuf-dev",
                "binary_version": "2.0.2+0.7.0-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "golang-github-theupdateframework-go-tuf",
            "purl": "pkg:deb/ubuntu/golang-github-theupdateframework-go-tuf?arch=source&distro=stonking",
            "ecosystem": "Ubuntu:26.10"
          },
          "versions": [
            "2.3.0+0.7.0-1",
            "2.4.2+0.7.0-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-23991.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "go-tuf",
                "binary_version": "2.4.2+0.7.0-1"
              },
              {
                "binary_name": "golang-github-theupdateframework-go-tuf-dev",
                "binary_version": "2.4.2+0.7.0-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "golang-github-theupdateframework-go-tuf",
            "purl": "pkg:deb/ubuntu/golang-github-theupdateframework-go-tuf?arch=source&distro=resolute",
            "ecosystem": "Ubuntu:26.04:LTS"
          },
          "versions": [
            "2.0.2+0.7.0-1",
            "2.3.0+0.7.0-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-23991.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "golang-github-theupdateframework-go-tuf-dev",
                "binary_version": "2.3.0+0.7.0-1"
              }
            ]
          }
        }
      ],
      "modified": "2026-10-17T12:58:07.224624418Z",
      "provider": "osv",
      "upstream": [
        "CVE-2026-23991"
      ],
      "references": [
        "https://ubuntu.com/security/CVE-2026-23991",
        "https://www.cve.org/CVERecord?id=CVE-2026-23991",
        "https://github.com/theupdateframework/go-tuf/security/advisories/GHSA-846p-jg2w-w324",
        "https://github.com/theupdateframework/go-tuf/commit/73345ab6b0eb7e59d525dac17a428f043074cef6",
        "https://github.com/theupdateframework/go-tuf/releases/tag/v2.3.1"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2026-23991",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/1/score"
  },
  "source_id": "core-osv",
  "document_id": 358142,
  "published_at": "2026-01-22T03:15:00+00:00"
}