{"id":"CVE-2026-23991","aliases":["CVE-2026-23991","GHSA-846p-jg2w-w324","GO-2026-4348"],"related":["CGA-65px-f3jm-g5jx"],"kind":"vulnerability","state":"published","title":"go-tuf affected by client DoS via malformed server response","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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"# Security Disclosure: Client DoS via malformed server response\n\n## Summary\n\nIf 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 DoS. 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.\n\n## Impact \n\nClient crashes upon receiving and parsing malformed TUF metadata. This can cause long running services to enter an restart/crash loop.\n\n## Workarounds\n\nNone currently. \n\n## Affected code\n\nThe `metadata.checkType` function did not properly type assert the (untrusted) input causing it to panic on malformed data.","format":"markdown","source":"ghsa"},{"lang":"en","text":"Client DoS via malformed server response in github.com/theupdateframework/go-tuf","format":"markdown","source":"go"},{"lang":"es","text":"go-tuf es una implementación en Go de The Update Framework (TUF). A partir de la versión 2.0.0 y antes de la versión 2.3.1, si el repositorio TUF (o cualquiera de sus espejos) devuelve JSON de metadatos TUF no válido (JSON válido pero metadatos TUF no bien formados), el cliente entrará en pánico durante el análisis, causando una denegación de servicio. El pánico ocurre antes de que se valide cualquier firma. Esto significa que un repositorio/espejo/caché comprometido puede DoS a los clientes sin tener acceso a ninguna clave de firma. La versión 2.3.1 soluciona el problema. No hay soluciones alternativas conocidas disponibles.","source":"nvd"}],"published":"2026-01-21T16:19:28.000Z","modified":"2026-09-10T03:50:32.759Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","score":5.9,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","score":5.9,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","score":5.9,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"}],"cwes":["CWE-617","CWE-754"],"affected":[{"ranges":[{"version":">= 2.0.0, < 2.3.1","status":"affected"}],"vendor":"theupdateframework","product":"go-tuf","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"2.3.1"}],"ecosystem":"Go","package":"github.com/theupdateframework/go-tuf/v2","purl":"pkg:golang/github.com/theupdateframework/go-tuf/v2","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"2.3.1"}],"ecosystem":"Go","package":"github.com/theupdateframework/go-tuf/v2","purl":"pkg:golang/github.com/theupdateframework/go-tuf/v2","source":"go"},{"ranges":[{"status":"affected","introduced":"2.0.0","fixed":"2.3.1"}],"vendor":"theupdateframework","product":"go-tuf","cpe":"cpe:2.3:a:theupdateframework:go-tuf:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/theupdateframework/go-tuf/security/advisories/GHSA-846p-jg2w-w324","tags":["advisory","vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/theupdateframework/go-tuf/commit/73345ab6b0eb7e59d525dac17a428f043074cef6","tags":["fix","patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/theupdateframework/go-tuf/releases/tag/v2.3.1","tags":["release-notes","web","x-refsource-misc"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-23991","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/theupdateframework/go-tuf","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-01-22T15:24:15.603Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-23991","url":"https://www.cve.org/CVERecord?id=CVE-2026-23991","licence":"CVE Terms of Use","modified":"2026-01-22T15:35:31.770Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-846p-jg2w-w324","url":"https://github.com/advisories/GHSA-846p-jg2w-w324","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:32.759Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2026-4348","url":"https://pkg.go.dev/vuln/GO-2026-4348","licence":"CC-BY-4.0","modified":"2026-08-07T08:11:56.365Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-23991","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-23991","licence":"Public domain","modified":"2026-06-17T10:22:26.410Z"}],"updatedAt":"2026-11-25T22:59:13.042Z","epss":{"score":0.00581,"percentile":0.49132,"date":"2026-12-01T12:00:22.000Z"}}