CVE-2025-2885
Rust vulnerability analysis and mitigation

Overview

CVE-2025-2885 is a vulnerability in the tough library, a Rust client library for The Update Framework (TUF) repositories, discovered and disclosed on March 27, 2025. The vulnerability affects versions prior to 0.20.0 and involves missing validation of the root metadata version number. This security flaw could allow an actor to supply an arbitrary version number to the client instead of the intended version in the root metadata file, potentially altering the version fetched by the client (AWS Security Bulletin, NVD).

Technical details

The vulnerability is classified as CWE-1288 (Improper Validation of Consistency within Input) and has received a CVSS 4.0 base score of 5.7 (Medium) with the vector string CVSS:4.0/AV:N/AC:H/AT:N/PR:H/UI:P/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N. The technical issue stems from the tough client's failure to check that the root object version received was the next sequential version from the previously trusted root metadata, which could compromise the trusted line of continuity to the latest set of keys (GitHub Advisory).

Impact

The vulnerability could allow an actor with control of the storage medium of a trusted TUF repository to replace the contents of root metadata files with adequately signed previous versions. This could result in the tough client trusting outdated or rotated root roles and potentially trusting content associated with a previous root role (GitHub Advisory).

Mitigation and workarounds

Users are advised to upgrade to tough version 0.20.0 or later, which contains the fix for this vulnerability. Additionally, users should ensure any forked or derivative code is patched to incorporate the new fixes. No alternative workarounds are recommended (AWS Security Bulletin).

Community reactions

The vulnerability was identified by the TUF-Conformance project, with Google collaborating on the issue through the coordinated vulnerability disclosure process. AWS has acknowledged and addressed the vulnerability through their security bulletin (GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Related Rust vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-22863CRITICAL9.2
  • RustRust
  • deno
NoYesJan 15, 2026
CVE-2026-23519HIGH8.9
  • RustRust
  • yazi
NoYesJan 15, 2026
RUSTSEC-2026-0003HIGH8.9
  • RustRust
  • cmov
NoYesJan 14, 2026
CVE-2026-22864HIGH8.1
  • RustRust
  • deno
NoYesJan 15, 2026
CVE-2026-22782LOW2.9
  • RustRust
  • rustfs
NoYesJan 16, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management