# CVE-2026-23991: go-tuf affected by client DoS via malformed server response

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.9
- **CVSS:** 5.9 (v3.1, CNA) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: High; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.72% (percentile 50, 2026-11-28)
- **CWE:** CWE-617, CWE-754
- **Aliases:** GHSA-846p-jg2w-w324, GO-2026-4348
- **Published:** 2026-01-21T16:19:28.000Z
- **Modified:** 2026-09-10T03:50:32.759Z

## Who should check

- Projects that depend on Go package github.com/theupdateframework/go-tuf/v2 (\< 2.3.1)
- Anyone running theupdateframework go-tuf \>= 2.0.0, \< 2.3.1

## Description

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.

## Affected and fixed versions

- Go `github.com/theupdateframework/go-tuf/v2`: affected \< 2.3.1; fixed 2.3.1 (osv)
- theupdateframework go-tuf: \>= 2.0.0, \< 2.3.1 (cvelist)

## Mitigation

- Upgrade github.com/theupdateframework/go-tuf/v2 to 2.3.1 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-23991. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-23991.md
Affected: github.com/theupdateframework/go-tuf/v2 < 2.3.1
Fixed in: 2.3.1

Steps:
1. Search this machine and project for github.com/theupdateframework/go-tuf/v2 (Go), theupdateframework go-tuf: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-23991 being exploited?

There is no confirmed exploitation: CVE-2026-23991 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.72% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-23991?

Medium: CVSS 5.9 (v3.1, scored by CNA). Remote, no login needed. The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2026-23991?

github.com/theupdateframework/go-tuf/v2 \< 2.3.1.

### Is there a fix for CVE-2026-23991?

Yes. Fixed in 2.3.1. Upgrade github.com/theupdateframework/go-tuf/v2 to 2.3.1 or later.

### How do I check if I'm affected by CVE-2026-23991?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/theupdateframework/go-tuf/security/advisories/GHSA-846p-jg2w-w324>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2026-23991>
- patch: <https://github.com/theupdateframework/go-tuf/commit/73345ab6b0eb7e59d525dac17a428f043074cef6>
- other: <https://github.com/theupdateframework/go-tuf/releases/tag/v2.3.1>
- other: <https://github.com/theupdateframework/go-tuf>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-23991>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-846p-jg2w-w324> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GO-2026-4348> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2026-23991> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-23991>
