CVE-2026-23991
MEDIUM5.9EPSS 0.04%go-tuf affected by client DoS via malformed server response
Description
# Security Disclosure: Client DoS via malformed server response ## Summary 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 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. ## Impact Client crashes upon receiving and parsing malformed TUF metadata. This can cause long running services to enter an restart/crash loop. ## Workarounds None currently. ## Affected code The `metadata.checkType` function did not properly type assert the (untrusted) input causing it to panic on malformed data.
Affected packages (3)
- Debian/golang-github-theupdateframework-go-tuffrom 0
- Go/github.com/theupdateframework/go-tuf/v2from 0, < 2.3.1
- Go/github.com/theupdateframework/go-tuf/v2from 0, < 2.3.1
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |
References (6)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2026-23991
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2026-23991
- PATCHhttps://github.com/theupdateframework/go-tuf
- WEBhttps://github.com/theupdateframework/go-tuf/commit/73345ab6b0eb7e59d525dac17a428f043074cef6
- WEBhttps://github.com/theupdateframework/go-tuf/releases/tag/v2.3.1
- WEBhttps://github.com/theupdateframework/go-tuf/security/advisories/GHSA-846p-jg2w-w324