CVE-2025-52556

GHSA-6qhv-4h7r-2g9m · published 20 Jun 2025 · updated 16 Nov 2026

rfc3161-client has insufficient verification for timestamp response signatures

9.3CriticalCVSS 9.3EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in rfc3161-client 1.0.3.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
trailofbits<1.0.3
pypi: rfc3161-client<1.0.3, <=1.0.21.0.3

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-52556 severity on Zeptric[![CVE-2025-52556](https://zeptric.io/badge/cve/CVE-2025-52556.svg)](https://zeptric.io/cve/CVE-2025-52556)