# CVE-2025-52556: rfc3161-client has insufficient verification for timestamp response signatures

- Severity: Critical 9.3 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/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.18%, higher than 7% of CVEs (2026-12-01)
- Published: 2025-06-20T18:08:40.000Z
- Modified: 2026-11-16T16:30:03.588Z
- Also known as: GHSA-6qhv-4h7r-2g9m, PYSEC-2026-525
- Weaknesses: CWE-347
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: GitHub_M

## Description

rfc3161-client is a Python library implementing the Time-Stamp Protocol (TSP) described in RFC 3161. Prior to version 1.0.3, there is a flaw in the timestamp response signature verification logic. In particular, chain verification is performed against the TSR's embedded certificates up to the trusted root(s), but fails to verify the TSR's own signature against the timestamping leaf certificates. Consequently, vulnerable versions perform insufficient signature validation to properly consider a TSR verified, as the attacker can introduce any TSR signature so long as the embedded leaf chains up to some root TSA. This issue has been patched in version 1.0.3. There is no workaround for this issue.

(As written by CVE List.)

## Affected

- trailofbits rfc3161-client: < 1.0.3
- rfc3161-client (PyPI): before 1.0.3

## Every score

- GitHub_M: CVSS:4.0 9.3 Critical `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N`
- GitHub: CVSS:4.0 Critical `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N`
- PyPA Advisory Database: CVSS:4.0 `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N`

## References

- <https://github.com/trailofbits/rfc3161-client/security/advisories/GHSA-6qhv-4h7r-2g9m> (web)
- <https://github.com/trailofbits/rfc3161-client/commit/724a184f953e3f171f85cb223871172b41b0d0dc> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-52556> (advisory)
- <https://github.com/pypa/advisory-database/tree/main/vulns/rfc3161-client/PYSEC-2026-525.yaml> (web)
- <https://github.com/trailofbits/rfc3161-client> (package)
- <https://pypi.org/project/rfc3161-client> (package, web)
- <https://github.com/advisories/GHSA-6qhv-4h7r-2g9m> (advisory)

## Sources

- CVE List: [CVE-2025-52556](https://www.cve.org/CVERecord?id=CVE-2025-52556), CVE Terms of Use, modified 2025-06-23
- GitHub Advisory Database: [GHSA-6qhv-4h7r-2g9m](https://github.com/advisories/GHSA-6qhv-4h7r-2g9m), CC-BY-4.0, modified 2026-11-16
- NVD: [CVE-2025-52556](https://nvd.nist.gov/vuln/detail/CVE-2025-52556), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2026-525](https://osv.dev/vulnerability/PYSEC-2026-525), CC-BY-4.0, modified 2026-07-13

---

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