CVE-2025-52556CWE-347

rfc3161-client has insufficient verification for timestamp response signatures

Critical · published June 21, 2025

CVSS v4.0
9.3
EPSS
0%
Percentile
5.9
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v4.0
9.3 · CRITICAL
Vector
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
EPSS
0.00169 · 5.9th percentile
Weakness
CWE-347 · Improper Verification of Cryptographic Signature
Published
2025-06-21T01:33Z
EPSS history
Timeline
  • 21 JUN 01:33Z
    rfc3161-client has insufficient verification for timestamp response signatures
    cvelistv5