# CVE-2025-2885: Root metadata version not validated in tough

- Severity: Medium 5.7 (CVSS:4.0, scored by AMZN) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.33%, higher than 28% of CVEs (2026-12-02)
- Published: 2025-03-27T22:18:11.727Z
- Modified: 2026-06-17T09:07:47.747Z
- Also known as: GHSA-5vmp-m5v2-hx47
- Weaknesses: CWE-1288
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: AMZN

## Description

Missing validation of the root metatdata version number could allow an actor to supply an arbitrary version number to the client instead of the intended version in the root metadata file, altering the version fetched by the client. Users should upgrade to tough version 0.20.0 or later and ensure any forked or derivative code is patched to incorporate the new fixes.

(As written by CVE List.)

## Affected

- AWS tough: from 0.1.0 before 0.20.0
- tough (crates.io): before 0.20.0
- amazon tough: before 0.20.0

## Every score

- AMZN: CVSS:4.0 5.7 Medium `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`
- GitHub: CVSS:3.1 4.2 Medium `CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:N/I:H/A:N`
- GitHub: CVSS:4.0 Medium `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`
- NVD: CVSS:3.1 4.5 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:N/I:H/A:N`

## References

- <https://github.com/awslabs/tough/security/advisories/GHSA-5vmp-m5v2-hx47> (vendor-advisory, web)
- <https://aws.amazon.com/security/security-bulletins/AWS-2025-007/> (vendor-advisory)
- <https://github.com/awslabs/tough/releases/tag/tough-v0.20.0> (patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-2885> (advisory)
- <https://github.com/awslabs/tough/commit/0eeb60aefe27f00b65730634b788a1aafb8bf3c6> (web)
- <https://aws.amazon.com/security/security-bulletins/AWS-2025-007> (web)
- <https://github.com/awslabs/tough> (package)

## Sources

- CVE List: [CVE-2025-2885](https://www.cve.org/CVERecord?id=CVE-2025-2885), CVE Terms of Use, modified 2025-10-14
- GitHub Advisory Database: [GHSA-5vmp-m5v2-hx47](https://github.com/advisories/GHSA-5vmp-m5v2-hx47), CC-BY-4.0, modified 2025-10-14
- NVD: [CVE-2025-2885](https://nvd.nist.gov/vuln/detail/CVE-2025-2885), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-2885 · Whole record: https://cve.day/CVE-2025-2885.json · Rebuilt by cve.day 2026-11-25T22:58:55.641Z
