# CVE-2025-2888: Improper timestamp caching during snapshot rollback 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.66%, higher than 46% of CVEs (2026-11-30)
- Published: 2025-03-27T22:23:48.886Z
- Modified: 2026-06-17T09:07:48.100Z
- Also known as: GHSA-76g3-38jv-wxh4
- Weaknesses: CWE-1025
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: AMZN

## Description

During a snapshot rollback, the client incorrectly caches the timestamp metadata. If the client checks the cache when attempting to perform the next update, the update timestamp validation will fail, preventing the next update until the cache is cleared. 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:N/A:H`
- 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-76g3-38jv-wxh4> (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-2888> (advisory)
- <https://github.com/awslabs/tough/commit/9b400e1c8b7d6b9ab8009104fa7fe5884db05f18> (web)
- <https://aws.amazon.com/security/security-bulletins/AWS-2025-007> (web)
- <https://github.com/awslabs/tough> (package)

## Sources

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

---

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