Skip to content

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

CriticalCVSS 9.3 EPSS 0.18%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: total

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.

Upgrade path

2 packages: 1 fixed.

PackageAffectedFixed inStatus
pypi rfc3161-client(PyPI) < 1.0.3; <= 1.0.2; = 0.0.2; = 0.0.3 +7 more 1.0.3 Fixed
trailofbits rfc3161-client = < 1.0.3 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
pypi rfc3161-client(PyPI) < 1.0.3 1.0.3
pypi rfc3161-client(PyPI) = 0.0.2 No fix listed
pypi rfc3161-client(PyPI) = 0.0.3 No fix listed
pypi rfc3161-client(PyPI) = 0.0.4 No fix listed
pypi rfc3161-client(PyPI) = 0.1.0 No fix listed
pypi rfc3161-client(PyPI) = 0.1.1 No fix listed
pypi rfc3161-client(PyPI) = 0.1.2 No fix listed
pypi rfc3161-client(PyPI) = 1.0.0 No fix listed
pypi rfc3161-client(PyPI) = 1.0.1 No fix listed
pypi rfc3161-client(PyPI) = 1.0.2 No fix listed
trailofbits rfc3161-client = < 1.0.3 No fix listed
pypi rfc3161-client(PyPI) <= 1.0.2 No fix listed

References